policy/clamp.git
4 years agoFix Sonar security HotSpot 12/120612/3
sebdet [Fri, 16 Apr 2021 15:44:09 +0000 (17:44 +0200)]
Fix Sonar security HotSpot

Fix sec issues reported by Sonar

Issue-ID: POLICY-3200
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I6cdd3ff24d150333ab69e959bae39e3f0c30263f

4 years agoFix Sonar bugs & sec issues 79/120579/10
sebdet [Thu, 15 Apr 2021 17:43:27 +0000 (19:43 +0200)]
Fix Sonar bugs & sec issues

Fix all bugs & sec issues reported by Sonar

Issue-ID: POLICY-3200
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ifb3d0d3602586b8defb0826e799ef0e24742235c

4 years agoUpdate dependencies 52/120252/20
sebdet [Wed, 7 Apr 2021 08:10:45 +0000 (10:10 +0200)]
Update dependencies

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

4 years agoMerge "Add new component to support Tree view"
Gervais-Martial Ngueko [Thu, 15 Apr 2021 09:21:47 +0000 (09:21 +0000)]
Merge "Add new component to support Tree view"

4 years agoAdd new component to support Tree view 00/120000/9
sebdet [Mon, 29 Mar 2021 22:30:49 +0000 (00:30 +0200)]
Add new component to support Tree view

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

4 years agoUse alternate repo for npm 73/120373/1
Jim Hahn [Fri, 9 Apr 2021 18:50:26 +0000 (14:50 -0400)]
Use alternate repo for npm

Issue-ID: POLICY-3182
Change-Id: Ic5025fe29cb059f90405e0c7d96401a10b669588
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoModify the PolicyDeploymentEditor to support checkboxes 29/119929/14
sebdet [Fri, 26 Mar 2021 17:31:08 +0000 (18:31 +0100)]
Modify the PolicyDeploymentEditor to support checkboxes

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

4 years agoRework the backend to support PDP updates 65/119865/9
sebdet [Thu, 25 Mar 2021 17:19:29 +0000 (18:19 +0100)]
Rework the backend to support PDP updates

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

4 years agoMerge "Rework the backend to support PDP updates"
S�bastien Determe [Fri, 2 Apr 2021 08:59:06 +0000 (08:59 +0000)]
Merge "Rework the backend to support PDP updates"

4 years agoRework the backend to support PDP updates 01/119601/13
sebdet [Mon, 22 Mar 2021 17:55:46 +0000 (18:55 +0100)]
Rework the backend to support PDP updates

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

4 years agoUpdated base image version for backend 18/120018/2
Jim Hahn [Tue, 30 Mar 2021 14:37:14 +0000 (10:37 -0400)]
Updated base image version for backend

Issue-ID: POLICY-3166
Change-Id: Iba91032c318f281c5f1733aa1bcdfdfdfbf03952
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoBump up to 6.1.0 95/119795/1
sebdet [Thu, 25 Mar 2021 08:48:06 +0000 (09:48 +0100)]
Bump up to 6.1.0

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

4 years agoPolicy/Clamp doc update 40/119540/2
osgn422w [Fri, 19 Mar 2021 12:57:10 +0000 (13:57 +0100)]
Policy/Clamp doc update

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>
4 years agoPolicy/Clamp doc update 81/119381/3
osgn422w [Tue, 16 Mar 2021 15:27:47 +0000 (16:27 +0100)]
Policy/Clamp doc update

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>
4 years agoPrepare for release 6.0.3 56/119356/2
sebdet [Tue, 16 Mar 2021 09:08:02 +0000 (10:08 +0100)]
Prepare for release 6.0.3

Bump up policy-clamp to 6.0.3

Issue-ID: POLICY-3140
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I2598d3afcaeb9ce2ac11318bd29e43f4b6b49076

4 years agoMerge "Release docker in 6.0.2"
S�bastien Determe [Mon, 15 Mar 2021 22:35:51 +0000 (22:35 +0000)]
Merge "Release docker in 6.0.2"

