policy/distribution.git
2 years agoAdd automation for s3p tests 99/136199/1
saul.gill [Mon, 16 Oct 2023 16:21:15 +0000 (17:21 +0100)]
Add automation for s3p tests

Issue-ID: POLICY-4844
Change-Id: Ia6003d5b492d2731fdd0d17342b4fd1c213c4b91
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoRemove AAF references from distribution. 57/136157/2
adheli.tavares [Thu, 12 Oct 2023 12:07:28 +0000 (13:07 +0100)]
Remove AAF references from distribution.

Issue-ID: POLICY-4592
Change-Id: Ifa924a99a9429494052a1d36d4b7480b9ddce37d
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoUpgrade Java 17 10/136010/1
adheli.tavares [Mon, 21 Aug 2023 13:35:56 +0000 (14:35 +0100)]
Upgrade Java 17

Issue-ID: POLICY-4803
Change-Id: Iad0d08ee6f8ab18eb177b458d8edbba4002bcc73
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoRemoved db-based statistics feature 86/134786/2
Suresh Charan [Thu, 8 Jun 2023 00:57:51 +0000 (20:57 -0400)]
Removed db-based statistics feature

DB-based statistics code cleanup

Issue-ID: POLICY-4109
Change-Id: I298d6c1df6916e399694b4f98e4ef5355deb16af
Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
2 years agoSet all cross references of policy/distribution 65/134665/1
liamfallon [Thu, 25 May 2023 09:46:52 +0000 (10:46 +0100)]
Set all cross references of policy/distribution

policy/distribution updated with correct cross references

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4662
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I80da14b86d08a45f0e3ecada0b706ea8da370d4f

2 years agoSet snapshot and/or references of policy/distribution for new release 51/134651/1
liamfallon [Thu, 25 May 2023 08:41:26 +0000 (09:41 +0100)]
Set snapshot and/or references of policy/distribution for new release

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4662
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I652094623e443ec4550172f239e20d36fdc8cace

2 years agoAdd Adheli Tavares as a committer 12/134412/2
liamfallon [Tue, 2 May 2023 11:11:17 +0000 (12:11 +0100)]
Add Adheli Tavares as a committer

Add Adheli Tavares as a committer

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4653
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If0aeddda963ab53921130f4fd4c224c31b57ac0b

2 years agoUpdate snapshot and/or references of policy/distribution to latest snapshots 50/134350/1
Suresh Charan [Tue, 25 Apr 2023 16:13:11 +0000 (12:13 -0400)]
Update snapshot and/or references of policy/distribution to latest snapshots

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4648
Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
Change-Id: Iec90307b766a6a691ce95d3c478ae15777054181

2 years agoRelease docker images for policy/distribution: 2.9.2 41/134341/1
Suresh Charan [Tue, 25 Apr 2023 15:43:58 +0000 (11:43 -0400)]
Release docker images for policy/distribution: 2.9.2

This commit releases docker images for repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4648
Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
Change-Id: I3c2f67f0efd5592f2b890c9a2f98d833f4ee6f2f

2 years agoRelease policy/distribution: 2.9.2 31/134331/1
rameshiyer27 [Tue, 25 Apr 2023 13:41:24 +0000 (14:41 +0100)]
Release policy/distribution: 2.9.2

This commit releases repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4648
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: I5c6bc1469bb50a35a2649091d84ec8948b7ffd38

2 years agoupdate references in policy/distribution pom 20/134320/1
rameshiyer27 [Tue, 25 Apr 2023 08:47:36 +0000 (09:47 +0100)]
update references in policy/distribution pom

updated references in the policy/distribution pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4648
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: Id6f4c94d6ed44422528df4b4e89d4e8ccc95d39a

2 years agoUpdate for SNI Chcecking 63/133663/1
liamfallon [Tue, 14 Mar 2023 17:17:50 +0000 (17:17 +0000)]
Update for SNI Chcecking

SNI checking is now supproted in Jersey.

Issue-ID: POLICY-4474
Change-Id: Ifd6aa0718e0d3fcb7eec49f19fac7ab5065f54b5
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpdate snapshot and/or references of policy/distribution to latest snapshots 99/133499/1
saul.gill [Wed, 1 Mar 2023 12:38:10 +0000 (12:38 +0000)]
Update snapshot and/or references of policy/distribution to latest snapshots

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: Ie61d2fd4b5d83aa75fdcb252bc3400f3c78b1db6

2 years agoRelease docker images for policy/distribution: 2.9.1 91/133491/1
saul.gill [Wed, 1 Mar 2023 11:51:49 +0000 (11:51 +0000)]
Release docker images for policy/distribution: 2.9.1

