summaryrefslogtreecommitdiffstats
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 dialogsebdet37-125/+468
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-26Add new dialog for policysebdet10-35/+219
Add a new dialog component for tosca based policy, config/op should use that dialog now. Issue-ID: CLAMP-653 Change-Id: I57523bc2d4bfbf5ca5a3acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-26Create get Pdp Groups flowxuegao20-2092/+2808
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 changessebdet11-2137/+2128
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 managementsebdet30-1324/+221
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 Uisebdet23-15784/+14054
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 modificationsebdet30-394/+604
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 viewsebdet12-6889/+24430
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 Templateash7426839-706/+4133
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 testssebdet13-2098/+141
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-13Merge "Add tests"Xue Gao9-67/+139
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-12Merge "Migrate clamp docs"Christophe Closset9-0/+145
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-10Migrate clamp docsJessica Wagantall9-0/+145
Merging this will create https://onap-clamp.readthedocs.io This build will run in parallel to the current docs generation method until we are ready to cut over. Issue-ID: CIMAN-364 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I44403b2ea7c21125280ee20bc2ccb28876ce6477
2020-02-10Fix npm repo missingsebdet2-1/+4
Fix the Npm repo missing in the configuration Issue-ID: CLAMP-586 Change-Id: I6e0c25beb91655e735ef2a0170e9a4404cdf8818 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-10Merge "Removal of ELK"Sébastien Determe63-2515/+1
2020-02-10Merge "Removal of useless files"Sébastien Determe56-177/+0
2020-02-10Removal of ELKsebdet63-2515/+1
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-10Bump up clampsebdet2-3/+3
Bump the version to 5.0.0 Issue-ID: CLAMP-642 Change-Id: Ia9bbb51a2149f68148b6eaf63e9bb10452ae38a5 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-10Get policy in CsarInstallersebdet50-2649/+2026
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 Determe12-113/+328
2020-02-10Update get Dcae Status flowxuegao12-113/+328
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-05Merge "Changes for populating ReactJS component library"Sébastien Determe10-44/+270
2020-02-05Update SSL Certs and docChrisC5-54/+66
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-02-04Changes for populating ReactJS component libraryTed Humphrey10-44/+270
Modification of Maven pom.xml to segregate creation of component library away from the basic CLAMP UI. New directory ui-react-lib is introduced and populated with just a few files to support the library creation. Introduction of OnapConstants.js provides single focus for defining constants shared across multiple components, resolving circular dependency between LoopUI.js and MenuBar.js around defaultLoopName. Modified LoopSvg.js to import withRoute from react-router-dom instead of react-router, which was causing problems in usage of completed component library. Issue-ID: CLAMP-586 Change-Id: I3054d5388b8aa7417fe7566c34279390d24fb80a Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
2020-01-30Merge "Remove blueprintId in loop"Xue Gao9-121/+57
2020-01-30Remove blueprintId in loopsebdet9-121/+57
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 Gao17-186/+245
2020-01-30Merge "Add a unit test"Xue Gao2-13/+72
2020-01-30Merge "Enable multithread for failsafe"Xue Gao1-1/+1
2020-01-30Change the Csar installersebdet17-186/+245
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 Determe12-24/+508
2020-01-30Update deploy-loop routexuegao12-24/+508
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-29Enable multithread for failsafesebdet1-1/+1
Change failsafe configuration to enable the multithreading Issue-ID: CLAMP-626 Change-Id: Id53d221873d5820a6f8e4b90b8f0ed3a157c11bf Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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-28Merge "Fix dep problem"Gervais-Martial Ngueko2-736/+12
2020-01-28Fix dep problemsebdet2-736/+12
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-28Fix JS coverageChrisC1-2/+1
reverting to sonar.sources to control source origin Issue-ID: CLAMP-626 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I39f33a3486b3534b8a815e5823e281ca1eff29a8
2020-01-28Fix Sonar JSChrisC1-2/+4
Trying to apply other properties for JS scan Issue-ID: CLAMP-626 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Iae2cd8014f54260fa90d8f489f1316ac422e99de
2020-01-28Adding more logs and try relative pathChrisC1-1/+2
Adding More logs to the scanner to understand why some sources are not taken into account + trying relative path for inclusion based on SonarCloud doc recommendation Issue-ID: CLAMP-626 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Iccede3dc4c1e9a8f2c80ef3e763cbbcbdde489ab
2020-01-27Fix SonarChrisC1-3/+4
try disabling sonar.scm.exclusions.disabled to avoid .gitignore file being taken into account by Sonar Issue-ID: CLAMP-626 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Ic5ea1d9f2168e983a54132e1acf8ae0d31f081d7 Signed-off-by: ChrisC <christophe.closset@intl.att.com>