policy/distribution.git
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>
4 years agoPoint to released version of dependencies 56/118256/1
Ram Krishna Verma [Tue, 23 Feb 2021 15:20:38 +0000 (10:20 -0500)]
Point to released version of dependencies

Issue-ID: POLICY-3088
Change-Id: I244d8b061e58b624f197a2741ada25447047b18d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agofix for workspace accommodation 53/117653/1
Taka Cho [Tue, 9 Feb 2021 19:27:57 +0000 (14:27 -0500)]
fix for workspace accommodation

the config/csar should be under
/w/workspace/policy-distribution-master-project-\
csit-distribution/distribution/csit/config/csar

after checking on jenkins sandbox

Issue-ID: POLICY-2895
Change-Id: I03abf0f0f1793cfb84f3eec7d610cadb8da41393
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agomove distribution csit to policy repo 56/117456/5
Taka Cho [Wed, 3 Feb 2021 19:13:04 +0000 (14:13 -0500)]
move distribution csit to policy repo

move distribution csit plans/tests
to policy/distribution repo

move config to policy/distribution repo also

Issue-ID: POLICY-2895
Change-Id: Ie4cd51bb29c74ea78ea0e9d545423839ced85b9b
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoFix bug - cast as long 53/116953/1
Pamela Dragosh [Mon, 18 Jan 2021 13:48:54 +0000 (08:48 -0500)]
Fix bug - cast as long

Sonar wants to promote one value to a long, to avoid risk of overflow before assignment.

Issue-ID: POLICY-2908
Change-Id: I2a92cfd8e437dac3f77ee0366993ae28b2c4c05e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoRemove unused import and add comments 13/116913/4
Pamela Dragosh [Fri, 15 Jan 2021 14:59:27 +0000 (09:59 -0500)]
Remove unused import and add comments

Removes unused import and also adds a check for file size.
Since these entries are opened in memory, use NOSONAR to clear
sonar security hotspot.

Issue-ID: POLICY-2908
Change-Id: Ic3511a3f59cd2d78301316df209de5da1e25acdb
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoAvoid path injection 90/116890/1
Pamela Dragosh [Thu, 14 Jan 2021 20:24:37 +0000 (15:24 -0500)]
Avoid path injection

Adding a check to ensure that a zip file cannot be corrupted
with a path injection to open a stream somewhere else in the
file system.

Issue-ID: POLICY-2908
Change-Id: Iaa75fc8c14831ad73fa7ab59c618909ff5af454c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoChanged identifiers to concept identifiers 37/116637/1
Ram Krishna Verma [Wed, 6 Jan 2021 19:13:45 +0000 (14:13 -0500)]
Changed identifiers to concept identifiers

The class ToscaPolicyIdentifierOptVersion is replaced by ToscaConceptIdentifierOptVersion in policy/models. Made the corresponding changes in policy/distribution.

Issue-ID: POLICY-2900
Change-Id: I10fb99ecd4f52a811cde49fbc9e35ae2eb28596a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agouse jre base 2.2.0 - distribution 11/116611/1
Taka Cho [Tue, 5 Jan 2021 20:10:58 +0000 (15:10 -0500)]
use jre base 2.2.0 - distribution

use jre base 2.2.0

Issue-ID: POLICY-2917
Change-Id: Iac8e53e8144b54b02bebb133f5bd4c1e616ffe4c
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoSonar issues with visibility 35/116135/1
Pamela Dragosh [Fri, 4 Dec 2020 15:49:03 +0000 (10:49 -0500)]
Sonar issues with visibility

S5993 Change the visibility of this constructor to "protected".

Issue-ID: POLICY-2908
Change-Id: Id7b7d908eb687345f4d91b05869b3925c8694b05
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agomove all bash to ash shell scripts - dist 63/115563/1
Taka Cho [Mon, 30 Nov 2020 19:50:59 +0000 (14:50 -0500)]
move all bash to ash shell scripts - dist

bash scripts convert to ash