This commit releases docker images for repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: Iee2395872dde7e78f69fda442955a01d0e0ed099

2 years agoRelease policy/distribution: 2.9.1 70/133470/1
saul.gill [Tue, 28 Feb 2023 16:34:32 +0000 (16:34 +0000)]
Release policy/distribution: 2.9.1

This commit releases repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: Ia099a7680ef55aa7a0c2a0701237a76fa3c74a9e

2 years agoupdate references in policy/distribution pom 67/133467/1
saul.gill [Tue, 28 Feb 2023 15:42:07 +0000 (15:42 +0000)]
update references in policy/distribution pom

updated references in the policy/distribution pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: I5d2cd95c98c3e9f3daab0c64ea59f0baf2e8cd05

2 years agoClean up dependencies for London Release 26/133326/2
liamfallon [Fri, 17 Feb 2023 19:15:46 +0000 (19:15 +0000)]
Clean up dependencies for London Release

Issue-ID: POLICY-4482
Change-Id: I82e290e5adf00831421f28f474b88c0f0e721f9f
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpdate Dockerfile for PF base image 78/133278/1
liamfallon [Tue, 14 Feb 2023 11:35:40 +0000 (11:35 +0000)]
Update Dockerfile for PF base image

The Policy Framework base image run under the "onap" user rather than
under the "root" user. This means that root access has to be enabled in
child Dockerfiles for configuraiton that requires root access.

Root access is turned off again later in the Dockerfile so that the
image will run under another user.

Issue-ID: POLICY-4558
Change-Id: I2c4268e78219a77991c7e0dcdea49e193cc873cd
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpgrade and clean up dependencies 82/133082/1
liamfallon [Tue, 31 Jan 2023 10:46:37 +0000 (10:46 +0000)]
Upgrade and clean up dependencies

- Upgrade Hibernate
- Upgrade Mockito
- Upgrade Mockserver
- Remove Powermock (no longer supported) and replace with spring-test ReflectionTestUtils
- Upgrade Spring Framework
- Add spring-security to allow authentication on unit tests using MockMVC

Minor clean-up
- Replace deprecated authorization configuraiton on spring boot applications with SecurityFilterChain bean
- Change @LocalPort include on tests to use test include rather than runtime include
- Remove unused imports
- Remove unused constants and variables
- Add deprecation annotations where required

Issue-ID: POLICY-4482
Change-Id: I29724050290e283670a21e16cb69743b0be18e7a
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpdate snapshot and/or references of policy/distribution to latest snapshots 66/132766/1
liamfallon [Thu, 15 Dec 2022 16:19:51 +0000 (16:19 +0000)]
Update snapshot and/or references of policy/distribution to latest snapshots

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I1024bd52eee2ece83698ff596152a4f895070def

2 years agoRelease docker images for policy/distribution: 2.9.0 60/132760/1
liamfallon [Thu, 15 Dec 2022 15:38:25 +0000 (15:38 +0000)]
Release docker images for policy/distribution: 2.9.0

This commit releases docker images for repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I6d966d547f6ae2a75dac8b69ae965d33d271fef9

2 years agoRelease policy/distribution: 2.9.0 51/132751/1
liamfallon [Thu, 15 Dec 2022 14:12:36 +0000 (14:12 +0000)]
Release policy/distribution: 2.9.0

This commit releases repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I7a92bd0cd9c351dc3b6e56a509588352b62e481c

2 years agoupdate references in policy/distribution pom 40/132740/1
liamfallon [Thu, 15 Dec 2022 12:39:47 +0000 (12:39 +0000)]
update references in policy/distribution pom

updated references in the policy/distribution pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I3653868f8b245012d04c479ff399c1e57ff922c8

2 years agoMove git-commit-id-maven-plugin to parent pom 68/132468/1
danielhanrahan [Fri, 25 Nov 2022 14:32:20 +0000 (14:32 +0000)]
Move git-commit-id-maven-plugin to parent pom

The POM config for git-commit-id-maven-plugin is duplicated in each
repo, so the config is moved to policy/parent

Issue-ID: POLICY-4466
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ifd0f0a838fdca88698d3936093365355f791d909

2 years agoUpdate version of SDC-Client to 2.0.0 74/132174/6
david.mcweeney [Mon, 7 Nov 2022 17:11:32 +0000 (17:11 +0000)]
Update version of SDC-Client to 2.0.0

Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
Issue-ID: DMAAP-1790
Change-Id: I21edcdafe965a3e17b863e5f8766eeb764cf6bc5

