policy/distribution.git
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"

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

Replaced LifecycleApiForwarderParameters with RestClientParameters.
Also modified the code to get the HttpClient objects once.

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

Issue-ID: POLICY-3456

Change-Id: I654c32c9b6628263a68d821e11c5a316e8b6e2cc
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoUse docker registry properties in distribution 49/122749/1
Jim Hahn [Mon, 19 Jul 2021 18:55:47 +0000 (14:55 -0400)]
Use docker registry properties in distribution

Issue-ID: POLICY-3374
Change-Id: I78ce18ef57fd5655597b169f21f8bae8228773b5
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoUse lombok in policy/distribution 08/122508/2
Ram Krishna Verma [Wed, 7 Jul 2021 18:21:34 +0000 (14:21 -0400)]
Use lombok in policy/distribution

Use lombok for getter, setter, constructor & builder functions.
Remove unused classes.
Remove duplicate classes for testing exceptions.

Issue-ID: POLICY-3393
Change-Id: I8a565bc6a5699b8716982f84e03b6a11d08ce65b
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoUse lombok in policy/distribution 43/122443/2
Ram Krishna Verma [Mon, 5 Jul 2021 21:42:21 +0000 (17:42 -0400)]
Use lombok in policy/distribution

Issue-ID: POLICY-3393
Change-Id: I4221d8c6ecff3b529e7cd65f467bcf9bd3ac758d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoFix new checkstyle issues in distribution 54/122054/1
Jim Hahn [Fri, 18 Jun 2021 18:31:38 +0000 (14:31 -0400)]
Fix new checkstyle issues in distribution

The new version of checkstyle identified new issues.  Fixed those.

Issue-ID: POLICY-3286
Change-Id: I15adece9fa2e136108febc0d74af6c0d55f975c5
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoFix broken junits in policy-distribution 35/121535/2
Jim Hahn [Tue, 25 May 2021 15:06:41 +0000 (11:06 -0400)]
Fix broken junits in policy-distribution

Changes in policy-common broke some junits in policy-distribution.
Some issues were due to the use of lombok ToString annotations, while
others appear to be due to parameter groups being previously registered
- don't really know the issue there, though probably the parameter group
  name is now being set, while it wasn't before.
In any event, fixed the junits.

Issue-ID: POLICY-3298
Change-Id: Iaca9b2ec2c42582e9083ad5825c84cdc8ebc9d6c
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoRemove csit folder from policy/distribution 46/121346/1
Ram Krishna Verma [Thu, 13 May 2021 19:29:53 +0000 (15:29 -0400)]
Remove csit folder from policy/distribution

The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews.

Issue-ID: POLICY-3257
Change-Id: I864ba9502753a62dab79aa3f3c55c8689ab62cbd
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoMerge "Refactor policy/distribution csit tests"
Pamela Dragosh [Mon, 10 May 2021 12:56:29 +0000 (12:56 +0000)]
Merge "Refactor policy/distribution csit tests"

4 years agoFix sonars in policy-distribution 95/121195/1
Jim Hahn [Fri, 7 May 2021 19:21:38 +0000 (15:21 -0400)]
Fix sonars in policy-distribution

Fixed:
- more cases of "var"

Issue-ID: POLICY-3285
Change-Id: I41345dfde611497e848b1d207b34eeda1c2c3feb
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoRefactor policy/distribution csit tests 94/121194/1
Ram Krishna Verma [Fri, 7 May 2021 19:14:13 +0000 (15:14 -0400)]
Refactor policy/distribution csit tests

* Removed the deprecated methods.
* Removed duplicated code.

Issue-ID: POLICY-3257
Change-Id: I1252a625096bb2cfcea4cdd58197c3bf84358aba
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoFix sonars in policy-distribution 47/121147/1
Jim Hahn [Thu, 6 May 2021 20:39:17 +0000 (16:39 -0400)]
Fix sonars in policy-distribution

Fixed:
- use "var" instead of actual type

