aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/clds
AgeCommit message (Collapse)AuthorFilesLines
2021-02-17Modify Backend for listing the policiessebdet1-3/+2
Improve Ui components to list policies + changes an existing camel route to expose the policy json schema properly. New files added to emulator for testing + comments added. Now the Ui can show the policy config Issue-ID: POLICY-3061 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iacf9577a4ab2cc927d05ff267e7356d8410eb77a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-02-15Add New UI component for policies listsebdet1-1/+1
Add new Ui components to list policies + the small refactoring of React Routes Issue-ID: POLICY-2925 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I784d7c144a3a3af98a9d62b5d40b5172dbdaed47 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-02-08Add new Camel routesebdet2-1304/+1351
Add the new rest endpoint in camel + add new permission type + add robot test for that route + small refactoring of trst files Issue-ID: POLICY-2924 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I623cc8ec1724513cdb92eeea000adca5c2433bae
2021-02-08Remove test usage of the AAF certificatesebdet1-0/+0
Fix the broken build by removing the need of the useless certificate, a new one is now generate during the build for the tests. Issue-ID: POLICY-3036 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I11c2ff5aac8a99c7a2b7e676d6c11bbc861a1de4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-01-25Policy list and Pdpgroup merger codesebdet1-3/+3
Draft code of the policy list/pdpgroup merger + tests, this code will most likely be called by a camel Rest route and the answer will be returned to the client/ui. The policies listing is enriched with new fields pdp group info, like: 1. In which Pdp group/Subgroup the policy is currently deployed 2. What are the potential pdpgroups/subgroups where the policy can be deployed These info will be shown in the policy clamp UI to the user. Also some refactoring has been done for the sake of clarity. Issue-ID: POLICY-2924 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iba1ab6fea90735551d7d2e2bbff9ab2efdee093e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-01-22First integration of Policy model PdpGroupssebdet1-2/+36
Replacement of the PdpGroups clamp code by the one from policy model dependency. Issue-ID: POLICY-2924 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I12c77704bba1c769dc2f307d91b759a3b645013f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-01-05Change the java package namesebdet8-313/+313
Rename java package name to org.onap.policy.clamp instead of org.onap.clamp Issue-ID: POLICY-2922 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic3255b90fd52a7b2689ae7a55f55ee7841abebac Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-10-09Fix the DCAE querysebdet3-483/+497
The DCAE deployment URL can contain URI parameters that crashes the URL used by HTTP4 Camel. Also the parameter connectionTimeToLive is removed as it is transmitted in each call. The SDC client is also updated to 1.4.1 Issue-ID: CLAMP-954 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ieebdfe009f4339188c75c7a3365546779a087561 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-10-08Fix issue with isLegacy()sebdet2-26/+6
Method has been removed, this must be removed from the policy camel code Issue-ID: CLAMP-948 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic37db72c2499c2d56c08bd71ed900c0d939aa64b
2020-07-09Fix delete flow bugxuegao2-4/+22
Fix the bug in delete flow, when the loop is already undeployed. Issue-ID: CLAMP-864 Change-Id: I6ca52b260bf2229b8ed28d8ebac93eef65d12d96 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-05-27Create SVG in UIsebdet1-65/+0
Remove the SVG generation from the backend and put it in the UI. Backend removal code + clean up of test resources Issue-ID: CLAMP-854 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ie9d6cd20f0135b459dbc85901b9a66f65002a85c
2020-04-23Merge "Fix refresh action"Christophe Closset2-2/+24
2020-04-23Fix refresh actionsebdet2-2/+24
Fix the refresh action so that it well retriggered cds call when required, otherwise the refresh button is useless + get out the cds code from service installer Issue-ID: CLAMP-818 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia5784d75e1bd158ff775674fe6bf0c2c39b55ad4
2020-04-22Guard policy clean upxuegao4-317/+5
Remove guard policy related code, so that it will not be shown or created in the legacy policy UI. Issue-ID: CLAMP-825 Change-Id: I6c654fef9fd9df810fd48600c91ffef96db371cd Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-20Fix the get statussebdet3-13/+41
The policy status goes to unknown because the status code returned is not good in some cases (failure with dcae comm) Issue-ID: CLAMP-827 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iae189f62b4c7061949ffd4c842465bf5e379b669
2020-04-16Remove policy from PEF when removing op policysebdet2-511/+583
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-15Fix bug in delete policy due to changesebdet1-1/+1
Fix the delete policy that now fails due to isLegacy test Issue-ID: CLAMP-820 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ib21ffd419953b329feeb7c2199b7d661120178e2
2020-04-15Merge "Fix legacy policy submit issues"Xue Gao2-261/+84
2020-04-14Merge "CDS attributes are not shown properly in UI"Sébastien Determe1-12/+18
2020-04-15Fix legacy policy submit issuessebdet2-261/+84
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-Huawei1-12/+18
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-01Rework the logssebdet1-111/+324
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-23Populate deployment parametersxuegao1-2/+2
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 bugsxuegao1-4/+4
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-16Fix the policy synchrosebdet1-2/+2
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 refreshsebdet1-9/+44
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 policiessebdet1-470/+451
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 convertersebdet2-0/+0
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 Gao2-15/+0
2020-03-13Merge "Add remove op policy option"Sébastien Determe1-0/+30
2020-03-13Add remove op policy optionxuegao1-0/+30
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 convertersebdet2-15/+0
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 convertersebdet1-0/+398
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 Gao1-0/+87
2020-03-09Rework tosca convertersebdet1-0/+87
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 Determe2-28/+195
2020-03-04Change json representation in op policysebdet2-25/+126
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-Huawei2-28/+195
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-03Rework tosca converterWeberLaurent1-0/+15
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-02Merge "Upload Tosca Model changes to remove policy model type parsing from ↵Sébastien Determe1-4/+3
UI. Dictionary API fix to allow bulk create or update of dictionary elements."
2020-02-27Fix bug in operational policysebdet3-28/+15
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 Sharma1-4/+3
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 controllersebdet1-2/+2
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 dialogsebdet1-1/+58
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 flowxuegao1-1/+35
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 changessebdet1-1/+1
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 managementsebdet2-6/+6
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 Uisebdet1-12/+91
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>