3 years agoSet snapshot and/or references of policy/distribution for new release 98/131698/1
liamfallon [Fri, 21 Oct 2022 16:45:48 +0000 (17:45 +0100)]
Set snapshot and/or references of policy/distribution for new release

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If6eb2139641fdcf56a3947787b9926e6e9b16101

3 years agoUpdate snapshot and/or references of policy/distribution to latest snapshots 48/131648/1
liamfallon [Fri, 21 Oct 2022 09:50:36 +0000 (10:50 +0100)]
Update snapshot and/or references of policy/distribution to latest snapshots

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id7693e348e4b9ecffed4977bbc2c1cc0ce738a8f

3 years agoRelease docker images for policy/distribution: 2.8.1 43/131643/1
liamfallon [Fri, 21 Oct 2022 09:19:28 +0000 (10:19 +0100)]
Release docker images for policy/distribution: 2.8.1

This commit releases docker images for repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ib5da5576898682a9966a9a89d22230fa795aaac9

3 years agoRelease policy/distribution: 2.8.1 36/131636/1
liamfallon [Fri, 21 Oct 2022 08:38:24 +0000 (09:38 +0100)]
Release policy/distribution: 2.8.1

This commit releases repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic826a42824f5a33e09fac5bc778a9425530c9d7e

3 years agoupdate references in policy/distribution pom 26/131626/1
liamfallon [Fri, 21 Oct 2022 07:06:10 +0000 (08:06 +0100)]
update references in policy/distribution pom

updated references in the policy/distribution pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I2f9a3c9b71a3ec76a1fb89e146616ba0b43e3ca0

3 years agoUpdate snapshot and/or references of policy/distribution to latest snapshots 38/131138/1
liamfallon [Fri, 23 Sep 2022 09:59:01 +0000 (10:59 +0100)]
Update snapshot and/or references of policy/distribution to latest snapshots

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I336d2ce4d4eea7bf2ea423b41d771d718814d3e2

3 years agoRelease docker images for policy/distribution: 2.8.0 28/131128/1
liamfallon [Fri, 23 Sep 2022 08:44:31 +0000 (09:44 +0100)]
Release docker images for policy/distribution: 2.8.0

This commit releases docker images for repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I3228afa3df3c17b2bbf8b29c4ba6cdd44710a0a4

3 years agoRelease policy/distribution: 2.8.0 20/131120/1
liamfallon [Fri, 23 Sep 2022 06:50:46 +0000 (07:50 +0100)]
Release policy/distribution: 2.8.0

This commit releases repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I7b7f16b07250192d217b2ed260cf7798c8185453

3 years agoupdate references in policy/distribution pom 14/131114/1
liamfallon [Thu, 22 Sep 2022 22:22:14 +0000 (23:22 +0100)]
update references in policy/distribution pom

updated references in the policy/distribution pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I0b1bf3705dfbc8d77a0eb4f846a73f502a350e7c

3 years agoFix minor warnings in code 89/130989/1
liamfallon [Fri, 16 Sep 2022 19:08:15 +0000 (20:08 +0100)]
Fix minor warnings in code

Issue-ID: POLICY-4045
Change-Id: Idc6de6988541af7f115f5d13505d735d0927a6f2
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoRemove inactive committers from INFO.yaml 25/130825/1
liamfallon [Fri, 9 Sep 2022 09:22:48 +0000 (10:22 +0100)]
Remove inactive committers from INFO.yaml

Remove inactive committers from INFO.yaml

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4354
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I6da08fe7b6357b30fcbba01d772e3fc319f26307

3 years agoAllow setting external dockerfile for distribution 37/130637/1
danielhanrahan [Thu, 1 Sep 2022 14:03:20 +0000 (15:03 +0100)]
Allow setting external dockerfile for distribution

If building with an external dockerfile, e.g. using
 mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile
docker will look for project files in the same directory as the
new dockerfile. A new property is added for setting the context
path, to allow using existing project files in src/main/docker.

Issue-ID: POLICY-4334
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ic6851e77e4b5bb8d8dc51bc4824560270806987b

3 years agoFix Sdc configuration 31/130431/1
Ram Krishna Verma [Tue, 23 Aug 2022 19:37:38 +0000 (15:37 -0400)]
Fix Sdc configuration

Fixing the SdcConfiguration class to accomodate the
parameter for switching http vs https communication
between Sdc client & server. So that distribution component
is compatible with Service Mesh (Istio) initiative in OOM.

