summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-14Merge "Move to alpine"Sébastien Determe3-46/+4
2019-03-14Move to alpinesebdet3-46/+4
Move docker image to alpine so that the footprint is reduced Issue-ID: CLAMP-326 Change-Id: Ia3ee72e4aa648475a9960f40967c36128c5df618 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-13Add UI testsxg353y3-10/+57
Add test cases for propertyController.js Issue-ID: CLAMP-310 Change-Id: I7ae2cc425d9a7343791bae9ab7704e09389f270a Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-13Fix bugs in UIxg353y6-95/+5
Fix bugs in UI and remove useless menu and files. Issue-ID: CLAMP-318 Change-Id: Iac797a3c9a014c77da4b7f7f174a2d2d0e538872 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-13Merge "Add svg support"Eddy Hautot5-20/+49
2019-03-13Merge "Add support for OpenJDK11 in build"Sébastien Determe1-7/+9
2019-03-13Merge "Add updateGlobalPropertiesJson controller"Adam Krysiak4-26/+75
2019-03-12Add svg supportsebdet5-20/+49
Add SVG support to the CSAR installer so that UI could render the loop Issue-ID: CLAMP-306 Change-Id: Ief963c4ad8e4c142f20c16b2049cad3a8aeedfb0 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-12Add support for OpenJDK11 in buildChrisC1-7/+9
Update pom file, reworked plugins to support openjdk11 Issue-ID: CLAMP-320 Change-Id: Iab28dab8fdacec271b928fcb0598fc1129da92b6 Signed-off-by: ChrisC <christophe.closset@intl.att.com>
2019-03-12Merge "Rework authorization controller "Sébastien Determe11-91/+344
2019-03-12Add unit testssebdet9-80/+100
Add unit tests and fix code to support them, columns modified and csar installer fixed as well Issue-ID: CLAMP-306 Change-Id: I946ef1aa957ca36bbb00357308ac67a3f07dcdce Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-12Fix warning/sonarsebdet5-45/+38
Some small fixes reported by sonar or deprecated code fixed Issue-ID: CLAMP-252 Change-Id: I82c6c01ec023f3e5749589ecf519ec2050ec5ecf Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-12Add updateGlobalPropertiesJson controllermichal.banka4-26/+75
Change-Id: I83d474a3616462cdb0cc31eadae3a189dd275683 Issue-ID: CLAMP-301 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-03-11Merge changes from topic 'feature/new-csar-installer'Eddy Hautot12-18/+621
* changes: Add sql New CsarInstaller
2019-03-11Add sqlsebdet1-0/+70
Add sql file to the project, so the csit can use the docker-compose Change-Id: I1b7fd810d3686f686803b30ffce41823a2f3abd3 Issue-ID: CLAMP-299 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-11New CsarInstallersebdet11-18/+551
Csar installer to fullfil the new database model Issue-ID: CLAMP-306 Change-Id: I456922b4ca5044df2299350abd85762c84d7435a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-11Rework authorization controller xg353y11-91/+344
Rework the authorization controller, put the authorization code into a camel box, so that it could be put and remove from other methods easily and not tightly connected with other logic; Remove unused CldsTemplateService.js Issue-ID: CLAMP-305 Change-Id: I5e01f1fa4534e78e0996b4b8acaf33f1875e95f0 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-11Merge "Rework the UI"Sébastien Determe9-159/+111
2019-03-11Merge "Rework the UI Menu"Sébastien Determe4-75/+93
2019-03-11Merge "Rework UI"Sébastien Determe14-300/+196
2019-03-11Merge "Convert modules and relations to SVG"Adam Krysiak18-6/+970
2019-03-11Convert modules and relations to SVGPiotr Darosz18-6/+970
Generate SVG image from modules chain and save it to DB. Change-Id: I0f0b065f82de9b4d2084ec51043f485401842e23 Issue-ID: CLAMP-284 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-03-10Merge "New endpoint"Sébastien Determe5-7/+29
2019-03-08Rework the UIxg353y9-159/+111
Rework the UI, fixing some bugs, update the method to get the CL image, rework the URL used to communicate with backend, remove the save CL/update/validationTest/resubmit menu. Issue-ID: CLAMP-312, CLAMP-318 Change-Id: I3e167a5432b99f851382e36c1b56189c18e43476 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-08Rework the UI Menuxg353y4-75/+93
Create a menuHandler to handle enable/disable all the menu actions. Also rework the method to determine the permittedActions based on the current CL status. Issue-ID: CLAMP-311 Change-Id: Iecc194eb62a6546d53ad6121c73f9d3946a135a2 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-08Rework UIxg353y14-300/+196
Rework Clamp UI to cooperate with the internal data model changes. Issue-ID: CLAMP-310 Change-Id: Ic3fdbdf5e405b57ef1537672a1d4528325b68a74 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-08Improve tests for CsarInstallerImplmichal.banka3-43/+159
Change-Id: I18ad5789c1ed5a6d3cdf3c954e7b8ff224a589b4 Issue-ID: CLAMP-307 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-03-08Merge "Extract modules names and relations"Adam Krysiak13-0/+1027
2019-03-08Extract modules names and relationsPiotr Darosz13-0/+1027
Extract modules names and relations from DCAE_INVENTORY_BLUEPRINT Change-Id: Ia419b946e15f399d3c4e8c75f836fde6b4b3dbed Issue-ID: CLAMP-283 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-03-07New endpointsebdet5-7/+29
New endpoint to get svgRepresentation + remove Yaml field json Issue-ID: CLAMP-301 Change-Id: I49f62f25a719849cab78d1c94ae67078e28e6185 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-07Merge "Add missing INFO.yaml blocks"Sébastien Determe1-26/+34
2019-03-07created Api for closed loop managingKrysiak Adam26-124/+899
Change-Id: Ib6bd92d1ae3119a857c5a63df10e8f9bb130f75f Issue-ID: CLAMP-301 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-03-06Add missing INFO.yaml blocksJessica Wagantall1-26/+34
Add missing information so that the new verify job passes. Change-Id: I1b20082b805ab050c6f053c1236556ae17a2d021 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-03-05Merge "Rework the hibernate adapter"Sébastien Determe9-41/+314
2019-03-05Merge "Improve tests"Sébastien Determe13-109/+479
2019-03-05Rework the hibernate adaptersebdet9-41/+314
This was using the Jackson library so a new handmade hibernate adapter has been developed. Issue-ID: CLAMP-300 Change-Id: Ia1c1e8791370c139127e6fa4bd2b96c02f632fde Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-04Merge "Introduce new entities"Sébastien Determe18-37/+914
2019-03-02Improve testssebdet13-109/+479
Improve tests and equals/hashcode of each model objects + fix Instant bug of LoopLog Issue-ID: CLAMP-300 Change-Id: If081f07864ba73449f8c6bcf8e23ede138204082 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-28Introduce new entitiessebdet18-37/+914
Introduce new database entities to support the new Clamp model Change-Id: I6c8d7fdaf8201c2bc7878f8a807c89002525857f Issue-ID: CLAMP-299 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-26Merge "Parsing CSAR to retrieve policy model"Adam Krysiak8-6/+98
2019-02-25Parsing CSAR to retrieve policy modelTomasz Golabek8-6/+98
Content of policies.xml taken from the CSAR file and ready to store into the db. Change-Id: I9ee0d0474fa355ae4c9db1e1ee40a3f087002e88 Issue-ID: CLAMP-261 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-02-22Fix merge jobsebdet1-6/+6
Restore repository names to ecomp-* instead of onap-* as jenkins settings use ecomp Issue-ID: CLAMP-252 Change-Id: Ib247626430ccdafaf88776c63a4f0d5a003d58f5 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-22Merge "Remove old MS UI"Sébastien Determe6-737/+6
2019-02-22Merge "Fix the bugs"Sébastien Determe5-31/+16
2019-02-22Merge "Allow only 1 Operational Policy"Sébastien Determe5-230/+76
2019-02-20Fix the bugsxg353y5-31/+16
Fix the bugs in tosca model related code, due to the json removal activity. Issue-ID: CLAMP-292 Change-Id: I6306930052b876b1ba8b0e1ce71689d4499e165c Change-Id: I6306930052b876b1ba8b0e1ce71689d4499e165c Signed-off-by: xg353y <xg353y@intl.att.com>
2019-02-19Remove old MS UIxg353y6-737/+6
Remove the isSimple flag, so that the old hard coded MS UI will be disabled totally and clamp will only support automatically generated UI from the tosca model for MS configuration. Issue-ID: CLAMP-264 Change-Id: I1bf4a27c89ae5ddc97c87671daf13b97d5a2f373 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-02-19Allow only 1 Operational Policyxg353y5-230/+76
Rework the operational policy UI, only allow to create 1 operational policy and fix some bugs. Issue-ID: CLAMP-294 Change-Id: Iec09451d9437b299028bf63304f90c893ecc1d3e Signed-off-by: xg353y <xg353y@intl.att.com>
2019-02-18Fix health check action nameawudzins1-1/+1
Fix name of the health check action which is sent to policy Change-Id: I38536d2194963b58d1cf4b3e123142dddbfe9dd1 Issue-ID: CLAMP-296 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com>
2019-02-15Run as non rootsebdet2-7/+20
Modify the CLAMP docker image so that it does not run as root but as clamp user Issue-ID: CLAMP-298 Change-Id: I0bf7bed9cb76a2fcde72f2e23b66e03f03e5fe0e Signed-off-by: sebdet <sebastien.determe@intl.att.com>