aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-04-15Merge "Fix bug in undeploy flow"Sébastien Determe2-2/+2
2020-04-15Merge "Fix legacy policy submit issues"Xue Gao5-290/+108
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-14Merge "CDS attributes are not shown properly in UI"Sébastien Determe5-59/+142
2020-04-15Fix legacy policy submit issuessebdet5-290/+108
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-Huawei5-59/+142
Handled for legacy and operational policy Change-Id: I504c4aa2531b19b09965ad1dbc03c9944931f77b Issue-ID: CLAMP-809 Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
2020-04-08Update delete loop flowxuegao2-25/+39
Updating the delete loop flow. Issue-ID: CLAMP-816 Change-Id: I9ad5001b00f5f92a8ecc1f84379ee0e8ae2d196b Signed-off-by: xuegao <xg353y@intl.att.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 schemasebdet2-2/+2
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: I807e00536befe53d266b2dee279bde29b0f7d0cb
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 logssebdet9-183/+399
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-27Merge "Fix frontend docker"Xue Gao3-27/+57
2020-03-27Fix frontend dockersebdet3-27/+57
Rework the frontend image so that it does not crash when it starts Issue-ID: CLAMP-797 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9448f52eada95a171006e6e524ffac2e70c9f59e
2020-03-26logback can't be configured with both scan and springPropertyJulienBe1-4/+1
No proper fix available yet source: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-logback-extensions Issue-ID: CLAMP-794 Signed-off-by: JulienBe <jb379x@att.com> Change-Id: If2145e18583ccecf96e126e8f73ddfd251eff656
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 supportsebdet8-191/+385
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 callssebdet19-220/+633
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 parametersxuegao3-39/+27
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 bugsxuegao3-44/+72
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 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-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 synchrosebdet3-13/+8
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 refreshsebdet11-158/+233
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 policiessebdet4-530/+510
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 convertersebdet30-744/+1553
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 Gao14-187/+203
2020-03-13Merge "Add remove op policy option"Sébastien Determe4-1/+78
2020-03-13Add remove op policy optionxuegao4-1/+78
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 convertersebdet14-187/+203
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 convertersebdet12-99/+785
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 Gao8-87/+249
2020-03-09Rework tosca convertersebdet8-87/+249
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 Determe9-37/+614
2020-03-04Change json representation in op policysebdet12-305/+383
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-Huawei9-37/+614
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 converterWeberLaurent11-0/+1268
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 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