aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-24Improve metadata supportsebdet17-2703/+2969
Improve the metadata support for CDS and default values Issue-ID: CLAMP-786 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8a24e31a93ff1e288ec8f0f6d522b1b15d39a8d2
2020-03-23Fix the CDS callssebdet29-6210/+8557
Fix the CDS calls for generic tosca policies, the new tosca parser must be interrupted so that clamp can do json schema enrichment Issue-ID: CLAMP-786 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ib7e85a6cc3849f614a3025779d29e8024f7a2ef2
2020-03-23Populate deployment parametersxuegao6-71/+95
Create deployment parameters while creating loops. Issue-ID: CLAMP-788 Change-Id: Icb4ebc786b87468846692744f27b697734015401 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-19Fix loop submit bugsxuegao6-71/+102
Update the payload for policy creation and pdp group activation and update the policy url accordingly. Issue-ID: CLAMP-787 Change-Id: If39eeaccf780f1222b99ffc4dd5d7ef1460c4962 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-18Fix modify model UI bugxuegao1-2/+2
Fix the modify model UI bug, update the loopCache before closing the window. Issue-ID: CLAMP-783 Change-Id: Ide103f66b103ca2f51e8b7bbeda883db6626d027 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-18Fix pdp group bugxuegao1-1/+1
Update the url used to get the pdp group info from Policy. Issue-ID: CLAMP-782 Change-Id: I283f4296ea0efaea475e1c142979a0754feb1a19 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-17Merge "Update policy model UI"Sébastien Determe2-1/+193
2020-03-17Fix the policy synchrosebdet5-2/+90
Fix the periodic policy synchro issue due to wrong format expected. Issue-ID: CLAMP-784 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iaa815e92bb5c7d93f9db9c75f98e144b8d0f6b44
2020-03-17Update policy model UIxuegao2-1/+193
Update the PolicyModal UI, adding refresh button to update policy josn representation. Issue-ID: CLAMP-578 Change-Id: I8dc85fa1908fa735352b3877a845113d4995c3ec Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-16Fix the policy synchrosebdet4-19/+14
Fix the periodic policy synchro issue due to wrong format expected. Issue-ID: CLAMP-781 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I97d1ac28b5427378b6c4a0fa67415cc728f46b87
2020-03-16Rework the policy refreshsebdet16-178/+259
Rework the policy refresh for the new unique dialog policyModel Issue-ID: CLAMP-578 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ie8c91223e92c1e344d7ead5784ffea33d4f6a00f
2020-03-16Fix the legacy Guard UIsebdet2-5/+18
Fix the legacy policies UI because guard content can't be set in PolicyModal component. It was due to Jsoneditor bugged parameter Issue-ID: CLAMP-780 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8070d8c57e48c9a386e19475f1d377f91104aef1 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-03-16Fix the legacy policiessebdet9-1309/+1274
Fix the legacy policies not displayed in the UI properly due to the new PolicyModal dialog. Issue-ID: CLAMP-779 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8070d8c57e43c9a386e09475f0d377f91104aef1
2020-03-13Fix the new tosca convertersebdet57-14334/+21679
Fix the metadata section analysis and make the tosca parser more configurable (in applications.properties) Issue-ID: CLAMP-580 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9068bd9dc89861c640660a7f78fae2cb70bdc178 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-03-13Merge "Fix the tosca converter"Xue Gao27-381/+393
2020-03-13Merge "Add remove op policy option"Sébastien Determe8-51/+336
2020-03-13Add remove op policy optionxuegao8-51/+336
Update the UI and backend code to be able to remove op policy for loop instances. Issue-ID: CLAMP-648 Change-Id: Ib3eab4977fe4f1b85e11f2373263197009bbc3e1 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-10Fix the tosca convertersebdet27-381/+393
Fix the new tosca converter to support metadata section Issue-ID: CLAMP-580 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9068bd9dc89851c630660a7f78fae1cb70bdc178
2020-03-10Rework tosca convertersebdet23-333/+1029
Fix the tosca converter template to support json instead of properties file. Issue-ID: CLAMP-253 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id4f839d0b5bfece519b0b1e615e8d6e14e464f16
2020-03-10Merge "Rework tosca converter"Xue Gao41-577/+1307
2020-03-09Rework tosca convertersebdet41-577/+1307
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-09Merge "Adding manage dictionary UI feature"Sébastien Determe9-17/+1180
2020-03-04Adding manage dictionary UI featuredrveerendra9-17/+1180
Adding manage dictionaries.js, its test file and respective changes in loopui, menu js files Issue-ID: CLAMP-589 Change-Id: Ib0440a7a966f3736682d2964e3329e08c91578d3 Signed-off-by: drveerendra <vrajasekharaiah@att.com>
2020-03-04Change json representation in op policysebdet41-4234/+3341
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 Determe24-105/+248
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 Groupxuegao24-105/+248
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 Determe13-238/+328
UI. Dictionary API fix to allow bulk create or update of dictionary elements."
2020-02-27Fix bug in operational policysebdet13-2735/+3120
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 Sharma13-238/+328
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-27Fix the loopCachesebdet3-5/+5
Fix the loop cache so that the micro service configuration are well read. Issue-ID: CLAMP-653 Change-Id: I68524bd3d5bfbf5ca5a3acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@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