aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-03-10Merge "Rework tosca converter"Xue Gao32-245/+969
2020-03-09Rework tosca convertersebdet32-245/+969
New code to convert the Policy Tosca Yaml to Json Schema for the Clamp UI Issue-ID: CLAMP-647 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id15ddedc1910f6a40bf6e407b34e343e00135571
2020-03-09Merge "CLAMP-CDS integration to display all CDS actions for blueprint in CL"Sébastien Determe20-81/+1103
2020-03-04Change json representation in op policysebdet36-1720/+746
Change the json generation for an operational policy instance and update all emulator response for all policy types Issue-ID: CLAMP-653 Change-Id: I68525be3d5bfbf5dd7a4bcf6d59853df07fd4dd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-03-04CLAMP-CDS integration to display all CDS actions for blueprint in CLVidyashree-Huawei20-81/+1103
CLAMP-CDS integration to display all CDS actions for blueprint in CL Change-Id: I18b972b8952e5de9ac8e39d6c9cc4ecba0ec9b02 Issue-ID: CLAMP-491 Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
2020-03-04Merge "Update UI to define Pdp Group"Sébastien Determe21-67/+77
2020-03-03Rework tosca converterWeberLaurent24-0/+2267
New code to convert the Policy Tosca Yaml to Json Schema for the Clamp UI Issue-ID: CLAMP-253 Change-Id: I10c1d3d81c5feae402773de94bd88c190ec68645 Signed-off-by: WeberLaurent <weberlaurent23@gmail.com>
2020-03-03Merge "Update docker image Update docker base image so that clamp uses the ↵Gervais-Martial Ngueko1-13/+3
official onap jdk image"
2020-03-03Change the user in the frontentsebdet1-0/+1
Use clamp user instead of root for the frontend nginx Issue-ID: CLAMP-625 Change-Id: I9bd7e3f3d1908c7e22c5435c792910b8245780b4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-03-03Update UI to define Pdp Groupxuegao21-67/+77
Update teh UI, adding the possibilities to define Pdp Group and Pdp Subgroup info. Issue-ID: CLAMP-654 Change-Id: I3660c491d3a4c730a7414f9c6de9e3859f3c3601 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-03Merge "Rework the activate pdp group payload"Sébastien Determe4-39/+98
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-03-02Update docker imagesebdet1-13/+3
Update docker base image so that clamp uses the official onap jdk image Issue-ID: CLAMP-625 Change-Id: I68525be3d6bfbf5dd7c5bcf6d59863df07fd4dd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-03-02Merge "Upload Tosca Model changes to remove policy model type parsing from ↵Sébastien Determe8-92/+321
UI. Dictionary API fix to allow bulk create or update of dictionary elements."
2020-02-27Fix bug in operational policysebdet8-92/+92
Fix bugs in camel routes and operational policy due to changes done for op policy insertion/removal Issue-ID: CLAMP-647 Change-Id: I68524bd3d5bfbf5dd7a4bcf6d59853df07fd4dd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-27Upload Tosca Model changes to remove policy model type parsing from UI.Ashwin Sharma8-92/+321
Dictionary API fix to allow bulk create or update of dictionary elements. Issue-ID: CLAMP-656 Change-Id: I6a0a36a6be40a098d917c45462872d31b7f47dd2 Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com>
2020-02-27Standardize loop controllersebdet3-5/+32
Make all calls from camel to loop controller instead of the service to make things consistent. Issue-ID: CLAMP-647 Change-Id: I68524bd3d5bfbf5dd7a4acf6c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-27Change emulator policy responsesebdet17-1/+1273
Return the right policy response for each policy model requested by Clamp Issue-ID: CLAMP-653 Change-Id: I68524bd3d5bfbf5ca6a4acf6c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@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>