4 years agoRelease docker in 6.0.2 42/119342/2 8.0.0-ONAP
sebdet [Mon, 15 Mar 2021 21:32:09 +0000 (22:32 +0100)]
Release docker in 6.0.2

Release the docker containers in 6.0.2

Issue-ID: POLICY-3123
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I569bb304233de0b90fcbca1dd7a46b0c60ba9c67

4 years agoRelease Jar/Npm in 6.0.2 41/119341/2
sebdet [Mon, 15 Mar 2021 21:31:20 +0000 (22:31 +0100)]
Release Jar/Npm in 6.0.2

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

4 years agoAdd refresh & update libs 67/119267/8
sebdet [Fri, 12 Mar 2021 18:30:22 +0000 (19:30 +0100)]
Add refresh & update libs

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

4 years agoFix the robot framework test chain 29/119329/1
sebdet [Mon, 15 Mar 2021 14:58:30 +0000 (15:58 +0100)]
Fix the robot framework test chain

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

4 years agoRemove useless code 24/118824/11
sebdet [Thu, 4 Mar 2021 17:01:26 +0000 (18:01 +0100)]
Remove useless code

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>
4 years agoIntroduce a new json editor component 22/118622/25
sebdet [Fri, 26 Feb 2021 18:14:03 +0000 (19:14 +0100)]
Introduce a new json editor component

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>
4 years agoAdd "delete policy" feature in UI 07/118507/7
sebdet [Thu, 25 Feb 2021 12:58:36 +0000 (13:58 +0100)]
Add "delete policy" feature in UI

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>
4 years agoBump up clamp version 92/118792/2
sebdet [Thu, 4 Mar 2021 13:57:22 +0000 (14:57 +0100)]
Bump up clamp version

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

4 years agoMerge "Add new delete policy endpoint"
S�bastien Determe [Thu, 4 Mar 2021 07:13:55 +0000 (07:13 +0000)]
Merge "Add new delete policy endpoint"

4 years agoMerge "Update info.yaml in clamp"
Ram Krishna Verma [Wed, 24 Feb 2021 19:18:41 +0000 (19:18 +0000)]
Merge "Update info.yaml in clamp"

4 years agoAdd new delete policy endpoint 41/118241/4
sebdet [Tue, 23 Feb 2021 13:51:54 +0000 (14:51 +0100)]
Add new delete policy endpoint

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

4 years agoUpdate info.yaml in clamp 06/118406/1
Ram Krishna Verma [Wed, 24 Feb 2021 15:47:46 +0000 (10:47 -0500)]
Update info.yaml in clamp

Issue-ID: POLICY-3028
Change-Id: I893076e93f26285983673479f9f18795c4f91bd7
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoFix the Junit issue for 6.0.1 81/118381/4
sebdet [Wed, 24 Feb 2021 14:27:14 +0000 (15:27 +0100)]
Fix the Junit issue for 6.0.1

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

4 years agoRelease docker 6.0.1 48/118348/2
sebdet [Wed, 24 Feb 2021 08:30:35 +0000 (09:30 +0100)]
Release docker 6.0.1

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

4 years agoRelease jar 6.0.1 and npm 47/118347/2
sebdet [Wed, 24 Feb 2021 08:29:36 +0000 (09:29 +0100)]
Release jar 6.0.1 and npm

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

4 years agoUpdate clamp to 6.0.1 01/118101/7
sebdet [Fri, 19 Feb 2021 13:07:05 +0000 (14:07 +0100)]
Update clamp to 6.0.1

- 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>
4 years agoRefactoring java packages 35/118235/3
sebdet [Tue, 23 Feb 2021 12:31:22 +0000 (13:31 +0100)]
Refactoring java packages

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>
4 years agoMerge "Change PAP Urls called"
Gervais-Martial Ngueko [Mon, 22 Feb 2021 18:21:52 +0000 (18:21 +0000)]
Merge "Change PAP Urls called"