Issue-ID: POLICY-2847
Change-Id: Iee0aacfdf01425cb2b6e6347672ebdd82ec205e1
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoPoint to snapshot versions 19/114319/1
Ram Krishna Verma [Tue, 27 Oct 2020 18:58:43 +0000 (14:58 -0400)]
Point to snapshot versions

Issue-ID: POLICY-2875
Change-Id: Ibe0d79c4167b1ab8b66dee63064db057a6ae2501
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoBump distribution master to 2.5.0-SNAPSHOT 91/114291/1
Ram Krishna Verma [Tue, 27 Oct 2020 17:57:08 +0000 (13:57 -0400)]
Bump distribution master to 2.5.0-SNAPSHOT

Issue-ID: POLICY-2875
Change-Id: I5d447736a0d74bdce6f6907808d9a7c35a4bf8e0
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoBump distribution to 2.4.4 SNAPSHOT 52/114052/2
Jim Hahn [Tue, 20 Oct 2020 14:51:53 +0000 (10:51 -0400)]
Bump distribution to 2.4.4 SNAPSHOT

Issue-ID: POLICY-2869
Change-Id: Iccbc23191763dcb9a2781973e29a85e0e34386cf
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoRelease distribution 2.4.3 docker 45/114045/1 7.0.0-ONAP
Jim Hahn [Tue, 20 Oct 2020 14:28:56 +0000 (10:28 -0400)]
Release distribution 2.4.3 docker

Issue-ID: POLICY-2869
Change-Id: I0a1f62b2ee424c0c91c71e0e294f8db9f6f806d2
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoRelease distribution 2.4.3 artifacts 37/114037/1
Jim Hahn [Tue, 20 Oct 2020 14:02:01 +0000 (10:02 -0400)]
Release distribution 2.4.3 artifacts

Issue-ID: POLICY-2869
Change-Id: Ia646e8aac11d1a26bdfa338eb5992c5f2375a799
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoPoint distribution to models 2.3.5 31/114031/1
Pamela Dragosh [Tue, 20 Oct 2020 12:10:20 +0000 (08:10 -0400)]
Point distribution to models 2.3.5

Issue-ID: POLICY-2869
Change-Id: I21bffaf0530d6887241b138f1ae58421f9dbb1e0
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBump distribution to 2.4.3-SNAPSHOT 57/113657/1
Ram Krishna Verma [Wed, 7 Oct 2020 22:09:30 +0000 (18:09 -0400)]
Bump distribution to 2.4.3-SNAPSHOT

Issue-ID: POLICY-2839
Change-Id: I0de77e37818fb5da771003fbaefc74e97d0ef404
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease distribution 2.4.2 docker artifacts 53/113653/1
Ram Krishna Verma [Wed, 7 Oct 2020 20:50:43 +0000 (16:50 -0400)]
Release distribution 2.4.2 docker artifacts

Issue-ID: POLICY-2839
Change-Id: I7b2e5a9f3d6cf3c6222088452a3624d2421772fc
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease distribution 2.4.2 maven artifacts 45/113645/1
Ram Krishna Verma [Wed, 7 Oct 2020 20:18:45 +0000 (16:18 -0400)]
Release distribution 2.4.2 maven artifacts

Issue-ID: POLICY-2839
Change-Id: Ibc7147aeab372ceb8d0f5f40b2095e56df56ec44
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoPoint to model 2.3.2 32/113632/1
Ram Krishna Verma [Wed, 7 Oct 2020 19:28:01 +0000 (15:28 -0400)]
Point to model 2.3.2

Issue-ID: POLICY-2839
Change-Id: I3c6186180fda382bfb63b267a7bc9f5875b27018
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoNew sonars in policy/distribution 80/113380/1
Jim Hahn [Wed, 30 Sep 2020 14:16:42 +0000 (10:16 -0400)]
New sonars in policy/distribution

Addressed the following sonars:
- extract common test methods

Issue-ID: POLICY-2713
Change-Id: I2c8e957785b7e0d1b66e3bd49d5a8a854149fffd
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoupdate default keystores 29/113129/1
jhh [Thu, 24 Sep 2020 20:01:04 +0000 (15:01 -0500)]
update default keystores

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

