aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-03-03Rework the activate pdp group payloadxuegao4-39/+98
Rework the payload which triggers the activate pdp group policy API based on the new requirement. Issue-ID: CLAMP-646 Change-Id: I9bd7e3f2d1907c7e22c5435c792910b8245780b2 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-02-27Add Create loop dialogsebdet27-115/+228
Add create loop dialog and backend part associated (this is based on this PR https://gerrit.onap.org/r/c/clamp/+/102156) Issue-ID: CLAMP-587 Change-Id: I58524bc2d5bfbf5ca5a3acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-26Create get Pdp Groups flowxuegao17-59/+778
Create a camel flow to get the list of Pdp Groups info from Policy. Create a scheduler to trigger the camel flow regularly and store the Pdp Groups info into DB. Issue-ID: CLAMP-644, CLAMP-649 Change-Id: I6427202cc0186cd85428d5d25b28a8622e4d7ca4 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-02-25Fix Bug due to user management changessebdet8-93/+78
Fix the bugs, build is broken due to changes done previously Issue-ID: CLAMP-651 Change-Id: I57523bc2c3bfbf5ca5a3acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-25Simplify the user managementsebdet26-1233/+198
Simplify the user management and fix a bug in the server, crashing when no user are logged and an operation is requested, and also previous user still stored in the securitycontext when admin is logged (due to static variable) Issue-ID: CLAMP-651 Change-Id: I57523bc2c3afaf5ca5a3acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-25Modify the Uisebdet4-390/+378
Modify the Ui to have a modify option in the menu so that the user can tune the loop instance Issue-ID: CLAMP-648 Change-Id: I57523bc1c3afaf5ca5a2acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-25Operational policy modificationsebdet28-374/+579
policyModel added to Operational policy object so that a user in the UI can add op policies, guard or whatever Issue-ID: CLAMP-647 Change-Id: I57521bc1c3afaf5ca5a2acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-17Fix the loop template viewsebdet1-222/+1373
Fix the loop template view modal as the rest api has been changed + the database model as well Issue-ID: CLAMP-589 Change-Id: I57521bc1c3afaf4ca5a2acf4c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-14Changes include Metadata support, Upload tosca policy model and Loop Templateash7426826-620/+3586
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 testssebdet12-2098/+127
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 Determe3-6/+6
2020-02-13Fix deploy flow bugxuegao3-6/+6
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 testssebdet9-67/+139
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 Gao9-63/+160
2020-02-11Add policy downloadersebdet9-63/+160
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 filessebdet56-177/+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 CsarInstallersebdet46-2635/+2012
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 Determe11-112/+326
2020-02-10Update get Dcae Status flowxuegao11-112/+326
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-30Merge "Remove blueprintId in loop"Xue Gao6-102/+43
2020-01-30Remove blueprintId in loopsebdet6-102/+43
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-30Merge "Change the Csar installer"Xue Gao15-171/+232
2020-01-30Merge "Add a unit test"Xue Gao2-13/+72
2020-01-30Change the Csar installersebdet15-171/+232
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 flowxuegao5-93/+310
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 Determe11-23/+506
2020-01-30Update deploy-loop routexuegao11-23/+506
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-30Add a unit testsebdet2-13/+72
Add a test on Blueprint parser to validate a specific case Issue-ID: CLAMP-567 Change-Id: I2f0ed17bd8fd203b055fcb26614e747afcf85d9a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-29Merge "Create a camel route that would retrieve all the DCAE blueprints"Xue Gao8-15/+272
2020-01-29Create a camel route that would retrieve all the DCAE blueprintsVidyashree-Huawei8-15/+272
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-28Fix dep problemsebdet1-736/+0
Fix dependency problem in eclipe & remove useless files in resources Issue-ID: CLAMP-628 Change-Id: Ibe8ed1283b12e6379ff529e24c5ccbb85d3b3227 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-23Modify the template modelsebdet19-329/+369
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 "Add tests"Sébastien Determe1-0/+96
2020-01-20Merge "Sonar fixes"Xue Gao4-107/+158
2020-01-20Add testsxuegao1-0/+96
Add tests for Dictonary and DictionaryElements Issue-ID: CLAMP-591 Change-Id: I1a810e0211685aa7d0831399e727c01b36416bab Signed-off-by: xuegao <xg353y@intl.att.com>
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 issuesebdet12-648/+74
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 Determe43-609/+2995
2020-01-16Add template and tosca model entities and repositoriesnrpandya43-610/+2996
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 urlxuegao2-3/+3
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 commentsxuegao6-40/+48
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 jsonRepresentationxuegao3-590/+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 deploymentParametersxuegao5-34/+263
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 Determe11-47/+101
2019-12-09Update service objectxuegao11-47/+101
Seperate the procedure to install service and loops. Issue-ID: CLAMP-566 Change-Id: Ied7143ce8849baffda7678e82f4d6c4d9f1443d9 Signed-off-by: xuegao <xg353y@intl.att.com>