aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org
AgeCommit message (Collapse)AuthorFilesLines
2020-01-30Change the Csar installersebdet6-81/+144
Change the csar installer so that it installs a loop template instead of a loop object Issue-ID: CLAMP-592 Change-Id: I757f6411ce959573fcb3a82e48359a1a44f87410 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-30Update undeploy-loop flowxuegao1-0/+12
Update the undploy-loop flow to support the multiple blueprint deployment Issue-ID: CLAMP-627 Change-Id: Ic4187179e2ef2f574f8cc836eebc3608b8aee899 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-01-30Merge "Update deploy-loop route"Sébastien Determe7-20/+82
2020-01-30Update deploy-loop routexuegao7-20/+82
Update deploy-loop to support multiple blueprint deployments Issue-ID: CLAMP-571 Change-Id: If98e9305c36a01f86a522db002174f92f6ff5996 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-01-29Merge "Create a camel route that would retrieve all the DCAE blueprints"Xue Gao3-14/+32
2020-01-29Create a camel route that would retrieve all the DCAE blueprintsVidyashree-Huawei3-14/+32
Retreive all the DCAE blueprints and update DcaeInventoryCache Change-Id: Ia03a89c1871119a208094c014e5cb8aa8b4f71d3 Issue-ID: CLAMP-573 Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
2020-01-23Modify the template modelsebdet12-285/+318
Add loopElement to loopTemplate so that operational policy can be added into the template as well Issue-ID: CLAMP-555 Change-Id: I298c05f7f92536e4dab840983c41b0f7ee22daac Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-20Merge "Sonar fixes"Xue Gao4-107/+158
2020-01-17Sonar fixessebdet4-107/+158
Sonar fixes on Csar service installation Issue-ID: CLAMP-566 Change-Id: I55f8d358efe9dc53471b78c31be363e0af6d0e80 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-17Add fields on microservicesebdet2-1/+38
Add fields for DCAE on microservice instance Issue-ID: CLAMP-572 Change-Id: Ia68b45921ba6f6f3a3efd574887475aff22bc3a8 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-16Fix checkstyle issuesebdet8-142/+57
Fix checkstyle issues and remove useless files Issue-ID: CLAMP-555 Change-Id: I02382ed48d7321b0a6b8650efbf7663f943f17ba Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-16Merge "Add template and tosca model entities and repositories"Sébastien Determe34-473/+2190
2020-01-16Add template and tosca model entities and repositoriesnrpandya34-474/+2191
Add Control loop template, tosca model and model policy properties hibernate entity classes and crud repositories Issue-ID: CLAMP-555 Change-Id: Ib7f07aca5ad2ddf5caff7c98ea9341bdc147e817 Signed-off-by: nrpandya <neenendra.pandya@att.com>
2020-01-07Update based on commentsxuegao4-37/+43
Update based on review comments and fix some format issues. Issue-ID: CLAMP-569 Change-Id: I8b94be41d7576d4c701e0d7f49883f4255463e62 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-01-06Add refresh op policy json apixuegao3-0/+29
Add the new api to refresh the operational policy json representation values. Issue-ID: CLAMP-585 Change-Id: I8c494f8d5f7ee8672f054444c368fdb396fb208f Signed-off-by: xuegao <xg353y@intl.att.com>
2019-12-18Move jsonRepresentationxuegao2-16/+19
Move the storage of jsonRepresentation to OperationalPolicy level Issue-ID: CLAMP-582 Change-Id: Id555ebc1f2f04468f7bf0ffd813de7732bcee97f Signed-off-by: xuegao <xg353y@intl.att.com>
2019-12-16Update deploymentParametersxuegao3-34/+134
Update deploymentParameters to allow a map of <msName, deploymentParams> instead of a single deploymentParam Issue-ID: CLAMP-569, CLAMP-570 Change-Id: I6abc4fe193157644bd6abe1c893a1416cadec988 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-12-09Merge "Update service object"Sébastien Determe6-39/+88
2019-12-09Update service objectxuegao6-39/+88
Seperate the procedure to install service and loops. Issue-ID: CLAMP-566 Change-Id: Ied7143ce8849baffda7678e82f4d6c4d9f1443d9 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-12-09Add dcae structuresebdet2-2/+117
Add the DCAE structure to handle the sorting of the loops defined in the DCAE inventory. Issue-ID: CLAMP-575 Change-Id: I52cffd1d1812f5d3e5802e46d6c5147dafb4a7f5 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-29Merge ssl passwordxuegao5-12/+199
Use the aaf encrypted ssl password fot server.ssl parameters Issue-ID: CLAMP-339 Change-Id: I8869bb527f2851c1d298cd03e45327791a8acfab Signed-off-by: xuegao <xg353y@intl.att.com>
2019-11-18Create Service objectxuegao4-23/+164
User Service object to store loop service and resource realted info. Issue-ID: CLAMP-545 Change-Id: I0df6f5d43d7e0575346e02a27bca5c0b5ecdb0a0 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-11-05Move to JDK 13sebdet4-74/+26
Do the required changes to move to JDK 13 Issue-ID: CLAMP-327 Change-Id: Ia7840851eeefc6c00e3e49eacb2e49cc27a0b2f0 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-17Merge "Add unit tests"Sébastien Determe1-1/+3
2019-10-17Add unit testsxuegao1-1/+3
Add unit tests for backend and frontend. Issue-ID: CLAMP-512 Change-Id: I713ba2dce3bd132e7e3e713f4e91e3662df7aafd Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-17Update AAF certificatesebdet1-1/+6
Update the AAF certificate as the previous one will expire soon Issue-ID: CLAMP-536 Change-Id: Ia900449fcb1b327d60ae8f9c628610151ed70f0d Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-10Rework the clamp cadi filtersebdet1-6/+12
Add test and rework the code for X509 certificate Issue-ID: CLAMP-519 Change-Id: I3c0aa05cd4bec24770243b86a4672ff3906afba5 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-09Fix policy status issuexuegao1-1/+1
Change the initial status of policy from SENT_AND_DEPLOYED to NOT_SENT. Issue-ID: CLAMP-533 Change-Id: If4fa22fc2e3fb33500502bab41e49de9000dd7e7 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-09Add policy model id in tosca parsersebdet2-64/+59
Add the parameter policy model id when converting the tosca to a Json schema for the UI so that it takes well what is provided in the blueprint Issue-ID: CLAMP-534 Change-Id: Ie5e9e0c495c3969f25cca36d8f3d74c82f1f63b6 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-08Merge "Fix policy status issue"Sébastien Determe1-1/+1
2019-10-08DCAE inventory calls in camelsebdet2-183/+30
Move the HTTP/HTTPS calls to camel so that there is no issue with the previous code that does not support the config required for HTTP4 Camel Issue-ID: CLAMP-532 Change-Id: I83db0da5bbe6906890d0d6aa9b529c264e5f9b20 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-08Fix policy status issuexuegao1-1/+1
Change the initial status of policy from SENT_AND_DEPLOYED to NOT_SENT. Issue-ID: CLAMP-533 Change-Id: I5daec8e5d02c4db48005fbf25e642ec73df5a20c Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-04Fix X509 injectionsebdet1-1/+4
Url Decode before using the certificate Issue-ID: CLAMP-519 Change-Id: I7b0e9926a7ae6c50f2e5fafa73b20d733725b076 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-03Add X.509 Injectionsebdet1-4/+35
Add X.509 injection in the Cadi filter so that the NGinx reverse proxy can forward the certificate that AAF needs Issue-ID: CLAMP-519 Change-Id: I0af8ec795fb61510647d2019f3f6f8f664032f5c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-24Add unit tests for UIxuegao1-1/+0
Adding unit tests for React UI Issue-ID: CLAMP-509 Change-Id: If31bbea7972736aa190fd0fed19336a1aa382af8 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-09-11Remove dead codesebdet7-431/+0
Removal of useless code related to v1 model Issue-ID: CLAMP-487 Change-Id: Ia12f21b30e3d81e475a65e507ee02291548dd7f8 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-11Checkstyle fixessebdet29-225/+306
Checkstyle fixes done to solve the Unstable build Issue-ID: CLAMP-487 Change-Id: I694b13e03dd1e7220988fd0c08bfbf12a808f7f7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-10Remove Dead codesebdet7-886/+0
Removal of useless code not used anymore in clamp because model are received from CSAR Issue-ID: CLAMP-487 Change-Id: Ifeb0411e7f7cd599cb5cf5d8f5b0e33d34bbf396 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-10Repair healthchecksebdet2-37/+20
HealthCheck was always returning 200 even if the db was not up and running Issue-ID: CLAMP-494 Change-Id: I85aa427a212c6cde568d3863d1ab1a1a11c71f16 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-10Remove dead codesebdet61-8198/+231
Removal of deprecated v1 interface code, sql cleaned up as well, old model removed from database Issue-ID: CLAMP-487 Change-Id: I4a9f14de9ea1c1b76c522581d75cf4b011c2aa01 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-09Remove dead codesebdet11-1894/+135
Removal of dead code not used anymore as part of the V1 interface + new swagger without old v1 interface Issue-ID: CLAMP-487 Change-Id: I56c80c26082b5119f14afc41e26bae1c52b1ba59 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-06Fix legacy policy payloadsebdet1-0/+6
Ensure payload attribute is well not present if defined as an empty string Issue-ID: CLAMP-484 Change-Id: If6d558c009dd695bfd5f83cf0d50800e12026121 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-26Fix the userInfosebdet1-6/+7
Fix user Info window, now clicking on the user name make it appears + attempt to add a logout Issue-ID: CLAMP-393 Change-Id: I82686a848f7ccae95c1eab22f1923a8821ba76b1 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-23Fix the log statussebdet3-26/+100
Fix the way the code (camel) computes the global loop state + introduce level in component state for that Issue-ID: CLAMP-384 Change-Id: I83a9306eabacfc1f118df6b828e521ee59d19b5f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-19Draft of op policysebdet5-68/+259
First draft of the Operational policy based on JsonEditor, it's a wip code Issue-ID: CLAMP-430 Change-Id: I2c7970e94488f4020377fd9d4d00691a3590b13e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-14Merge "Improve test for DictionaryService."Sébastien Determe1-16/+42
2019-08-06Remove checkstyle issuessebdet10-1427/+1427
Remove checkstyle issues added during previous merge Issue-ID: CLAMP-465 Change-Id: Iec78a64c01de6cc1405fccd7406ef38b06e61545 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-06Add Expose annotationsebdet8-1290/+1394
Add expose annotations in all objects returned by the v1 interfaces Issue-ID: CLAMP-465 Change-Id: I9c98de60dc71f52f74f14810135e83efe4256ede Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-15Fix Nullpointer exceptionsebdet1-2/+3
Fix null pointer exception happening when getting a non existent SVG in db Issue-ID: CLAMP-424 Change-Id: I8941441b2af1ae2d54da977b467bde3abef52376 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-18Improve test for DictionaryService.k.kedron1-16/+42
Add new test for CldsDictionaryService. Refactor createOrUpdateDictionary method. Remove useless final from private method. Checkstyle issue. Change-Id: I26e782aeb4a7429d342f90d4231dd24cca2e152f Issue-ID: CLAMP-355 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>