4 years agoRearrange the UI menu 03/118103/5
sebdet [Fri, 19 Feb 2021 13:40:00 +0000 (14:40 +0100)]
Rearrange the UI menu

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>
4 years agoChange PAP Urls called 15/118115/1
sebdet [Fri, 19 Feb 2021 15:32:47 +0000 (16:32 +0100)]
Change PAP Urls called

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

4 years agoAdd code in UI to create new policy version 88/117988/2
sebdet [Wed, 17 Feb 2021 16:53:17 +0000 (17:53 +0100)]
Add code in UI to create new policy version

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

4 years agoIntroduce a new endpoint to create policy 01/117901/2
sebdet [Tue, 16 Feb 2021 13:53:43 +0000 (14:53 +0100)]
Introduce a new endpoint to create policy

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

4 years agoImprove the policy list react component 60/117860/2
sebdet [Mon, 15 Feb 2021 17:09:38 +0000 (18:09 +0100)]
Improve the policy list react component

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

4 years agoFix the Tosca Converter to Json Schema 35/117835/2
sebdet [Mon, 15 Feb 2021 10:02:18 +0000 (11:02 +0100)]
Fix the Tosca Converter to Json Schema

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

4 years agoModify Backend for listing the policies 04/117804/6
sebdet [Fri, 12 Feb 2021 16:18:47 +0000 (17:18 +0100)]
Modify Backend for listing the policies

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>
4 years agoMerge "Add New UI component for policies list"
S�bastien Determe [Wed, 17 Feb 2021 13:50:53 +0000 (13:50 +0000)]
Merge "Add New UI component for policies list"

4 years agoSwitching parent to stable 42/117942/2
sebdet [Wed, 17 Feb 2021 11:01:01 +0000 (12:01 +0100)]
Switching parent to stable

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

4 years agoAdd New UI component for policies list 93/117093/13
sebdet [Sun, 24 Jan 2021 17:12:36 +0000 (18:12 +0100)]
Add New UI component for policies list

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>
4 years agoAdd .checkstyle to .gitignore 85/117785/1
liamfallon [Wed, 10 Feb 2021 17:24:00 +0000 (17:24 +0000)]
Add .checkstyle to .gitignore

.checkstyle files should not be checked in.

Issue-ID: POLICY-2971
Change-Id: I0cd0a6558ea7e282a5dce4868fead1784362e555
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoAdd new Camel route 89/117089/5
sebdet [Sun, 24 Jan 2021 15:40:18 +0000 (16:40 +0100)]
Add new Camel route

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

4 years agoRemove test usage of the AAF certificate 93/117593/5
sebdet [Mon, 8 Feb 2021 13:36:11 +0000 (14:36 +0100)]
Remove test usage of the AAF certificate

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>
4 years agoPolicy list and Pdpgroup merger code 73/117073/6
sebdet [Fri, 22 Jan 2021 16:26:04 +0000 (17:26 +0100)]
Policy list and Pdpgroup merger code

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>
4 years agoMerge "First integration of Policy model PdpGroups"
Jorge Hernandez [Fri, 22 Jan 2021 14:55:52 +0000 (14:55 +0000)]
Merge "First integration of Policy model PdpGroups"

4 years agoFirst integration of Policy model PdpGroups 29/117029/13
sebdet [Wed, 20 Jan 2021 22:02:17 +0000 (23:02 +0100)]
First integration of Policy model PdpGroups

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>
4 years agoMerge "Add policies list and PDP responses in the emulator"
Gervais-Martial Ngueko [Thu, 21 Jan 2021 18:23:46 +0000 (18:23 +0000)]
Merge "Add policies list and PDP responses in the emulator"

4 years agoAdd policies list and PDP responses in the emulator 12/116912/2
sebdet [Fri, 15 Jan 2021 14:14:02 +0000 (15:14 +0100)]
Add policies list and PDP responses in the emulator

