summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-03-15Merge "Release docker in 6.0.2"S�bastien Determe1-0/+10
2021-03-15Release docker in 6.0.28.0.0-ONAPsebdet1-0/+10
Release the docker containers in 6.0.2 Issue-ID: POLICY-3123 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I569bb304233de0b90fcbca1dd7a46b0c60ba9c67
2021-03-15Release Jar/Npm in 6.0.2sebdet1-0/+5
Release the Jar and npm package in 6.0.2 Issue-ID: POLICY-3123 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I685c5c03bc8eb1f93169bc77d4e01fc35ef9acad
2021-03-15Add refresh & update libssebdet22-536/+630
Add refresh features to the policy list when changing it + update materials-Ui + update Json-editor libs to solve big lag in UI + Remove useless link in the menu + fix issue with build due to mariadb not started yet Issue-ID: POLICY-3131 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9bcb9558f213731a4ea8e20e186fb91c9db1b6f3
2021-03-15Fix the robot framework test chainsebdet3-5/+11
Freeze the robot framework docker version used to avoid unstable build + fix the second test + add logs to robot framework test so that the result is dumped to stdout. We can therefore analyze the issue directly in the clamp build log. Issue-ID: POLICY-3135 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia078a074fda7fa9bc4e6320408e86987fd8dd25d
2021-03-11Remove useless codesebdet9-730/+0
Remove useless code due to the changes done for the policy create feature. The tosca list can now be seen directly in the policy framework dialog Issue-ID: POLICY-3106 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I5fd61f28ed7071ceaf5729045983fc2d792bc9a4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-03-11Introduce a new json editor componentsebdet16-287/+664
Add this a new react component so that the json editor can be called within the policies table + Add the tosca tab + Fix for Submit operation in clamp-api-v2.xml Issue-ID: POLICY-3106 Issue-ID: POLICY-3124 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I18ab3a6034cac719525774f11b2c17f0a14bc2aa Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-03-08Add "delete policy" feature in UIsebdet3-71/+118
Add delete policy functionality (call to backend) + insert Policies array in a tabs for future policy create operation + Ask column names during export of the test db Issue-ID: POLICY-2929 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I4108c9fa2b986cc5aff11b8710bc6ad722c52f46 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-03-04Bump up clamp versionsebdet2-2/+2
Bump up to 6.0.2 to be ready for next policy-clamp release Issue-ID: POLICY-3123 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I669042d935697110991b0f889d5dee4de9a2ad9d
2021-03-04Merge "Add new delete policy endpoint"S�bastien Determe2-33/+104
2021-02-24Merge "Update info.yaml in clamp"Ram Krishna Verma1-2/+2
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-24Update info.yaml in clampRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: I893076e93f26285983673479f9f18795c4f91bd7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
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