5 years agoUse alpine base image 2.1.1 46/112646/1
Jim Hahn [Mon, 14 Sep 2020 22:07:12 +0000 (18:07 -0400)]
Use alpine base image 2.1.1

Issue-ID: POLICY-2819
Change-Id: Ib4f77377978efccac4a78a170b50e1ed0edc3e56
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoBump distribution version to 2.4.2-SNAPSHOT 01/112401/1
Ram Krishna Verma [Wed, 9 Sep 2020 17:36:05 +0000 (13:36 -0400)]
Bump distribution version to 2.4.2-SNAPSHOT

Issue-ID: POLICY-2789
Change-Id: Ic7783fec3955474266fe0e5c4e178b1db21661d8
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease distribution docker 2.4.1 96/112396/1
Ram Krishna Verma [Wed, 9 Sep 2020 17:02:20 +0000 (13:02 -0400)]
Release distribution docker 2.4.1

Issue-ID: POLICY-2789
Change-Id: Iaca8d14c1ef385fd0bb6c085a057700568c858f7
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease distribution maven 2.4.1 85/112385/1
Ram Krishna Verma [Wed, 9 Sep 2020 15:47:05 +0000 (11:47 -0400)]
Release distribution maven 2.4.1

Issue-ID: POLICY-2789
Change-Id: Ic654369fb7c7d002626dcba38ce29bedf2767025
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoPointing to released common & models 78/112378/1
Ram Krishna Verma [Wed, 9 Sep 2020 14:50:01 +0000 (10:50 -0400)]
Pointing to released common & models

Issue-ID: POLICY-2789
Change-Id: Ife64846b8a487871a4fb802e76569dcb8dea0a59
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agopoint to 2.1.0 policy-alpine base - distribution 71/112171/1
Taka Cho [Fri, 4 Sep 2020 13:02:09 +0000 (09:02 -0400)]
point to 2.1.0 policy-alpine base - distribution

In G-rel, using 2.1.0 base.

Issue-ID: POLICY-2789
Change-Id: Iea812a77ed65dafa31a83db41fdda0d54dd964ca
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoChanges to make policy-distribution container crash with non zero exitCode 34/111534/1
a.sreekumar [Fri, 21 Aug 2020 12:01:47 +0000 (13:01 +0100)]
Changes to make policy-distribution container crash with non zero exitCode

Change-Id: Ic637253513b349ccb3f17b7c3fce1414bd5ec022
Issue-ID: POLICY-2756
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
5 years agoenvironment variables to support cert. store paths 65/110865/2
jhh [Mon, 3 Aug 2020 20:23:32 +0000 (15:23 -0500)]
environment variables to support cert. store paths

Issue-ID: POLICY-2615
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I5334ef2a928b3c658fcfd05fe2b15f724c1b4ba7
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoUpdate INFO.yaml in policy-distribution 62/110762/1
Taka Cho [Thu, 30 Jul 2020 18:34:43 +0000 (14:34 -0400)]
Update INFO.yaml in policy-distribution

Verified with Jessica W that the "type" should still be "Addition",
even when updating the PTL.
Updated to Mature, per TSC.

Issue-ID: POLICY-2738
Change-Id: I84b414b57280cfb1edca6a7dd690e647a41eddb8
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoAllocate a new server port for each test 06/110706/1
Jim Hahn [Wed, 29 Jul 2020 21:34:56 +0000 (17:34 -0400)]
Allocate a new server port for each test

Junit tests were failing randomly on the build server, perhaps due to
the fact that multiple tests attempt to bind to the server port, 6969.
Modified most of the tests to allocate their own server port.

Issue-ID: POLICY-2713
Change-Id: If40eef7989c9a46e2d458d915ed5bd0281ff0b0d
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoMerge "Sonar fixes for policy/distribution"
Ram Krishna Verma [Wed, 29 Jul 2020 18:34:45 +0000 (18:34 +0000)]
Merge "Sonar fixes for policy/distribution"

5 years agoSonar fixes for policy/distribution 30/110530/3
uj426b [Thu, 23 Jul 2020 20:17:24 +0000 (16:17 -0400)]
Sonar fixes for policy/distribution

