aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-02-14Changes include Metadata support, Upload tosca policy model and Loop Templateash7426817-507/+1582
CLAMP Metadata support to parse policy_model_type, acronym and clamp_possible_values from the Tosca Policy Model UI and Backend changes to support Loop Template Backend APIs for Dictionary referenced in the Tosca Policy Model. Upload Tosca Model UI changes to allow user to upload policy models. DB Schema changes for the Loop Element Model and updated schema for the Dictionary Added Jest test cases and snapshots checkstyle issues fix and Junits Issue-ID: CLAMP-580 Signed-off-by: ash74268 <ashwin.shyam.sharma@att.com> Change-Id: I57521bc1c3afaf4ca5a2acf4c59823df05fd4cd6 Signed-off-by: ash74268 <ashwin.shyam.sharma@att.com>
2020-02-14Add testssebdet2-23/+73
Add tests for https and aaf Issue-ID: CLAMP-624 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia78ed8da7e54eaeaaed4fb87f483e0aff3a4a8c5
2020-02-14Merge "Fix deploy flow bug"Sébastien Determe2-5/+5
2020-02-13Fix deploy flow bugxuegao2-5/+5
Fix the bug in the deploy flow for multi blueprint cases. Issue-ID: CLAMP-571 Change-Id: I368cefafcba34a8ba3bd6be1eb22064995364d23 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-02-13Add testssebdet4-51/+63
Add tests for download all and improve efficiency with stream Issue-ID: CLAMP-518 Change-Id: Ia78ed8da7e54eaeaaed4fb87f483e0aff3a4a8c4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-11Merge "Add policy downloader"Xue Gao6-61/+97
2020-02-11Add policy downloadersebdet6-61/+97
Add policy downloader to sync all policy types in the database Issue-ID: CLAMP-518 Change-Id: I5ab82970cd3403e46fe7cc8447766977b11b68e7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-10Merge "Removal of ELK"Sébastien Determe42-1549/+0
2020-02-10Removal of ELKsebdet42-1549/+0
Removal of ELK stack in this repo as now we have clamp-dashboard repo to handle the images construction Issue-ID: CLAMP-483 Change-Id: Icdea709015a973acc6e7884b5444caa1ee3c8cc8 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-10Removal of useless filessebdet2-122/+0
Removal of useless file in the emulator and exception not used anymore Issue-ID: CLAMP-518 Change-Id: Ie9235c1f9daaf926f9955a678266a771c9280d89 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-10Get policy in CsarInstallersebdet20-882/+1011
Get the policies on the PEF engine when installing the CSAR (if needed) Issue-ID: CLAMP-518 Change-Id: I2cca157821c22ef63dc748984140287667cc4663 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-10Merge "Update get Dcae Status flow"Sébastien Determe5-64/+143
2020-02-10Update get Dcae Status flowxuegao5-64/+143
Update the flow to get Dcae Status, supporting multiple blue print. Issue-ID: CLAMP-590 Change-Id: I6a05a40d4879082413d3ed83159467ea616c5d37 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-02-05Update SSL Certs and docChrisC3-45/+46
Update SSL certs for Frankfurt (expiry date Feb 2021) + fix clamp env for compose. Documentation updated to reflect what to do for cert renewal (readme). Issue-ID: CLAMP-641 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I24e24ee88674c3d5b399bc0f1722c61f4c54a937
2020-01-30Remove blueprintId in loopsebdet2-17/+7
Remove the blueprint Id for DCAE in loop object as now the one in loop template will be used. Issue-ID: CLAMP-592 Change-Id: Ie86f362451d58de07f7a715ae0bfc92566893e13 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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 flowxuegao3-8/+134
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 Determe8-21/+183
2020-01-30Update deploy-loop routexuegao8-21/+183
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 Gao4-14/+75
2020-01-29Create a camel route that would retrieve all the DCAE blueprintsVidyashree-Huawei4-14/+75
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 Determe35-516/+2558
2020-01-16Add template and tosca model entities and repositoriesnrpandya35-517/+2559
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-09Update policy api urlxuegao1-2/+2
Update the policy api url, triggering the pap api to get the status of the deployed policy. Issue-ID: CLAMP-577 Change-Id: I34222c1158d6f724c8ae740fec81f2085ef91bd0 Signed-off-by: xuegao <xg353y@intl.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 apixuegao5-1/+71
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 structuresebdet3-16/+132
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 passwordxuegao7-23/+215
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-20Merge "Update the alpine version"Sébastien Determe1-1/+1
2019-11-19Merge "Rollback to JDK 11"Sébastien Determe1-1/+3
2019-11-19Update the alpine versionsebdet1-1/+1
So Alpine 3.10.3 and jdk 11.0.5 Issue-ID: CLAMP-553 Change-Id: I51527d0903aef406b996e7b83975f1a167ad4937 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-18Rollback to JDK 11sebdet1-1/+3
Reverting JDK to 11 as deciced by the SECCOM Issue-ID: CLAMP-553 Change-Id: I69bbf2b961616ae566e43cab944bd0daf5295a34 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-18Merge "Create Service object"Sébastien Determe4-23/+164
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-08Put npm snapshotsebdet1-2/+2
Put npm snapshot for all for now, until there is a better solution to release Issue-ID: CLAMP-450 Change-Id: I62f936c01a133462d3bff5ae0aeea5aa211c5c91 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-07Merge "Move to JDK 13"Sébastien Determe5-75/+27
2019-11-05Add Npm repo scriptsebdet1-0/+34
Add npm repo script in the build to decide which nexus repo must be used depending of the version Issue-ID: CLAMP-450 Change-Id: Ic00974d1bedf9da947748dd9f5224fbc78f7f425 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-05Move to JDK 13sebdet5-75/+27
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-17Fix nginx configsebdet1-0/+2
Fix nginx config for AAF so that certificate can go through it Issue-ID: CLAMP-519 Change-Id: Ie10975d733107022b933b83354881fd704512e26 Signed-off-by: sebdet <sebastien.determe@intl.att.com>