- 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

4 years agoRelease 6.0.0 92/116892/3
sebdet [Thu, 14 Jan 2021 20:57:48 +0000 (21:57 +0100)]
Release 6.0.0

Release docker policy-clamp 6.0.0

Issue-ID: POLICY-2949
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Iee1383eb086bffa2becc458b5542a359be0c4c0b

4 years agoMerge "Release 6.0.0"
Christophe Closset [Fri, 15 Jan 2021 14:32:07 +0000 (14:32 +0000)]
Merge "Release 6.0.0"

4 years agoRelease 6.0.0 91/116891/2
sebdet [Thu, 14 Jan 2021 20:57:37 +0000 (21:57 +0100)]
Release 6.0.0

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>
4 years agoFix the gitreview 97/116897/2
sebdet [Fri, 15 Jan 2021 07:39:17 +0000 (08:39 +0100)]
Fix the gitreview

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

4 years agoFix sonar 61/116861/1
sebdet [Thu, 14 Jan 2021 10:09:16 +0000 (11:09 +0100)]
Fix sonar

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

4 years agoRevert artifact name 95/116795/1
sebdet [Wed, 13 Jan 2021 16:04:04 +0000 (17:04 +0100)]
Revert artifact name

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

4 years agoAlign Ui code for the policy move 84/116784/1
sebdet [Wed, 13 Jan 2021 10:53:48 +0000 (11:53 +0100)]
Align Ui code for the policy move

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>
4 years agoFix creation date in INFO.yaml 93/116693/2
sebdet [Fri, 8 Jan 2021 10:57:58 +0000 (11:57 +0100)]
Fix creation date in INFO.yaml

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

4 years agoMerge "Remove previous releases + fix clamp leftovers"
Christophe Closset [Fri, 8 Jan 2021 09:44:23 +0000 (09:44 +0000)]
Merge "Remove previous releases + fix clamp leftovers"

4 years agoRemove previous releases + fix clamp leftovers 36/116636/4
sebdet [Wed, 6 Jan 2021 16:24:18 +0000 (17:24 +0100)]
Remove previous releases + fix clamp leftovers

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>
4 years agoUpdate INFO.yaml in policy/clamp repo 33/116633/6
liamfallon [Wed, 6 Jan 2021 16:03:42 +0000 (16:03 +0000)]
Update INFO.yaml in policy/clamp repo

Issue-ID: POLICY-2922
Change-Id: I753bbf5e871350a45af9231ab7d1ec8a444d0b24
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoMerge "Change the java package name"
Christophe Closset [Tue, 5 Jan 2021 17:04:59 +0000 (17:04 +0000)]
Merge "Change the java package name"

4 years agoMerge "Align the clamp code on policy project"
Christophe Closset [Tue, 5 Jan 2021 17:03:41 +0000 (17:03 +0000)]
Merge "Align the clamp code on policy project"

4 years agoChange the java package name 10/116310/4
sebdet [Fri, 11 Dec 2020 12:11:18 +0000 (13:11 +0100)]
Change the java package name

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>
4 years agoAlign the clamp code on policy project 89/116289/2
sebdet [Thu, 10 Dec 2020 14:10:15 +0000 (15:10 +0100)]
Align the clamp code on policy project

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>
4 years agoBump up policy clamp to 6.0.0 79/116579/2
sebdet [Tue, 5 Jan 2021 09:18:42 +0000 (10:18 +0100)]
Bump up policy clamp to 6.0.0

Bump up the major clamp version to 6

Issue-ID: POLICY-2949
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia5274cb456effb0766776efb1444fa7f2a70db46

4 years agoUpgrade robotframework docker image 81/116581/2
sebdet [Tue, 5 Jan 2021 10:54:01 +0000 (11:54 +0100)]
Upgrade robotframework docker image

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

