summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-19Change PAP Urls calledsebdet2-4/+7
Due to the changes done on the PAP Url (+return code), the camel flows must be adapted. There is no change required for the return code PAP change as Camel already catches all non 2XX code. Issue-ID: POLICY-3068 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I77549f944d28acd5e39e4d9e7e47688146db3681
2021-02-19Add code in UI to create new policy versionsebdet5-120/+219
Add code to call the policy create backend endpoint + alert box to show status of the creation + Fix backend + Issue-ID: POLICY-2928 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia8f2506ecc692ad68111ebe7a55a92579b951908
2021-02-18Introduce a new endpoint to create policysebdet8-141/+317
One first part of the update is to create a policy version from an existing one (this is similar as the create new policy). The policy-flow.xml has been refactored so that the same policy query is done for policies and loop related flows. A code has been added to remove fields from the UI that could be present (the PDP group info json enrichment) Issue-ID: POLICY-2926 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia60c656a9b5100296042d3346d5c97c8dad5d041
2021-02-18Improve the policy list react componentsebdet1-12/+75
Add feature to the new policy list component, like grouping, sorting, CSV export, add delete/update button for future use Issue-ID: POLICY-2925 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I5f6141eca43d750a7e8e8edf9b59cc6b1e53f0bb
2021-02-17Fix the Tosca Converter to Json Schemasebdet4-5/+25
The backend had to be slightly fixed so that the json generation without being in a loop is not an issue. This is required for the policies listing feature Issue-ID: POLICY-2926 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia6a9e034f888384999a8ea557ce550c87c65c4be
2021-02-17Modify Backend for listing the policiessebdet27-66/+479
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-17Merge "Add New UI component for policies list"S�bastien Determe17-881/+1427
2021-02-17Switching parent to stablesebdet1-1/+1
Removing the parent snapshot as the build is not reproductible if the snapshost changes. Moreover a change occurred and the tests are even not executed. Issue-ID: POLICY-3073 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I1be96ea0b4cd8f721b17c623a62a1892dcf05062
2021-02-15Add New UI component for policies listsebdet17-881/+1427
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-12Add .checkstyle to .gitignoreliamfallon1-0/+1
.checkstyle files should not be checked in. Issue-ID: POLICY-2971 Change-Id: I0cd0a6558ea7e282a5dce4868fead1784362e555 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-02-08Add new Camel routesebdet15-1476/+1824
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 certificatesebdet8-91/+88
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 codesebdet11-231/+541
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-22Merge "First integration of Policy model PdpGroups"Jorge Hernandez14-1672/+1519
2021-01-22First integration of Policy model PdpGroupssebdet14-1672/+1519
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-21Merge "Add policies list and PDP responses in the emulator"Gervais-Martial Ngueko11-36/+716
2021-01-15Add policies list and PDP responses in the emulatorsebdet11-36/+716
- Add some specific answers to the emulator so that the backend list code can be tested - add guilin tca blueprint to the integration tests so that the test.sql contains a new template. Issue-ID: POLICY-2924 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I716cfbaa1a084df1455da25470d86b903ef7c936
2021-01-15Release 6.0.0sebdet1-0/+10
Release docker policy-clamp 6.0.0 Issue-ID: POLICY-2949 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iee1383eb086bffa2becc458b5542a359be0c4c0b
2021-01-15Merge "Release 6.0.0"Christophe Closset1-0/+5
2021-01-15Release 6.0.0sebdet1-0/+5
Release jar and NPM policy-clamp 6.0.0 Issue-ID: POLICY-2949 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9c8caa6702c5696771c394d17a7a5e0d7e5dc6cc Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-01-15Fix the gitreviewsebdet2-2/+3
Fix the gitreview + gitignore for folder target existing in the source code Issue-ID: POLICY-3004 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ibc1903168a0717d4453fb4b976bd9e359242026f
2021-01-14Fix sonarsebdet3-3/+4
Fix sonar report by re-enabling the jacoco in integration test phase (this is set in the policy integration parent) Issue-ID: POLICY-2922 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I283aca6bc0e8b2518b72854fad0289bbc082b78d
2021-01-13Revert artifact namesebdet1-1/+1
Revert artifact name to clamp instead of policy-clamp Issue-ID: POLICY-2922 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3ff4a655c8458b160ff5c49f1d6f556640947f85
2021-01-13Align Ui code for the policy movesebdet3-8/+8
Change package.json to update the clamp to policy-clamp Issue-ID: POLICY-2922 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3cdc63c39a77cf4f8b2f285a68a3d2ac58e3f8b9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-01-08Fix creation date in INFO.yamlsebdet1-1/+1
Fix the creation and set it to the right repo creation date Issue-ID: POLICY-2922 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8ae44e8449130e364b4230c255ee0e6605418043
2021-01-08Merge "Remove previous releases + fix clamp leftovers"Christophe Closset39-400/+171
2021-01-07Remove previous releases + fix clamp leftoverssebdet39-400/+171
Remove clamp releases from that new policy project and fix also additional clamp leftovers Issue-ID: POLICY-2922 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I25cc246c4ec6b44dd105b03800c915c9c05c5f0b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-01-07Update INFO.yaml in policy/clamp repoliamfallon1-20/+66
Issue-ID: POLICY-2922 Change-Id: I753bbf5e871350a45af9231ab7d1ec8a444d0b24 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-01-05Merge "Change the java package name"Christophe Closset209-2444/+2446
2021-01-05Merge "Align the clamp code on policy project"Christophe Closset73-229/+153
2021-01-05Change the java package namesebdet209-2444/+2446
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>
2021-01-05Align the clamp code on policy projectsebdet73-229/+153
Inherit from the policy integration parent + fix all checkstyle issues detected by policy checkstyle (google) config Issue-ID: POLICY-2922 Change-Id: I616846bbda8bb0f6250a842c248836c40e1068cf Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-01-05Bump up policy clamp to 6.0.0sebdet2-4/+4
Bump up the major clamp version to 6 Issue-ID: POLICY-2949 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia5274cb456effb0766776efb1444fa7f2a70db46
2021-01-05Upgrade robotframework docker imagesebdet1-8/+4
Upgrade the robot framework docker image used by the ITs so that it uses the python3 instead of the python2. Issue-ID: POLICY-2950 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I314feb5981a75678b4f51fa4637a0410f85b3fcc
2020-12-08Merge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21108/clampJessica Wagantall507-0/+120037
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-12-03Initial empty repositoryLF Jenkins CI0-0/+0
2020-11-17correct formattingosgn422w1-5/+5
correct formatting of release container list Issue-ID: CLAMP-976 Change-Id: I7b0586a0cbff5a70ed3fcc67471d8c5bd6039c55 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2020-11-16add Guilin noteosgn422w1-1/+48
add guilin release note information Issue-ID: CLAMP-976 Change-Id: Ifbed6172d595aa8741eddcd9973bbdb82d2c3edb Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2020-11-10Release 5.1.5sebdet1-0/+10
Do official release 5.1.5 for clamp RC2 Issue-ID: CLAMP-978 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I55c5c74fcfd2225079a30585b96ffc660cd325a6
2020-11-10Release 5.1.5sebdet1-0/+5
Do official release 5.1.5 for clamp RC2 Issue-ID: CLAMP-978 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I4f6db87a548697d4e13cf0b622ffd6fb46523496
2020-11-09Update clamp to 5.1.5sebdet2-2/+2
Prepare to release 5.1.5 for rc2 Issue-ID: CLAMP-978 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I36d61420fb2f572336874c41b32ab65e3a219d42
2020-11-09Fix blueprint installationsebdet5-30/+239
This fix crashes the blueprint installation when it contains a link to a microservice that does not exist in the policy engine. Issue-ID: CLAMP-977 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I659d864d202d9d77ef14560b1391397196ae1fbe
2020-10-23Release 5.1.4sebdet1-0/+10
Release 5.1.4 to release cred fix Issue-ID: CLAMP-956 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I598a1bd1f8a4f9ee9c8dbaa05220fafacac3af4b
2020-10-23Release 5.1.4sebdet1-0/+5
Release 5.1.4 to release cred fix Issue-ID: CLAMP-956 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id5213b7394eb465acfb7c0af30dd4e90d758739b
2020-10-23Fix the AAF loginsebdet1-6/+7
Current code does not check the right Principal class name Issue-ID: CLAMP-956 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I779d6c15ae7fc0240becf106ed40cd3c0b80f22e
2020-10-23Fix the AAF loginsebdet1-1/+1
Current code does not check the right Principal class name Issue-ID: CLAMP-956 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia69c68c7dfa69ce385ff2844e557fed722ae1bb6
2020-10-15Release 5.1.4sebdet2-2/+2
Release 5.1.4 to fix the creds login problem with aaf Issue-ID: CLAMP-956 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I0e5149577bc0d3bdeceb072dcc4e8b1c2b860ed4
2020-10-15Fix creds issue with AAFsebdet7-19/+16
Fix the permissions not returned by AAF due to wrong code the clamp servlet. Issue-ID: CLAMP-956 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I06fac82fb04421f154b67b625e910853ade8583f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-10-12Release 5.1.3sebdet1-0/+5
Release 5.1.3 for RC0 Issue-ID: CLAMP-953 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I29e7b6feee4957f4e4f08c6aa1b72568ba417d92
2020-10-12Release 5.1.3sebdet1-0/+10
Release 5.1.3 for RC0 Issue-ID: CLAMP-953 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I2325eb985b08fdd4d76c7b76c0b08edfa66bb2b2