Change-Id: Ia48406096706daaa6a98985c488b4055276863d3
Issue-ID: POLICY-2713
Signed-off-by: uj426b <uj426b@att.com>
5 years agoAdd Ajith to policy-distribution info 60/110560/1
Jim Hahn [Fri, 24 Jul 2020 16:47:16 +0000 (12:47 -0400)]
Add Ajith to policy-distribution info

Issue-ID: POLICY-2738
Change-Id: I826b45cca65391484d738ad6e6c56a0e69d11dfb
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoRemove hpa decoder from policy/distribution 23/110423/1
Ram Krishna Verma [Tue, 21 Jul 2020 19:19:48 +0000 (15:19 -0400)]
Remove hpa decoder from policy/distribution

Issue-ID: POLICY-2477
Change-Id: Iff4158e2322724265007d5a90459c3ebf62d3fc2
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRefer to snapshot versions 51/110351/1
Ram Krishna Verma [Fri, 17 Jul 2020 17:55:04 +0000 (13:55 -0400)]
Refer to snapshot versions

Issue-ID: POLICY-2695
Change-Id: I549efba73e0052e83408c9876ff5ea0658c2e6a1
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoBump policy/distribution to 2.4.1-SNAPSHOT 98/110098/2
Jim Hahn [Fri, 10 Jul 2020 19:22:57 +0000 (15:22 -0400)]
Bump policy/distribution to 2.4.1-SNAPSHOT

Issue-ID: POLICY-2695
Change-Id: I1ceafeaa50e8563605e5cbaa50e4b7b7769492f9
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoRelease distribution docker 2.4.0 artifacts 78/110078/1
Jim Hahn [Fri, 10 Jul 2020 15:09:42 +0000 (11:09 -0400)]
Release distribution docker 2.4.0 artifacts

Issue-ID: POLICY-2695
Change-Id: Iea81fc05445fc91777bfa052bc3499c7d16f71d8
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoRelease policy/distribution 2.4.0 36/110036/1
Jim Hahn [Thu, 9 Jul 2020 21:01:33 +0000 (17:01 -0400)]
Release policy/distribution 2.4.0

Issue-ID: POLICY-2695
Change-Id: Ibab5d66ca84f2d3e322d60143a396777dd9d3cee
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoRefer to released versions in policy-distribution 28/110028/1
Jim Hahn [Thu, 9 Jul 2020 13:39:19 +0000 (09:39 -0400)]
Refer to released versions in policy-distribution

Issue-ID: POLICY-2695
Change-Id: Ie4a0050c46e103507e1f99d6787609b7b96d8551
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoFix openpojo breakage in policy-distribution 27/109827/2
Jim Hahn [Fri, 3 Jul 2020 18:53:26 +0000 (14:53 -0400)]
Fix openpojo breakage in policy-distribution

Removing openmojo from the common/utils pom caused the policy-distribution
build to break.  Added openpojo to the appropriate pom in policy-distribution.

Issue-ID: POLICY-2387
Change-Id: I942480828e31340aa1ca90a71bb2c197eaaf8f4c
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoReplace try/catch blocks with assertj - dist 17/109717/4
waynedunican [Wed, 1 Jul 2020 07:39:47 +0000 (08:39 +0100)]
Replace try/catch blocks with assertj - dist

Replaced try/catch blocks in policy/distribution test cases with assertj assertions

Issue-ID: POLICY-2451
Change-Id: Ib7ecd13e39abd471bf1424d8a3db22c72ad1e3b8
Signed-off-by: waynedunican <wayne.dunican@est.tech>
5 years agoRemove checkstyle plugin from distribution pom 83/109383/1
Ram Krishna Verma [Fri, 19 Jun 2020 21:41:07 +0000 (17:41 -0400)]
Remove checkstyle plugin from distribution pom

Issue-ID: POLICY-2188
Change-Id: Ica82f2762095560dd155262fa77d3f7fefca9437
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoChanges for Checkstyle 8.32 in policy-distribution 58/109358/1
a.sreekumar [Fri, 19 Jun 2020 15:51:11 +0000 (16:51 +0100)]
Changes for Checkstyle 8.32 in policy-distribution