4 years agoMerge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21108/clamp
Jessica Wagantall [Tue, 8 Dec 2020 17:33:13 +0000 (09:33 -0800)]
Merge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21108/clamp

Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoInitial empty repository
LF Jenkins CI [Thu, 3 Dec 2020 17:39:08 +0000 (17:39 +0000)]
Initial empty repository

4 years agocorrect formatting
osgn422w [Tue, 17 Nov 2020 13:38:28 +0000 (14:38 +0100)]
correct formatting

correct formatting of release container list

Issue-ID: CLAMP-976

Change-Id: I7b0586a0cbff5a70ed3fcc67471d8c5bd6039c55
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
4 years agoadd Guilin note
osgn422w [Mon, 16 Nov 2020 13:51:45 +0000 (14:51 +0100)]
add Guilin note

add guilin release note information

Issue-ID: CLAMP-976

Change-Id: Ifbed6172d595aa8741eddcd9973bbdb82d2c3edb
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
4 years agoRelease 5.1.5
sebdet [Tue, 10 Nov 2020 13:23:11 +0000 (14:23 +0100)]
Release 5.1.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: I55c5c74fcfd2225079a30585b96ffc660cd325a6

4 years agoRelease 5.1.5
sebdet [Tue, 10 Nov 2020 13:23:01 +0000 (14:23 +0100)]
Release 5.1.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

4 years agoUpdate clamp to 5.1.5
sebdet [Mon, 9 Nov 2020 11:01:57 +0000 (12:01 +0100)]
Update clamp to 5.1.5

Prepare to release 5.1.5 for rc2

Issue-ID: CLAMP-978
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I36d61420fb2f572336874c41b32ab65e3a219d42

4 years agoFix blueprint installation
sebdet [Mon, 9 Nov 2020 10:57:47 +0000 (11:57 +0100)]
Fix blueprint installation

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

4 years agoRelease 5.1.4
sebdet [Fri, 23 Oct 2020 13:59:55 +0000 (15:59 +0200)]
Release 5.1.4

Release 5.1.4 to release cred fix

Issue-ID: CLAMP-956
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I598a1bd1f8a4f9ee9c8dbaa05220fafacac3af4b

4 years agoRelease 5.1.4
sebdet [Fri, 23 Oct 2020 13:59:45 +0000 (15:59 +0200)]
Release 5.1.4

Release 5.1.4 to release cred fix

Issue-ID: CLAMP-956
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Id5213b7394eb465acfb7c0af30dd4e90d758739b

4 years agoFix the AAF login
sebdet [Fri, 23 Oct 2020 12:32:24 +0000 (14:32 +0200)]
Fix the AAF login

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

4 years agoFix the AAF login
sebdet [Fri, 23 Oct 2020 11:28:25 +0000 (13:28 +0200)]
Fix the AAF login

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

4 years agoRelease 5.1.4
sebdet [Thu, 15 Oct 2020 11:26:04 +0000 (13:26 +0200)]
Release 5.1.4

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

4 years agoFix creds issue with AAF
sebdet [Thu, 15 Oct 2020 09:40:17 +0000 (11:40 +0200)]
Fix creds issue with AAF

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>
4 years agoRelease 5.1.3
sebdet [Mon, 12 Oct 2020 13:51:19 +0000 (15:51 +0200)]
Release 5.1.3

Release 5.1.3 for RC0

Issue-ID: CLAMP-953
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I29e7b6feee4957f4e4f08c6aa1b72568ba417d92

4 years agoRelease 5.1.3
sebdet [Mon, 12 Oct 2020 13:50:09 +0000 (15:50 +0200)]
Release 5.1.3

Release 5.1.3 for RC0

Issue-ID: CLAMP-953
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I2325eb985b08fdd4d76c7b76c0b08edfa66bb2b2

4 years agoFix sdc notif when already_deployed
sebdet [Mon, 12 Oct 2020 12:31:49 +0000 (14:31 +0200)]
Fix sdc notif when already_deployed