For more details - https://jira.onap.org/browse/POLICY-4226

Issue-ID: POLICY-4226
Change-Id: Ia3956832d37953e1b6149303ca685d4b82c30f5d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoUpdate docker base image to snapshot 66/130066/1
liamfallon [Fri, 29 Jul 2022 14:26:13 +0000 (15:26 +0100)]
Update docker base image to snapshot

Update docker base image to snapshot

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4287
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I9d52cc2a11309e6d1dd4dae18fcaccf0406d73ba

3 years agoReduce size of docker images for distribution 06/129906/1
danielhanrahan [Fri, 8 Jul 2022 16:12:40 +0000 (17:12 +0100)]
Reduce size of docker images for distribution

Avoid creating extra layers when extracting tarball
Remove redundant chown commands
Reduce size of Alpine image by 37% (357MB to 226MB)
Reduce size of OpenSuse image by 26% (525MB to 389MB)

Issue-ID: POLICY-4276
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ieb4faceef2264059dd868ecd04581e29b436c75a

3 years agoUpgrade OpenSuse version to 15.4 for distribution 71/129871/1
danielhanrahan [Mon, 11 Jul 2022 14:38:45 +0000 (15:38 +0100)]
Upgrade OpenSuse version to 15.4 for distribution

Issue-ID: POLICY-4278
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I0543844d2f5840e9939752af452bb668770345bc

3 years agoOCI image spec labels for distribution 14/129714/1
danielhanrahan [Tue, 28 Jun 2022 14:02:53 +0000 (15:02 +0100)]
OCI image spec labels for distribution

Issue-ID: POLICY-4260
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I9c1e3e48c80298330177e310f73b4473fba8f436

3 years agoMerge "OpenSuse docker file for policy-distribution"
Liam Fallon [Fri, 3 Jun 2022 13:15:19 +0000 (13:15 +0000)]
Merge "OpenSuse docker file for policy-distribution"

3 years agoOpenSuse docker file for policy-distribution 55/129455/1
danielhanrahan [Wed, 1 Jun 2022 13:26:24 +0000 (14:26 +0100)]
OpenSuse docker file for policy-distribution

Issue-ID: POLICY-4192
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I3b3f886f60ed17f9ab54d3b9e915d7921a5642ba

3 years agoAdd Ramesh Murugan Iyer as a committer 44/129444/1
liamfallon [Wed, 1 Jun 2022 12:05:10 +0000 (13:05 +0100)]
Add Ramesh Murugan Iyer as a committer

Issue-ID: POLICY-4228
Change-Id: I0d1e4e4e79346a34541175660de1341bd96339b1
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoSecurity issues from sonar cloud fixes 53/129253/1
adheli.tavares [Thu, 12 May 2022 12:58:48 +0000 (13:58 +0100)]
Security issues from sonar cloud fixes

Issue-ID: POLICY-4168
Change-Id: Iedac6c95be452be81e8c73055193b4707735ef56
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
3 years agoSet snapshot and/or references of policy/distribution for new release 51/129051/1
liamfallon [Tue, 3 May 2022 16:22:11 +0000 (17:22 +0100)]
Set snapshot and/or references of policy/distribution for new release

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4073
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I8c95ff6bf590b4ad610e6c992d1443ca629b438f
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoUpdate snapshot and/or references of policy/distribution to latest snapshots 73/128973/1
liamfallon [Thu, 28 Apr 2022 15:00:47 +0000 (16:00 +0100)]
Update snapshot and/or references of policy/distribution to latest snapshots

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I0eddbc948be35873d6d15300d4c832868994e3f5

3 years agoRelease docker images for policy/distribution: 2.7.3 64/128964/1
liamfallon [Thu, 28 Apr 2022 14:32:58 +0000 (15:32 +0100)]
Release docker images for policy/distribution: 2.7.3

This commit releases docker images for repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I05f4423eac83648c7f40aaaa99e831e6662dbccf

3 years agoRelease policy/distribution: 2.7.3 54/128954/1
liamfallon [Thu, 28 Apr 2022 13:41:08 +0000 (14:41 +0100)]
Release policy/distribution: 2.7.3

This commit releases repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I501e9c74066de3de6ed1d6488938687deba6e128

3 years agoupdate references in policy/distribution pom 17/128917/1
liamfallon [Wed, 27 Apr 2022 19:55:43 +0000 (20:55 +0100)]
update references in policy/distribution pom

updated references in the policy/distribution pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic7cea2a8d8483fda8cb88fceae5cb9cb719b78c1