Change-Id: I8f9324279f24cc3b9d26f265c3dacd5b61ce856b
Issue-ID: POLICY-2188
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
5 years agoUpdating module names to resolve conflicts 80/109180/1
Ram Krishna Verma [Mon, 15 Jun 2020 21:49:31 +0000 (17:49 -0400)]
Updating module names to resolve conflicts

Issue-ID: POLICY-2365
Change-Id: I4f894f73b5f6296d823de3feff342c9ac1824e3e
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoget cert store passwords from env 71/109171/2
jhh [Mon, 15 Jun 2020 18:18:07 +0000 (13:18 -0500)]
get cert store passwords from env

Change-Id: I12d54c31b81e5088bea29d2392e5f6b357578673
Issue-ID: POLICY-2575
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoUpgrade sdc-tosca & sdc-distribution-client libraries 30/109030/1
Ram Krishna Verma [Wed, 10 Jun 2020 22:10:15 +0000 (18:10 -0400)]
Upgrade sdc-tosca & sdc-distribution-client libraries

Issue-ID: POLICY-2116
Change-Id: Ieaa6956ec2b0c3cb81463b359abf70f36708561d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoUse default serialization provider 89/108589/1
Jim Hahn [Fri, 29 May 2020 19:01:11 +0000 (15:01 -0400)]
Use default serialization provider

The default provider has been changed to gson, so the provider property
no longer has to be set.

Issue-ID: POLICY-1527
Change-Id: If37d8789a439be216bebab81317df5763c432190
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoUse snapshot versions 85/108585/1
Jim Hahn [Fri, 29 May 2020 18:51:25 +0000 (14:51 -0400)]
Use snapshot versions

Issue-ID: POLICY-1527
Change-Id: I533f11a48a3a0df5e675467a242e44580fbbfbb8
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoPoint to parent SNAPSHOT 38/108438/1
Pamela Dragosh [Thu, 28 May 2020 18:45:51 +0000 (14:45 -0400)]
Point to parent SNAPSHOT

Issue-ID: POLICY-2391
Change-Id: I7774fd6099282f71e43dedd4dfed8f7b02b10fa2
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBump distribution master to 2.4.0 61/107961/1
Pamela Dragosh [Wed, 20 May 2020 12:00:42 +0000 (08:00 -0400)]
Bump distribution master to 2.4.0

Issue-ID: POLICY-2514
Change-Id: I22bdaad652917f0d1a30c297fdfd48b7cabd76dd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBump distribution 2.3.3 30/107930/1
Pamela Dragosh [Tue, 19 May 2020 22:52:48 +0000 (18:52 -0400)]
Bump distribution 2.3.3

Issue-ID: POLICY-2514
Change-Id: I6093e20eb2918a5a5ebf070b5a96c58380d8b30e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoRelease distribution 2.3.2 docker 28/107928/1 6.0.0-ONAP
Pamela Dragosh [Tue, 19 May 2020 22:36:43 +0000 (18:36 -0400)]
Release distribution 2.3.2 docker

Issue-ID: POLICY-2514
Change-Id: I881c84307fc7dfe314c2e9ef223e9ba997807910
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoRelease distribution 2.3.2 19/107919/1
Pamela Dragosh [Tue, 19 May 2020 20:37:54 +0000 (16:37 -0400)]
Release distribution 2.3.2

Issue-ID: POLICY-2514
Change-Id: I209db8c51386044a5a09027b0c1c01724eefe39a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to released artifacts 94/107894/2
Pamela Dragosh [Tue, 19 May 2020 16:34:29 +0000 (12:34 -0400)]
Point to released artifacts

Issue-ID: POLICY-2514
Change-Id: I717741dc3227a55cdea4ec9163acddf61b5601f9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoFixing clearuppolicies counter issue 72/107872/2
RossC [Tue, 19 May 2020 11:32:53 +0000 (12:32 +0100)]
Fixing clearuppolicies counter issue

