aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
AgeCommit message (Collapse)AuthorFilesLines
2020-04-17Tosca convertor updated with datetime picker plugin featureAshwin Sharma3-25/+101
Issue-ID: CLAMP-587 Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com> Change-Id: I1533b8e7a87c3e7c5af3572fef9ccd3a8fae85ef Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com>
2020-04-16Remove policy from PEF when removing op policysebdet3-3/+33
The operational policy must be removed from the PEF when the user remove an operational policy (at least attempt to purge the PEF) Issue-ID: CLAMP-824 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I442c0890c391d43e8fcbdb89189d6ad2581db3af
2020-04-15Merge "Fix bug in undeploy flow"Sébastien Determe2-2/+2
2020-04-15Merge "Fix legacy policy submit issues"Xue Gao3-29/+24
2020-04-15Fix bug in undeploy flowxuegao2-2/+2
Save and flush the deploymentId and statusUrl in the undeploy flow, so that refresh dcae status will use the correct statusUrl. Issue-ID: CLAMP-807 Change-Id: If83c222f772face6f33f00bd8cf5d5c8e55ded55 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-15Fix legacy policy submit issuessebdet3-29/+24
Operational legacy policy does not support semantic versionin for get status and delete policies, it has to be changed to integer Issue-ID: CLAMP-820 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I78ff69b7502900d96fcc605fe997dd564dfa3e98
2020-04-14CDS attributes are not shown properly in UIVidyashree-Huawei4-47/+124
Handled for legacy and operational policy Change-Id: I504c4aa2531b19b09965ad1dbc03c9944931f77b Issue-ID: CLAMP-809 Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
2020-04-03Merge "Fix pdp group info not there for legacy policy"Gervais-Martial Ngueko2-3/+5
2020-04-03Fix pdp group info not there for legacy policysebdet2-3/+5
The operational policy legacy name must be changed so that clamp can get the right pdp group and subgroup Issue-ID: CLAMP-817 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iaede77977b8f450c10bf7df73cf2b84a74ab122a
2020-04-03Merge "Fix the pdp payload"Gervais-Martial Ngueko1-12/+13
2020-04-03Fix the pdp payloadsebdet1-12/+13
THe pdp payload was not good in some particular cases, when the pdp group was containing different subgroups Issue-ID: CLAMP-813 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ie3e53f42827ed90689ed83b4945151cb13f38c9c
2020-04-02Change generated json schemasebdet2-0/+12
Add tabs-top format for array in the policy json schema generated + add a default case for payload Issue-ID: CLAMP-810 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I5cca893cda57838c0244fc82974dd5519e787506
2020-04-01Rework the CDS Json schemasebdet1-5/+26
Rework a bit the CDS Json schema, so that the payload info is good now Issue-ID: CLAMP-805 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I84d543987f421e3185c2783fc6cd779302658a1f
2020-04-01Rework the logssebdet3-15/+20
Rework the logs so that it's easier to debug the issues on a lab Issue-ID: CLAMP-804 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9cff98205c2135a759e7e6156ab39f8af8129927
2020-03-31Fix the policy_id not setsebdet3-19/+29
Fix the policy_id not set by default when it's a unique blueprint, and when it contains only one microservice Issue-ID: CLAMP-802 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iffe35e461395940567588228ec68ea4b7ff9a409
2020-03-31Fix blank space crash in toscasebdet1-1/+1
Fix the crash that occurs when a blank space is found in the metadata section Issue-ID: CLAMP-801 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3d66991378bd44fbb7d19a5048091e307589677a
2020-03-30Fix the AAF issuesebdet1-4/+4
Fix the AAF due to wrong urls specified in the cadi filter. Permissions were therefore not added Issue-ID: CLAMP-799 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ibd96ebcdbabe85b891dc023cf087c57cee1fdddb
2020-03-25Fix the loop deploy issuexuegao1-1/+2
Fix deploy UI issue and update the deployment payload. Issue-ID: CLAMP-791 Change-Id: I2e652bc321e27be7c21ae12c66e98880e2eed4b5 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-25Improve the policy namesebdet4-24/+37
Give a better name to the policies so that it's easier to know which modle has been used Issue-ID: CLAMP-792 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I7c6f25eb5075d6e4d114cecd705530a656875cd9
2020-03-25Improve the policy model downloadsebdet5-23/+33
Improve the policy model download so that the yaml is now in pretty printing and the policy engine is not triggered if the model is already in the database Issue-ID: CLAMP-784 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ibd1e6bd617cf052ad4c475e4dd9c63eb2b046acd
2020-03-24Improve metadata supportsebdet5-112/+307
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 callssebdet18-85/+417
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 parametersxuegao2-37/+25
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 bugsxuegao2-40/+68
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-17Fix the policy synchrosebdet1-1/+1
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-16Fix the policy synchrosebdet2-11/+6
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 refreshsebdet10-149/+189
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 policiessebdet2-5/+4
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 convertersebdet25-514/+834
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 Gao10-170/+196
2020-03-13Merge "Add remove op policy option"Sébastien Determe3-1/+48
2020-03-13Add remove op policy optionxuegao3-1/+48
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 convertersebdet10-170/+196
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 convertersebdet8-52/+337
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 Gao6-40/+115
2020-03-09Rework tosca convertersebdet6-40/+115
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 Determe6-9/+414
2020-03-04Change json representation in op policysebdet7-162/+204
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-Huawei6-9/+414
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 Determe11-34/+47
2020-03-03Rework tosca converterWeberLaurent9-0/+1250
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-03Update UI to define Pdp Groupxuegao11-34/+47
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 Determe1-5/+32
2020-03-03Rework the activate pdp group payloadxuegao1-5/+32
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-02Merge "Upload Tosca Model changes to remove policy model type parsing from ↵Sébastien Determe3-39/+43
UI. Dictionary API fix to allow bulk create or update of dictionary elements."
2020-02-27Fix bug in operational policysebdet4-19/+17
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 Sharma3-39/+43
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 controllersebdet2-3/+30
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-27Add Create loop dialogsebdet15-77/+111
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 flowxuegao8-12/+424
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>