3 years agosp3 tests update on setup 65/128165/5
adheli.tavares [Tue, 29 Mar 2022 12:52:35 +0000 (13:52 +0100)]
sp3 tests update on setup

- versions of images updated
- fix run_tests with extra slash
- add call to metrics on stability and performance tests

Issue-ID: POLICY-4006
Change-Id: Idad63e9d256e149b224796c486f7322ecbc6ff61
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
3 years agoRemove generated test file from git 80/128580/1
liamfallon [Wed, 13 Apr 2022 17:19:24 +0000 (18:19 +0100)]
Remove generated test file from git

This test file was checked into source control but it is a test file.

Issue-ID: POLICY-4070
Change-Id: Iecb43ca32c5de7013a0566ca208b977b5bac60a5
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoUpdate snapshot and/or references of policy/distribution to latest snapshots 29/128529/1
liamfallon [Tue, 12 Apr 2022 20:35:10 +0000 (21:35 +0100)]
Update snapshot and/or references of policy/distribution to latest snapshots

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ibb4d26c98e11547fc62d2613d5df9afb4ac77ce9

3 years agoRelease docker images for policy/distribution: 2.7.2 21/128521/1
liamfallon [Tue, 12 Apr 2022 18:57:20 +0000 (19:57 +0100)]
Release docker images for policy/distribution: 2.7.2

This commit releases docker images for repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I655dd26cc801bd55d5f17e979d31cbcd802a7bb3

3 years agoRelease policy/distribution: 2.7.2 12/128512/1
liamfallon [Tue, 12 Apr 2022 18:23:27 +0000 (19:23 +0100)]
Release policy/distribution: 2.7.2

This commit releases repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If5666ce1daf9e5093862fb9a28067a32cae36be2

3 years agoupdate references in policy/distribution pom 03/128503/1
liamfallon [Tue, 12 Apr 2022 17:41:50 +0000 (18:41 +0100)]
update references in policy/distribution pom

updated references in the policy/distribution pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Iad3b16598014463b331c891c599f1a4c380bb757

3 years agoError handling when a decoder fails to parse policy 32/128332/2
adheli.tavares [Wed, 6 Apr 2022 08:53:27 +0000 (09:53 +0100)]
Error handling when a decoder fails to parse policy

- catch exception only if it was a parse error (still raises
exception when no decoder found)
- reducing of complexity on acm decoding for sonar
- added some debug logging and exception messages for better
tracking of issues

Issue-ID: POLICY-4006
Change-Id: Ie09aaf541fc06244b84477ecbfe70fc837438a86
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
3 years agoUpdate snapshot and/or references of policy/distribution to latest snapshots 12/127712/1
liamfallon [Fri, 11 Mar 2022 18:03:11 +0000 (18:03 +0000)]
Update snapshot and/or references of policy/distribution to latest snapshots

policy/distribution updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I0b6c27012f6ef893b664bb7297c9a5744f6b6d02

3 years agoRelease docker images for policy/distribution: 2.7.1 00/127700/1
liamfallon [Fri, 11 Mar 2022 14:07:48 +0000 (14:07 +0000)]
Release docker images for policy/distribution: 2.7.1

This commit releases docker images for repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I1115347e36b812342831d051a35b9caa1b14dec6

3 years agoRelease policy/distribution: 2.7.1 90/127690/1
liamfallon [Fri, 11 Mar 2022 12:08:00 +0000 (12:08 +0000)]
Release policy/distribution: 2.7.1

This commit releases repo policy/distribution.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I7c8a3a32350f241271bdf94b8643d82e0fcddf5d

3 years agoupdate references in policy/distribution pom 40/127640/2
liamfallon [Thu, 10 Mar 2022 09:12:48 +0000 (09:12 +0000)]
update references in policy/distribution pom

updated references in the policy/distribution pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I8b6677eda5a64493d7b353826ec4fbe7c2908249
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoRename ControlLoop to AutomationCompsition 40/127440/1
Sirisha_Manchikanti [Mon, 28 Feb 2022 17:10:36 +0000 (17:10 +0000)]
Rename ControlLoop to AutomationCompsition

Issue-ID: POLICY-3938
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I63188fa9bc5d634d3aeb7e2d7051c4d67b5a202c

3 years agoFix distribution to accommodate object values in policy metadata 93/127093/1
rameshiyer27 [Mon, 14 Feb 2022 10:08:16 +0000 (10:08 +0000)]
Fix distribution to accommodate object values in policy metadata

Issue-ID: POLICY-3832
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I1cb539156acee3a63c9ffa432ec2371941bf9acd