Issue-ID: POLICY-3285
Change-Id: I0dba2f96870722b4071ac0085287bc91a27dde88
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoRemove GroupValidationResult 83/120983/3
Jim Hahn [Tue, 27 Apr 2021 19:08:59 +0000 (15:08 -0400)]
Remove GroupValidationResult

Removed GroupValidationResult, replacing it with BeanValidationResult.
Modified the ParameterGroup subclasses to use BeanValidator, adding
annotations where needed to trigger the validations that had been
automatically performed by GroupValidationResult.

Issue-ID: POLICY-2059
Change-Id: Ib5c0dc0ac3762e68307e63f5ce29efb49208e55d
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoRefactor DistributionCommandLineArguments class 54/120554/2
adheli.tavares [Tue, 13 Apr 2021 15:33:41 +0000 (16:33 +0100)]
Refactor DistributionCommandLineArguments class

CMD Class to use the CMD Handler from Common.

Issue-ID: POLICY-3129
Change-Id: I2219cdb7db5669de71c3b2b90c496321b61d14eb
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
4 years agoMerge "Use sh instead of ash in distribution"
Pamela Dragosh [Wed, 7 Apr 2021 15:32:56 +0000 (15:32 +0000)]
Merge "Use sh instead of ash in distribution"

4 years agoUse sh instead of ash in distribution 40/120240/3
Jim Hahn [Tue, 6 Apr 2021 19:43:17 +0000 (15:43 -0400)]
Use sh instead of ash in distribution

Issue-ID: POLICY-3160
Change-Id: If642e98c8639b0065eea38ec41fc4923a07091b7
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoDistribution S3P test 13/120013/1
adheli.tavares [Tue, 30 Mar 2021 10:06:03 +0000 (11:06 +0100)]
Distribution S3P test

Updating scripts and files related to S3P tests.

Issue-ID: POLICY-3113
Change-Id: I6c6d50a2f0e6b47deac5e505fb841eebbbbea437
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
4 years agoDelete keystores from distribution 52/119552/1
Jim Hahn [Fri, 19 Mar 2021 16:00:30 +0000 (12:00 -0400)]
Delete keystores from distribution

The Keystore is no longer needed in the tarball, as it is supplied
externally by the CSITs and Helm charts.  Deleted that file.
Also modified the junits to use utils-test to generates keystores at
runtime, thus deleted the junit keystore file, too.

Issue-ID: POLICY-3143
Change-Id: I9daf6da10f2027880c260bd6f529bf6c6e7c2e91
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoSupport self-signed certificates in distribution 16/119516/1
Jim Hahn [Thu, 18 Mar 2021 16:06:41 +0000 (12:06 -0400)]
Support self-signed certificates in distribution

Also modified the code to work with any HTTP response code in the range
200-299.

Issue-ID: POLICY-3143
Change-Id: Id7bcb0c98714c6d98ad7f5d7ceb3b033906aeab1
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoUpdate policy-keystore with newer certificates 84/119384/1
jhh [Tue, 16 Mar 2021 15:32:55 +0000 (10:32 -0500)]
Update policy-keystore with newer certificates

Issue-ID: POLICY-3139
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I7e228797bc5f51715c86141a279a990699fa6fe4

4 years agoAddress plugin-not-found issues 64/119264/1
Jim Hahn [Fri, 12 Mar 2021 16:55:30 +0000 (11:55 -0500)]
Address plugin-not-found issues

Removed references to archetype-packaging and lifecycle-mapping, where
unnecessary due to pom inheritance.

Issue-ID: POLICY-3126
Change-Id: Id89fcec8dffd841445fe37959f2d17777ad98a19
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoBump distribution to 2.6.0-SNAPSHOT 91/119191/1
pd1248 [Thu, 11 Mar 2021 20:40:38 +0000 (15:40 -0500)]
Bump distribution to 2.6.0-SNAPSHOT

Issue-ID: POLICY-3105
Change-Id: I37f09fb3edb9329fa8a0138b81dbc5fafc5864fa
Signed-off-by: pd1248 <pdragosh@research.att.com>
4 years agoMerge "Add code coverage for reception package"
Ram Krishna Verma [Wed, 10 Mar 2021 18:08:22 +0000 (18:08 +0000)]
Merge "Add code coverage for reception package"