Issue-ID: POLICY-2458
Change-Id: I8aca5c2f4a4cae790ed8c129dcf542cab2dd50bd
Signed-off-by: RossC <ross.carter@est.tech>
5 years agoFrankfurt Distribution Performance Test 70/107670/4
RossC [Thu, 14 May 2020 09:40:00 +0000 (10:40 +0100)]
Frankfurt Distribution Performance Test

Issue-ID: POLICY-2458
Change-Id: I475ac795256db980ae68993a8cbc509d74278549
Signed-off-by: RossC <ross.carter@est.tech>
5 years agoStability tests and scripts for Frankfurt 21/107121/2
RossC [Tue, 5 May 2020 14:02:51 +0000 (15:02 +0100)]
Stability tests and scripts for Frankfurt

Issue-ID: POLICY-2458

Change-Id: I193d4ec14aee3313a6ea01bb9c02c048da09dbca
Signed-off-by: RossC <ross.carter@est.tech>
5 years agoPoint to latest SNAPSHOTs 72/106672/1
Pamela Dragosh [Mon, 27 Apr 2020 12:06:10 +0000 (08:06 -0400)]
Point to latest SNAPSHOTs

Security fix for glassfish, fixes in common/models and
parent.

Issue-ID: POLICY-2510
Change-Id: Iffb3a0ee13b5adb38b610bdd59b5c57c9a0d2c02
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBump distribution to 2.3.2-SNAPSHOT 08/106008/1
Ram Krishna Verma [Wed, 15 Apr 2020 12:31:43 +0000 (08:31 -0400)]
Bump distribution to 2.3.2-SNAPSHOT

Issue-ID: POLICY-2378
Change-Id: I09f030b2256d0cefe69d88cdedd3f5dc05472296
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease distribution 2.3.1 docker image 60/105960/1
Ram Krishna Verma [Tue, 14 Apr 2020 21:18:11 +0000 (17:18 -0400)]
Release distribution 2.3.1 docker image

Issue-ID: POLICY-2378
Change-Id: I91c053acadb05c2d2e0607b08cedaa5725388943
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease distribution 2.3.1 artifacts 49/105949/1
Ram Krishna Verma [Tue, 14 Apr 2020 19:35:16 +0000 (15:35 -0400)]
Release distribution 2.3.1 artifacts

Issue-ID: POLICY-2378
Change-Id: Ieaf10d9affb5fbdf759f753f8d7a880ea688453a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoPoint to released common/models 42/105942/1
Pamela Dragosh [Tue, 14 Apr 2020 18:53:53 +0000 (14:53 -0400)]
Point to released common/models

Issue-ID: POLICY-2378
Change-Id: I5e6222c187a1afee9cb37f1091f64a6057ef984e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to common/models fix 67/105867/1
Pamela Dragosh [Mon, 13 Apr 2020 20:15:10 +0000 (16:15 -0400)]
Point to common/models fix

Fix in naming policy and yaml coder string fix.

Issue-ID: POLICY-2486
Change-Id: If6af74ee77692ba08208555f0b55eb30544541aa
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to released parent, common models 22/105822/1
Pamela Dragosh [Sat, 11 Apr 2020 19:36:06 +0000 (15:36 -0400)]
Point to released parent, common models

Issue-ID: POLICY-2378
Change-Id: Idb05f97911fc1ebb5998467a5484973e5e650bae
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to parent SNAPSHOT 51/105251/1
Pamela Dragosh [Tue, 7 Apr 2020 12:39:53 +0000 (08:39 -0400)]
Point to parent SNAPSHOT

Issue-ID: POLICY-2378
Change-Id: I9c987e4a2ca3186b502aa64f8490ecc8a10e3452
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoAtomicInteger cleanup 06/104606/1
Pamela Dragosh [Fri, 27 Mar 2020 18:47:30 +0000 (14:47 -0400)]
AtomicInteger cleanup

Per Jim's last comments.

Issue-ID: POLICY-2305
Change-Id: I1bc73dcd264e9a122f6ec0eece08202cbcb3a8e9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to latest snapshots 93/104593/1
Pamela Dragosh [Fri, 27 Mar 2020 16:59:52 +0000 (12:59 -0400)]
Point to latest snapshots