3 years agoAdd distribution app metrics to prometheus 80/126580/1
Ram Krishna Verma [Wed, 12 Jan 2022 19:04:53 +0000 (14:04 -0500)]
Add distribution app metrics to prometheus

Adding the distribution application level metrics
to prometheus.
Adapted the changes so that existing test cases for
DistributionStatisticsManager are not affected and still
provides the full coverage.

Issue-ID: POLICY-3759
Change-Id: I972f107e4ac46c2769dfaeb9bcefa0731bb879ca
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoAdd ControlLoop distribution to runtime 29/126429/2
Sirisha_Manchikanti [Tue, 14 Dec 2021 18:12:07 +0000 (18:12 +0000)]
Add ControlLoop distribution to runtime

This commit unpacks the csar received either from SDC or for local
verification from file-system, prepares the toscaservicetemplate with
needed node-types and data-types, forwards the template to controlloop
runtime components for commisioning of controlloop.

Issue-ID: POLICY-3808
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Ib3600542aca7b32ae19242c2f924bdaf2ab870a8

3 years agoMoving @NotNull annotation to field level 09/126109/2
lapentafd [Tue, 7 Dec 2021 15:59:49 +0000 (15:59 +0000)]
Moving @NotNull annotation to field level

KeyStorePassword and KeyStorePath values
can be expressed as simply null instead of "null"

Issue-ID: POLICY-3604
Change-Id: I839bce33df4829fcc8d604f8ed1e52e6f50ef988
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
3 years agoUpdate snapshot and/or references of policy/distribution to latest snapshots 35/126035/1
liamfallon [Thu, 2 Dec 2021 15:54:11 +0000 (15:54 +0000)]
Update snapshot and/or references of policy/distribution to latest snapshots

*** This commit is generated by a PF release script ***

policy/distribution updated to its latest own and reference snapshots

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ibd543fc5349497980f27c6dc574bce31825a7f2e

3 years agoUpdate snapshot of policy/distribution to 2.7.1-SNAPSHOT 63/125963/1
liamfallon [Mon, 29 Nov 2021 11:33:42 +0000 (11:33 +0000)]
Update snapshot of policy/distribution to 2.7.1-SNAPSHOT

*** This commit is generated by a PF release script ***

policy/distribution is update from 2.7.0-SNAPSHOT to 2.7.1-SNAPSHOT

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I1c58f1903bac793db23227013525640d93bb958b

3 years agoRelease docker images for policy/distribution: 2.7.0 39/125939/1
liamfallon [Fri, 26 Nov 2021 12:07:52 +0000 (12:07 +0000)]
Release docker images for policy/distribution: 2.7.0

*** This commit is generated by a PF release script ***

This commit releases the docker images for repo policy/distribution.

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I6b4bc5bed0ce02b9ee5d8f19ece54d630e2f638a

3 years agoRelease policy/distribution: 2.7.0 30/125930/1
liamfallon [Fri, 26 Nov 2021 10:41:59 +0000 (10:41 +0000)]
Release policy/distribution: 2.7.0

*** Release Phase 8: This commit is generated by a PF release script ***

This is the eigth phase in releasing images, it releases policy/distribution.

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ief7893fecf3e7fa20a2cddc4fa5130af87dfb2d5

3 years agoUpdate parent and common references 12/125912/2
liamfallon [Thu, 25 Nov 2021 11:41:21 +0000 (11:41 +0000)]
Update parent and common references

*** Release Phase 7: This commit is generated by a PF release script ***

This is the seventh release phase, it updates parent, common and models
references in policy/distribution.

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ie4d0f27f6021622def7b72719508cc557c4c7624
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoRename user for API and PAP references. 01/125601/1
adheli.tavares [Thu, 4 Nov 2021 14:25:39 +0000 (14:25 +0000)]
Rename user for API and PAP references.

Use an account other than healthcheck in API and PAP for provisioning of policies.

Issue-ID: POLICY-2744
Change-Id: I2d626276daba25d405be24cf81233ae848a8674e
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
4 years agoPoint to snapshot dependency 41/125341/1
Ram Krishna Verma [Mon, 25 Oct 2021 22:10:20 +0000 (18:10 -0400)]
Point to snapshot dependency

Issue-ID: POLICY-3788
Change-Id: I803ecb77214903e353402c56b82a36cfa32a331f
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoUpdating Distribution S3P configuration. 78/125078/5
adheli.tavares [Mon, 18 Oct 2021 16:26:44 +0000 (17:26 +0100)]
Updating Distribution S3P configuration.

