aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-24Add new delete policy endpointsebdet2-33/+104
Refactor the camel code so that the policy delete can be called "by loop" related flows and "by policy only" related flows. A new endpoint for policy deletion has been added as well. This one will be called by the UI Issue-ID: POLICY-2927 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3c4bd2e22200788360575aa61a0122b7ed4e608d
2021-02-24Fix the Junit issue for 6.0.1sebdet1-2/+3
Fix the Junit issue (tests not executed at all) in the release 6.0.1 + bump up Camel version to latest & Spring boot as well. Issue-ID: POLICY-3084 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I051cfadbdb360505c3979ef8ce02ab31d1089c13
2021-02-24Release docker 6.0.1sebdet1-0/+10
Release the docker frontend and backend 6.0.1 to nexus3 Issue-ID: POLICY-3084 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id1490bccc910270ab5cc56126d7d7c0835c24f9a
2021-02-24Release jar 6.0.1 and npmsebdet1-0/+5
Release the jar 6.0.1 and npm package to nexus Issue-ID: POLICY-3084 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ibfe238434499d750dac44a6d10978c11f10e7a53
2021-02-23Update clamp to 6.0.1sebdet6-41/+41
- Update to 6.0.1 so that images can be released next week - Fix classNotFound due to update of policy models libs from 2.3.5 to 2.4.0 (ToscaPolicyIdentifier renamed to ToscaConceptIddentifier and ToscaPolicyTypeIdentifier deleted) Issue-ID: POLICY-3084 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic2d3e6eb25f125ba472c77f0683081214680fafb Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-02-23Refactoring java packagessebdet4-8/+4
Get rid of *.target java package to avoid confusion with maven target folder Issue-ID: POLICY-3091 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id9501713bf13346b2842abffa7dd6b01b8e26206 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-02-22Merge "Change PAP Urls called"Gervais-Martial Ngueko2-4/+7
2021-02-22Rearrange the UI menusebdet2-29/+37
Rearrange the UI menu to improve the usability Issue-ID: POLICY-2925 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Icb56655b8b9300fa78d004a8fe88d64e54f42279 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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