aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-04-21Fix Sonar Crypto issuessebdet17-383/+105
Fix this problem by removing the CryptoUtils that could be replaced by AAF cadi call (this was already in place in the code). The OOM sdc controller password will have to be modified as well. Issue-ID: POLICY-3201 Issue-ID: POLICY-3200 Change-Id: I6dfd9abb691afb3548d4e68c8759351ad02a30da Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-04-21Fix 401 returned by PAPsebdet1-3/+2
The direct call from Policy clamp Ui to Pap returns 401 because UI info are forwarded by Camel Issue-ID: POLICY-3203 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id24b45afc05b2d308f6062b22d9e2b4a040f1d93
2021-04-21Merge "lifecycle state change"S�bastien Determe1-1/+1
2021-04-21Update Autogenerated Swaggersebdet4-6879/+13713
Update Swagger json/html and pdf + boot message for Istanbul Issue-ID: POLICY-3224 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ie4beddabba73bcba345372c788ab5597edc7afd5
2021-04-21Fix issue in log + Pdp payloadsebdet4-88/+66
Fix log issue that prevent the error to be reported properly + fix the pdp payload construction Issue-ID: POLICY-3205 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic80ea4f679719378fc8134f7282b361306d797b0
2021-04-21lifecycle state changeosgn422w1-1/+1
change lifecycle to Mature since it is part of Policy which is a mature project and has the diversity which prevented original CLAMP project to be mature Issue-ID: POLICY-3221 Change-Id: Ib684170d4929ecb7f5161e31b5b458b8b615b750 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2021-04-20Fix bug in pdp updat Uisebdet1-1/+1
Fix the bug in the pdp update UI, one wrong "test" was preventing the user to tick a pdp group and ask for a new deployment Issue-ID: POLICY-3204 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I4718e96767212e38496312e71072c3621a443fd3
2021-04-20Force issue in pdp dep to raise exceptionsebdet3-9/+13
Force the pdpDeployment call to raise exception in case of issues to have a better view of the problem in the prod Issue-ID: POLICY-3203 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I21ff763f9810bcfa68665f5105b0bff0e50b25ef
2021-04-16Fix Sonar security HotSpotsebdet4-15/+22
Fix sec issues reported by Sonar Issue-ID: POLICY-3200 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I6cdd3ff24d150333ab69e959bae39e3f0c30263f
2021-04-16Fix Sonar bugs & sec issuessebdet8-122/+141
Fix all bugs & sec issues reported by Sonar Issue-ID: POLICY-3200 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ifb3d0d3602586b8defb0826e799ef0e24742235c
2021-04-15Update dependenciessebdet30-557/+654
Update dependencies to remove some issues reported by Nexus-IQ. Issue-ID: POLICY-3169 Issue-ID: POLICY-3120 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia8939f0c85ac4087c3fc2c71b66914d6c7178347
2021-04-15Merge "Add new component to support Tree view"Gervais-Martial Ngueko4-132/+264
2021-04-14Add new component to support Tree viewsebdet4-132/+264
Add treeview component to show subset of policies by prefix (using .) Issue-ID: POLICY-3165 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I1365695f03086beda36a6bafddd9ad0f52944b6d
2021-04-09Use alternate repo for npmJim Hahn1-0/+1
Issue-ID: POLICY-3182 Change-Id: Ic5025fe29cb059f90405e0c7d96401a10b669588 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-07Modify the PolicyDeploymentEditor to support checkboxessebdet7-84/+164
Add code to the PolicyDeploymentEditor so that checkboxes are rendered. Issue-ID: POLICY-2931 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3c933272419770595b706f6950f821220a76f789
2021-04-07Rework the backend to support PDP updatessebdet11-97/+434
Rework Pdp payloads builder so that we can integrate different actions in the same batch + Add a new endpoint to support pdp payload&query to PEF from UI Issue-ID: POLICY-2930 Issue-ID: POLICY-2931 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3c933272419770595b706f6950f821220a76f778
2021-04-02Merge "Rework the backend to support PDP updates"S�bastien Determe16-265/+801
2021-04-01Rework the backend to support PDP updatessebdet16-265/+801
Add new mem structure so that we do not need to parse the same Json for each policy/type + rework the camel flows so that we use the same code for loop and policies related calls Issue-ID: POLICY-2930 Issue-ID: POLICY-2931 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3c30c4f87cf669b40511472d518fe5ccc89f56f0
2021-03-30Updated base image version for backendJim Hahn1-3/+3
Issue-ID: POLICY-3166 Change-Id: Iba91032c318f281c5f1733aa1bcdfdfdfbf03952 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-25Bump up to 6.1.0sebdet2-3/+3
Bump up the version on master branch to 6.1.0 for istanbul. Issue-ID: POLICY-3162 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: If45c7feb4c6d508ee3844dcbab652ae7737847ea
2021-03-19Policy/Clamp doc updateosgn422w2-20/+5
continue to update the documentation to reflect the merge of clamp into Policy framework Issue-ID: REQ-684 Change-Id: Ib8f22b171cda600c15940f42d08606fc06502325 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2021-03-16Policy/Clamp doc updateosgn422w4-61/+38
update the documentation to reflect the merge of clamp into Policy framework Issue-ID: REQ-684 Change-Id: I06391cb6468c15aba58bac18a5c042d05b6c8b9f Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2021-03-16Prepare for release 6.0.3sebdet2-2/+2
Bump up policy-clamp to 6.0.3 Issue-ID: POLICY-3140 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I2598d3afcaeb9ce2ac11318bd29e43f4b6b49076
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