- fixing the scripts and jmx files after stability long run failures.

Issue-ID: POLICY-3654
Change-Id: I0ff0bf625f226f1b71664c1817cef65fbd5cf5a6
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
4 years agoBump policy/distribution to Jakarta 2.7.0-SNAPSHOT 94/124994/1
liamfallon [Thu, 14 Oct 2021 12:54:22 +0000 (13:54 +0100)]
Bump policy/distribution to Jakarta 2.7.0-SNAPSHOT

Issue-ID: POLICY-3696
Change-Id: I877f56a698224d82226a55ca6c68d4dc65534d06
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoBump policy/distribution to 2.6.2-SNAPSHOT 67/124967/1
liamfallon [Thu, 14 Oct 2021 10:45:59 +0000 (11:45 +0100)]
Bump policy/distribution to 2.6.2-SNAPSHOT

Issue-ID: POLICY-3696
Change-Id: I3cdd361c13a616b121ebcd1782e51847861288ed
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoRelease policy/distribution 2.6.1 images 58/124958/1
liamfallon [Thu, 14 Oct 2021 09:54:14 +0000 (10:54 +0100)]
Release policy/distribution 2.6.1 images

Issue-ID: POLICY-3696
Change-Id: I3d0f1f3134cdb0acdbe0ed0e42886f2904ff6559
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoRelease policy/distribution 2.6.1 54/124954/1
liamfallon [Thu, 14 Oct 2021 09:41:51 +0000 (10:41 +0100)]
Release policy/distribution 2.6.1

Issue-ID: POLICY-3696
Change-Id: I9b785431ec14671f9c01050c1992a6a83afcd0b8
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoUpdate parent/common/models/docker references 04/124904/1
liamfallon [Wed, 13 Oct 2021 14:31:33 +0000 (15:31 +0100)]
Update parent/common/models/docker references

Issue-ID: POLICY-3696
Change-Id: Ia40b9d10c49bef7e5e53abaf50211636f56d9044
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoDistribution S3P Testing for Istanbul 23/124623/4
adheli.tavares [Thu, 30 Sep 2021 12:50:40 +0000 (13:50 +0100)]
Distribution S3P Testing for Istanbul

Issue-ID: POLICY-3654
Change-Id: Ib410008418a6d94948270fea1c37e20eb0c59003
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
4 years agoBump distribution to 2.6.1-SNAPSHOT 06/124206/1
Ram Krishna Verma [Tue, 14 Sep 2021 21:34:35 +0000 (17:34 -0400)]
Bump distribution to 2.6.1-SNAPSHOT

Issue-ID: POLICY-3587
Change-Id: I5b53cb351ebc874bc0ec26318955ea5c52c5a365
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoRelease distribution 2.6.0 docker image 05/124205/1
Ram Krishna Verma [Tue, 14 Sep 2021 20:39:49 +0000 (16:39 -0400)]
Release distribution 2.6.0 docker image

Issue-ID: POLICY-3587
Change-Id: I45698321b91b981cce7729d0c97338b96506bd28
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoRelease distribution 2.6.0 maven artifacts 92/124192/1
Ram Krishna Verma [Tue, 14 Sep 2021 18:42:40 +0000 (14:42 -0400)]
Release distribution 2.6.0 maven artifacts

Issue-ID: POLICY-3587
Change-Id: I384010f2861d0b06ab7e957035c0cfa55540fece
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoUse released common and models 88/124088/1
liamfallon [Mon, 13 Sep 2021 15:44:14 +0000 (16:44 +0100)]
Use released common and models

Issue-ID: POLICY-3587
Change-Id: I22df3fbd99af621dc112a64c31b2d13216b20035
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoUpdate INFO.yaml 53/123953/3
liamfallon [Wed, 8 Sep 2021 11:32:01 +0000 (12:32 +0100)]
Update INFO.yaml

Update the INFO.yaml file with latest information.

Issue-ID: POLICY-3552
Change-Id: I346ff7a0ddee373ea6ac1df26d612150caebaa3a
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoPoint at released policy-parent 91/123991/2
liamfallon [Thu, 9 Sep 2021 12:43:27 +0000 (13:43 +0100)]
Point at released policy-parent

Issue-ID: POLICY-3587
Change-Id: I756518b188715b16a37367013ed1d17f77b675b0
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoFix default config in distribution 95/123695/1
Ram Krishna Verma [Mon, 30 Aug 2021 17:05:31 +0000 (13:05 -0400)]
Fix default config in distribution