4 years agoBump policy-distribution to 2.5.2-SNAPSHOT 85/119085/1
a.sreekumar [Wed, 10 Mar 2021 15:49:49 +0000 (15:49 +0000)]
Bump policy-distribution to 2.5.2-SNAPSHOT

Change-Id: Ibb79e61fc7d3923f123539873a5a08e599c175ab
Issue-ID: POLICY-3127
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
4 years agoRelease policy-distribution 2.5.1 docker 77/119077/1
a.sreekumar [Wed, 10 Mar 2021 15:04:18 +0000 (15:04 +0000)]
Release policy-distribution 2.5.1 docker

Change-Id: I67ceead7f7724b4261e7cb1afc9384ce86627930
Issue-ID: POLICY-3127
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
4 years agoRelease policy-distribution 2.5.1 maven artifacts 70/119070/1
a.sreekumar [Wed, 10 Mar 2021 13:52:51 +0000 (13:52 +0000)]
Release policy-distribution 2.5.1 maven artifacts

Change-Id: I5a865c03d88b8c2e4ac2f3d00535b197e386bde3
Issue-ID: POLICY-3127
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
4 years agoPoint to policy-models 2.4.1 49/119049/1
a.sreekumar [Tue, 9 Mar 2021 18:23:38 +0000 (18:23 +0000)]
Point to policy-models 2.4.1

Change-Id: Ifa503246a966810c6254178765910cd6f038b429
Issue-ID: POLICY-3127
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
4 years agoAdd code coverage for reception package 56/118956/4
adheli.tavares [Tue, 9 Mar 2021 12:16:03 +0000 (12:16 +0000)]
Add code coverage for reception package

Issue-ID: POLICY-3090
Change-Id: I79bf20363644fe39ed532399ecf59740192f7bb9
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
4 years agoCode coverage for Policy distribution 64/118764/2
adheli.tavares [Wed, 3 Mar 2021 15:27:56 +0000 (15:27 +0000)]
Code coverage for Policy distribution

Added code coverage for some missing instructions on main package

Issue-ID: POLICY-3090
Change-Id: I1ba870a4b3c7f63f6c00dfc3f4b908eee7ca701b
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
4 years agoUpdate info.yaml in distribution 88/118388/1
Ram Krishna Verma [Wed, 24 Feb 2021 15:01:47 +0000 (10:01 -0500)]
Update info.yaml in distribution

Issue-ID: POLICY-3028
Change-Id: I357f910ce74bd135522eb7ec2c76d97fe3195f74
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoBump distribution to 2.5.1-SNAPSHOT 17/118317/1
Ram Krishna Verma [Tue, 23 Feb 2021 20:13:18 +0000 (15:13 -0500)]
Bump distribution to 2.5.1-SNAPSHOT

Issue-ID: POLICY-3088
Change-Id: Iefa88438d23defeb73875ec4de9be29541b24b89
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoRelease distribution 2.5.0 docker image 09/118309/1
Ram Krishna Verma [Tue, 23 Feb 2021 18:11:48 +0000 (13:11 -0500)]
Release distribution 2.5.0 docker image

Issue-ID: POLICY-3088
Change-Id: Ib5ae6daf8f5b5fb192c76302d2fb009676bd7b22
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoRelease distribution 2.5.0 version 00/118300/1
Ram Krishna Verma [Tue, 23 Feb 2021 17:23:36 +0000 (12:23 -0500)]
Release distribution 2.5.0 version

Issue-ID: POLICY-3088
Change-Id: I73e698c7fd356e209d22a23e23fc5f9632e22064
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoPoint to released version of jre 81/118281/1
Ram Krishna Verma [Tue, 23 Feb 2021 16:16:09 +0000 (11:16 -0500)]
Point to released version of jre

Issue-ID: POLICY-3088
Change-Id: Id4b8058061d81b676210014146c77531339c9d62
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>