Send also a notif when the deployment has already been done

Issue-ID: CLAMP-955
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic58a93d44506928166500d801891ebe8044adf28

4 years agoSend sdc notifs
sebdet [Mon, 12 Oct 2020 10:12:03 +0000 (12:12 +0200)]
Send sdc notifs

Send the right COMPONENT_DONE_OK/COMPONENT_DONE_ERROR to SDC when transaction is complete, so that user can see that in the sdc UI.

Issue-ID: CLAMP-955
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I2632f721819cf612a6816bd6caf5d961df6b3106
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix the DCAE query
sebdet [Fri, 9 Oct 2020 14:32:12 +0000 (16:32 +0200)]
Fix the DCAE query

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>
4 years agoMerge "Release 5.1.3"
Christophe Closset [Thu, 8 Oct 2020 13:49:20 +0000 (13:49 +0000)]
Merge "Release 5.1.3"

4 years agoRelease 5.1.3
sebdet [Thu, 8 Oct 2020 13:27:44 +0000 (15:27 +0200)]
Release 5.1.3

Do the release 5.1.3

Issue-ID: CLAMP-953
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I1bd3cbf04cf3718ea4b69a7a0ce07270985ad89b

4 years agoFix issue with isLegacy()
sebdet [Thu, 8 Oct 2020 13:11:07 +0000 (15:11 +0200)]
Fix issue with isLegacy()

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

4 years agoMerge "Release 5.1.2"
Gervais-Martial Ngueko [Wed, 30 Sep 2020 17:34:43 +0000 (17:34 +0000)]
Merge "Release 5.1.2"

4 years agoMerge "Release 5.1.2"
Gervais-Martial Ngueko [Wed, 30 Sep 2020 17:34:28 +0000 (17:34 +0000)]
Merge "Release 5.1.2"

4 years agoRelease 5.1.2
sebdet [Wed, 30 Sep 2020 17:03:08 +0000 (19:03 +0200)]
Release 5.1.2

Release 5.1.2 to fix the clamp image

Issue-ID: CLAMP-949
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I5e4d950ad898ac1c2e0b45d1d3849db6f2c317f4

4 years agoRelease 5.1.2
sebdet [Wed, 30 Sep 2020 16:57:36 +0000 (18:57 +0200)]
Release 5.1.2

Release 5.1.2 to fix the clamp image

Issue-ID: CLAMP-949
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I5afc20099c278d20511e0e4a242d7c836ba6745c

4 years agoMerge "Release 5.1.2"
Gervais-Martial Ngueko [Wed, 30 Sep 2020 16:44:01 +0000 (16:44 +0000)]
Merge "Release 5.1.2"

4 years agoRelease 5.1.2
sebdet [Wed, 30 Sep 2020 12:58:33 +0000 (14:58 +0200)]
Release 5.1.2

Release 5.1.2 to fix the clamp image

Issue-ID: CLAMP-949
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I5606a574b8f017d7ce3d129bbdea09a68ef4e5bf

4 years agoAlign clamp path
sebdet [Wed, 30 Sep 2020 09:55:02 +0000 (11:55 +0200)]
Align clamp path

Align clamp path to what has been developed in OOM

Issue-ID: CLAMP-943
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I75b15d2e817b863d6482d422437939986c5be476

4 years agoMerge "Release 5.1.1"
Gervais-Martial Ngueko [Mon, 28 Sep 2020 15:05:33 +0000 (15:05 +0000)]
Merge "Release 5.1.1"

4 years agoRelease 5.1.1
sebdet [Mon, 28 Sep 2020 14:10:23 +0000 (16:10 +0200)]
Release 5.1.1

Do the release 5.1.1 to deliver new containers with new image (integration one based alpine-JDK 11)

Issue-ID: CLAMP-949
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Iae44add2e8df3ec002bc87379b29d7f16543fb53