Issue-ID: POLICY-3526
Change-Id: Iae0d43829eb284a4aed5547d0944b66ccff77396
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoMerge "Fix sonar issue"
Ram Krishna Verma [Thu, 26 Aug 2021 20:33:21 +0000 (20:33 +0000)]
Merge "Fix sonar issue"

4 years agoFix sonar issue 41/123641/1
Ram Krishna Verma [Thu, 26 Aug 2021 18:48:27 +0000 (14:48 -0400)]
Fix sonar issue

Issue-ID: POLICY-3077
Change-Id: I53447f551804f4455b65d19d84685ece5cba1c5a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoUse policy/docker image 2.3.0 19/123619/1
Jim Hahn [Thu, 26 Aug 2021 17:41:31 +0000 (13:41 -0400)]
Use policy/docker image 2.3.0

Issue-ID: POLICY-3587
Change-Id: I5d2b4bd64e09121bddbeb1f43d53df998c0fd618
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoEnable prometheus by default in policy-distribution 58/123458/1
a.sreekumar [Mon, 23 Aug 2021 14:42:26 +0000 (15:42 +0100)]
Enable prometheus by default in policy-distribution

Change-Id: I5bfd9ff7597f10e5eb08c01183bf02a17676afb5
Issue-ID: POLICY-3538
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
4 years agoUse generic create policy api 99/123399/2
Ram Krishna Verma [Thu, 19 Aug 2021 19:34:00 +0000 (15:34 -0400)]
Use generic create policy api

Change lifecycycle api forwarder to use
generic create policy api for creating policies.

Hence, no need to parse the tosca template and
find fields to build the specific url.

Issue-ID: POLICY-3545
Change-Id: I848df3cf2e0cbb9136120769293cc466d660036a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoAdd yaml support for policy & policy types 67/123367/3
Ram Krishna Verma [Wed, 18 Aug 2021 21:17:23 +0000 (17:17 -0400)]
Add yaml support for policy & policy types

Adding support for yaml format of policy & policy types in distribution.
So that users can either define them in json or yaml format.
And then distribute to policy framework.

Issue-ID: POLICY-3509
Change-Id: Ifba7486bbc1e6876f0e3e39b0ae5ebe043567029
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agouse url resource for docker-tag -- distribution 97/123197/1
Taka Cho [Mon, 9 Aug 2021 18:29:47 +0000 (14:29 -0400)]
use url resource for docker-tag -- distribution

use groovy url resource from docker repo
to identify the tag for docker

Issue-ID: POLICY-3378
Change-Id: Ia2dcb8c3564fcfc7199ce1cda3dd26b7b684cc94
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoMerge "Use new RestClientParameters class in distribution"
Ajith Sreekumar [Tue, 3 Aug 2021 10:17:39 +0000 (10:17 +0000)]
Merge "Use new RestClientParameters class in distribution"

4 years agoUse new RestClientParameters class in distribution 75/122975/4
Jim Hahn [Mon, 19 Jul 2021 20:21:25 +0000 (16:21 -0400)]
Use new RestClientParameters class in distribution

This is a re-do of a previously reverted review.  It's mostly the same
as before, but there are some minor differences.

Replaced LifecycleApiForwarderParameters with RestClientParameters.
Also modified the code to get the HttpClient objects once.
Also removed some unused json test files.

This requires changes to property files in CSITs and OOM:
- add "clientName" to the api & pap structures
- rename "hostName" to "hostname"
- rename "isHttps" to "useHttps" and move it inside the api & pap
  structures

Issue-ID: POLICY-3456
Change-Id: I32b04bc3b6880ec7798814dad268143bc3b06faf
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoMerge "Revert "Use new RestClientParameters class in distribution""
Jim Hahn [Thu, 22 Jul 2021 15:23:37 +0000 (15:23 +0000)]
Merge "Revert "Use new RestClientParameters class in distribution""

4 years agoRevert "Use new RestClientParameters class in distribution" 78/122578/1
Jim Hahn [Thu, 22 Jul 2021 14:51:20 +0000 (14:51 +0000)]
Revert "Use new RestClientParameters class in distribution"

This reverts commit b59b14d47b590ff94b7c98348c1617990d03c86f.

Reason for revert: needs complete rework

Issue-ID: POLICY-3456
Change-Id: I7b1f5bb1a9c8cb681808d52b4d6c18377f6a0250
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoMerge "Use docker registry properties in distribution"
Ajith Sreekumar [Wed, 21 Jul 2021 11:35:25 +0000 (11:35 +0000)]
Merge "Use docker registry properties in distribution"