Issue-ID: POLICY-2378
Change-Id: I3d6c118cb34202fc594b3ad7656b4f5ad75295f2
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUse AtomicInteger and other sonar 75/104575/1
Pamela Dragosh [Fri, 27 Mar 2020 15:12:11 +0000 (11:12 -0400)]
Use AtomicInteger and other sonar

Removed unused logger.
Added NOSONAR to main to remove security risk, as we do
validate arguments.
Used AtomicInteger.

Issue-ID: POLICY-2305
Change-Id: I18e91836e914b7fd6e3cd9a950dca58fcd8be5b5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoFix comments from last review 57/104557/1
Pamela Dragosh [Fri, 27 Mar 2020 12:10:25 +0000 (08:10 -0400)]
Fix comments from last review

Issue-ID: POLICY-2305
Change-Id: If0778cb7bdade11575cab12c4742274939cd22c7
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoRemove unused imports and clean logs 03/104503/2
Pamela Dragosh [Thu, 26 Mar 2020 14:03:11 +0000 (10:03 -0400)]
Remove unused imports and clean logs

Unused imports and marked an unused variable.
Added m2e eclipse settings (other repos have this).
Added some test logback.xml to clear out jetty debug
messages.
Replaced deprecated newInstance with getDeclaredConstructor.
newInstance
Either log or throw Exception - chose throw
Added some assertions to JUnit test.

Issue-ID: POLICY-2305
Change-Id: Ia4e9ce62dc7fb45aea247d470ca7245e694fc26e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to models 2.2.2 50/104450/1
Pamela Dragosh [Thu, 26 Mar 2020 00:00:42 +0000 (20:00 -0400)]
Point to models 2.2.2

Issue-ID: POLICY-2378
Change-Id: Ie58d8fca94c0062b62e4930a726fd26babd28d04
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBump policy/distribution to 2.3.1-SNAPSHOT 96/104296/1
Ram Krishna Verma [Tue, 24 Mar 2020 19:32:53 +0000 (15:32 -0400)]
Bump policy/distribution to 2.3.1-SNAPSHOT

Issue-ID: POLICY-2378
Change-Id: Ib343ff092b761c6642d9d0dcd4538ffd41423602
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease 2.3.0 docker artifacts for policy/distribution 79/104279/1
Ram Krishna Verma [Tue, 24 Mar 2020 17:32:19 +0000 (13:32 -0400)]
Release 2.3.0 docker artifacts for policy/distribution

Issue-ID: POLICY-2378
Change-Id: I547d83250731d41291eeb831064bf36f640e4f27
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease 2.3.0 artifacts for policy/distribution 73/104273/1
Ram Krishna Verma [Tue, 24 Mar 2020 16:26:32 +0000 (12:26 -0400)]
Release 2.3.0 artifacts for policy/distribution

Issue-ID: POLICY-2378
Change-Id: Ia20f526f1c5aeca8b4a6d4e11d72afcf6685327b
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoPoint to released artifacts 96/104196/1
Pamela Dragosh [Mon, 23 Mar 2020 14:41:02 +0000 (10:41 -0400)]
Point to released artifacts

parent, common and models are released.

Issue-ID: POLICY-2378
Change-Id: I9d171e66f5a85b7979bb7e6c663820e93083a7ab
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agorenew policy certs till 03/17/2021 83/103883/1
jhh [Wed, 18 Mar 2020 15:43:41 +0000 (10:43 -0500)]
renew policy certs till 03/17/2021

Change-Id: Ic3089d7c8697e500d49d454dfd21e9360a4df893
Issue-ID: POLICY-2402
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoRemove apex and engine properties 41/103041/1
Pamela Dragosh [Wed, 4 Mar 2020 18:18:17 +0000 (13:18 -0500)]
Remove apex and engine properties

These are not needed and may fail release.

Issue-ID: POLICY-2404
Change-Id: Ie212a8e0466814eccb6ee583fbbccc19d8ec7a9c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>