policy/models.git
6 months agoRelease docker images for policy/models: 3.0.1 32/136232/1
liamfallon [Wed, 18 Oct 2023 10:53:04 +0000 (11:53 +0100)]
Release docker images for policy/models: 3.0.1

This commit releases docker images for repo policy/models.

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

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

6 months agoRelease policy/models: 3.0.1 31/136231/1
liamfallon [Wed, 18 Oct 2023 10:28:05 +0000 (11:28 +0100)]
Release policy/models: 3.0.1

This commit releases repo policy/models.

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

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

6 months agoupdate parent,common references in policy/models pom 28/136228/1
liamfallon [Wed, 18 Oct 2023 09:53:11 +0000 (10:53 +0100)]
update parent,common references in policy/models pom

updated the parent and common references in the policy/models pom

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

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

6 months agoFix version.properties major version 14/136214/1
liamfallon [Wed, 18 Oct 2023 08:07:46 +0000 (09:07 +0100)]
Fix version.properties major version

Fix version.properties major version

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

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

6 months agoChange pdp sim java version 54/136154/1
saul.gill [Thu, 12 Oct 2023 09:27:38 +0000 (10:27 +0100)]
Change pdp sim java version

Change java path version to java 17 in dockerfile

Issue-ID: POLICY-4853
Change-Id: Ib9edb67ccea6623ad7e04264a974031dbe1e0a65
Signed-off-by: saul.gill <saul.gill@est.tech>
6 months agoFix nexus and sonar vulnerabilities 69/136069/2
adheli.tavares [Thu, 28 Sep 2023 17:26:22 +0000 (18:26 +0100)]
Fix nexus and sonar vulnerabilities

- IQ nexus dependencies
- sonar hotspots and code smells

Issue-ID: POLICY-4760
Change-Id: Ic4260c568f9d9164a33aacb34a5ff3a6f91b1bd8
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
7 months agoJava 17 Upgrade 05/136005/1
adheli.tavares [Thu, 27 Jul 2023 09:12:59 +0000 (10:12 +0100)]
Java 17 Upgrade

Issue-ID: POLICY-4669
Change-Id: I0157ae0ea7151658308c7e6d429098f16824c190
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
8 months agoRemoved db-based statistics feature 11/133911/9
Suresh Charan [Wed, 29 Mar 2023 13:45:13 +0000 (09:45 -0400)]
Removed db-based statistics feature

Statistics code cleanup

Issue-ID: POLICY-4109
Change-Id: I4b94d8c0c9b0ff68569c5861f8797920efe67b17
Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
11 months agoSet all cross references of policy/models 61/134661/1
liamfallon [Thu, 25 May 2023 09:46:35 +0000 (10:46 +0100)]
Set all cross references of policy/models

policy/models 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: I7fe05023875bfeaaa0ecabad4a25470d83f8fd87

11 months agoSet snapshot and/or references of policy/models for new release 48/134648/1
liamfallon [Thu, 25 May 2023 08:40:59 +0000 (09:40 +0100)]
Set snapshot and/or references of policy/models for new release

policy/models 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: I1a25ce15a06c13e57e37f1a36bb390f145e1a21a

11 months agoAdd Adheli Tavares as a committer 09/134409/2
liamfallon [Tue, 2 May 2023 11:10:38 +0000 (12:10 +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: I8606b535549d624b83e5cfd3a5843298dec9b56a

12 months agoUpdate snapshot and/or references of policy/models to latest snapshots 16/134316/1
rameshiyer27 [Tue, 25 Apr 2023 08:47:23 +0000 (09:47 +0100)]
Update snapshot and/or references of policy/models to latest snapshots

policy/models updated to its latest own and reference snapshots

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

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

12 months agoRelease docker images for policy/models: 2.8.2 09/134309/1
rameshiyer27 [Mon, 24 Apr 2023 16:25:35 +0000 (17:25 +0100)]
Release docker images for policy/models: 2.8.2

This commit releases docker images for repo policy/models.

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

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

12 months agoRelease policy/models: 2.8.2 08/134308/1
rameshiyer27 [Mon, 24 Apr 2023 15:46:40 +0000 (16:46 +0100)]
Release policy/models: 2.8.2

This commit releases repo policy/models.

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

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

12 months agoupdate parent,common references in policy/models pom 05/134305/1
rameshiyer27 [Mon, 24 Apr 2023 15:03:31 +0000 (16:03 +0100)]
update parent,common references in policy/models pom

updated the parent and common references in the policy/models 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: I7f086964761bce49653a3ddd6c2ae25b25548534

13 months agoUpdate for SNI checking 58/133658/1
liamfallon [Tue, 14 Mar 2023 17:10:16 +0000 (17:10 +0000)]
Update for SNI checking

Update policy/models for SNI checking

Issue-ID: POLICY-4474
Change-Id: I394069e90235859bcb9ccd95d92682f73cfa5b86
Signed-off-by: liamfallon <liam.fallon@est.tech>
13 months agoUpdate snapshot and/or references of policy/models to latest snapshots 68/133468/1
saul.gill [Tue, 28 Feb 2023 15:41:52 +0000 (15:41 +0000)]
Update snapshot and/or references of policy/models to latest snapshots

policy/models 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: Ie25a8dc3903b0f3536defa87570b5cb65120e8b7

13 months agoRelease docker images for policy/models: 2.8.1 61/133461/1
saul.gill [Tue, 28 Feb 2023 15:07:50 +0000 (15:07 +0000)]
Release docker images for policy/models: 2.8.1

This commit releases docker images for repo policy/models.

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

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

13 months agoRelease policy/models: 2.8.1 60/133460/1
saul.gill [Tue, 28 Feb 2023 14:47:19 +0000 (14:47 +0000)]
Release policy/models: 2.8.1

This commit releases repo policy/models.

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

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

13 months agoupdate parent,common references in policy/models pom 56/133456/1
saul.gill [Tue, 28 Feb 2023 13:40:07 +0000 (13:40 +0000)]
update parent,common references in policy/models pom

updated the parent and common references in the policy/models 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: I4e085757b8751af939fa381557cdfd69f8f1ab72

14 months agoClean up dependencies for London Release 22/133322/2
liamfallon [Fri, 17 Feb 2023 19:13:56 +0000 (19:13 +0000)]
Clean up dependencies for London Release

Issue-ID: POLICY-4482
Change-Id: I36b4e46604ecdbde7bb8b81e2c792214fc77af9f
Signed-off-by: liamfallon <liam.fallon@est.tech>
14 months agoUpdate Dockerfile for PF base image 81/133281/1
liamfallon [Tue, 14 Feb 2023 11:34:22 +0000 (11:34 +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: I7245db2d485e72d130008155999242e15e60d611
Signed-off-by: liamfallon <liam.fallon@est.tech>
14 months agoMerge "Remove annotations in models"
Liam Fallon [Tue, 14 Feb 2023 10:49:22 +0000 (10:49 +0000)]
Merge "Remove annotations in models"

14 months agoremove unused dependency 41/133241/1
liamfallon [Tue, 14 Feb 2023 10:35:09 +0000 (10:35 +0000)]
remove unused dependency

Issue-ID: POLICY-4482
Change-Id: I048683f81092fecc17b2f16f81393f5b21d62429
Signed-off-by: liamfallon <liam.fallon@est.tech>
14 months agoRemove annotations in models 37/133237/1
lapentafd [Mon, 13 Feb 2023 17:00:32 +0000 (17:00 +0000)]
Remove annotations in models

Removing last annotations in order to remove dependencies in parent

Issue-ID: POLICY-3465
Change-Id: Id7a070120d452e33af805b08b37dd1eba1374615
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
14 months agoReplace Eclipselink with Hibernate 29/133129/4
liamfallon [Thu, 2 Feb 2023 14:43:12 +0000 (14:43 +0000)]
Replace Eclipselink with Hibernate

Issue-ID: POLICY-4533
Change-Id: I77a6c44c96013963e141265758629cae83e49876
Signed-off-by: liamfallon <liam.fallon@est.tech>
14 months agoUpgrade and clean up dependencies 79/133079/1
liamfallon [Tue, 31 Jan 2023 10:41:01 +0000 (10:41 +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: Ie8d6ee1e8bcdad282bcef3cad409c5c109e907f1
Signed-off-by: liamfallon <liam.fallon@est.tech>
16 months agoUpgrade the H2 database to the latest version 95/132795/1
liamfallon [Sun, 18 Dec 2022 02:26:01 +0000 (02:26 +0000)]
Upgrade the H2 database to the latest version

The latest verison of H2 does not allow colums called "user" or indexes
using an underscore in their name.

Issue-ID: POLICY-4488
Change-Id: I1db62768b0c0f85543c2f7d3681243f8386825e7
Signed-off-by: liamfallon <liam.fallon@est.tech>
16 months agoUpdate snapshot and/or references of policy/models to latest snapshots 44/132744/1
liamfallon [Thu, 15 Dec 2022 12:39:31 +0000 (12:39 +0000)]
Update snapshot and/or references of policy/models to latest snapshots

policy/models 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: I89001c25b23e41b2d53adaa7b405f6cf5d124cb1

16 months agoRelease docker images for policy/models: 2.8.0 36/132736/1
liamfallon [Thu, 15 Dec 2022 12:11:09 +0000 (12:11 +0000)]
Release docker images for policy/models: 2.8.0

This commit releases docker images for repo policy/models.

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

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

16 months agoRelease policy/models: 2.8.0 35/132735/1
liamfallon [Thu, 15 Dec 2022 11:48:47 +0000 (11:48 +0000)]
Release policy/models: 2.8.0

This commit releases repo policy/models.

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

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

16 months agoupdate parent,common references in policy/models pom 31/132731/1
liamfallon [Thu, 15 Dec 2022 11:05:02 +0000 (11:05 +0000)]
update parent,common references in policy/models pom

updated the parent and common references in the policy/models pom

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

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

16 months agoUse managed versions of dependencies 94/132694/1
liamfallon [Tue, 13 Dec 2022 14:46:16 +0000 (14:46 +0000)]
Use managed versions of dependencies

Issue-ID: POLICY-4482
Change-Id: I971332f3023261b5dfd149c5d344cf4565e01888
Signed-off-by: liamfallon <liam.fallon@est.tech>
17 months agoMove git-commit-id-maven-plugin to parent pom 71/132471/1
danielhanrahan [Fri, 25 Nov 2022 15:46:35 +0000 (15:46 +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: I17679d17471482bf52f80a2a7e250f7a06469deb

17 months agorename a1 policy example to putA1Policy 89/132189/1
jhh [Mon, 14 Nov 2022 15:23:11 +0000 (09:23 -0600)]
rename a1 policy example to putA1Policy

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

17 months agoCreate A1P actor to talk to A1 PMS. 11/132011/1
jhh [Fri, 4 Nov 2022 16:50:17 +0000 (11:50 -0500)]
Create A1P actor to talk to A1 PMS.

This relates to the support for the SON use case.

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

17 months agoWrap sample SON policies with topology template 22/131922/1
jhh [Mon, 31 Oct 2022 16:28:10 +0000 (11:28 -0500)]
Wrap sample SON policies with topology template

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

18 months agoSet snapshot and/or references of policy/models for new release 95/131695/1
liamfallon [Fri, 21 Oct 2022 16:42:50 +0000 (17:42 +0100)]
Set snapshot and/or references of policy/models for new release

policy/models 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: Ie62a24c34694977b9bbbab9554bce5b54648afb7

18 months agoUpdate snapshot and/or references of policy/models to latest snapshots 24/131624/1
liamfallon [Fri, 21 Oct 2022 07:05:56 +0000 (08:05 +0100)]
Update snapshot and/or references of policy/models to latest snapshots

policy/models 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: Icc6e8bf7de2a207946fbba5eb3bdbabd0a347c49

18 months agoRelease docker images for policy/models: 2.7.1 22/131622/1
liamfallon [Thu, 20 Oct 2022 21:54:02 +0000 (22:54 +0100)]
Release docker images for policy/models: 2.7.1

This commit releases docker images for repo policy/models.

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

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

18 months agoRelease policy/models: 2.7.1 20/131620/1
liamfallon [Thu, 20 Oct 2022 20:49:57 +0000 (21:49 +0100)]
Release policy/models: 2.7.1

This commit releases repo policy/models.

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

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

18 months agoupdate parent,common references in policy/models pom 13/131613/1
liamfallon [Thu, 20 Oct 2022 19:12:03 +0000 (20:12 +0100)]
update parent,common references in policy/models pom

updated the parent and common references in the policy/models pom

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

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

18 months agoFix some dependencies flagged in scans 46/131546/1
liamfallon [Wed, 19 Oct 2022 08:28:07 +0000 (09:28 +0100)]
Fix some dependencies flagged in scans

Issue-ID: POLICY-4393
Change-Id: I8ba3b906336d5200326e71d649a05363c43d79f0
Signed-off-by: liamfallon <liam.fallon@est.tech>
19 months agoUpdate snapshot and/or references of policy/models to latest snapshots 17/131117/1
liamfallon [Thu, 22 Sep 2022 22:21:59 +0000 (23:21 +0100)]
Update snapshot and/or references of policy/models to latest snapshots

policy/models 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: I0192824c0bf84e444690020aa33b69467a162052

19 months agoRelease docker images for policy/models: 2.7.0 04/131104/1
liamfallon [Thu, 22 Sep 2022 20:41:10 +0000 (21:41 +0100)]
Release docker images for policy/models: 2.7.0

This commit releases docker images for repo policy/models.

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

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

19 months agoRelease policy/models: 2.7.0 02/131102/1
liamfallon [Thu, 22 Sep 2022 20:04:17 +0000 (21:04 +0100)]
Release policy/models: 2.7.0

This commit releases repo policy/models.

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

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

19 months agoupdate parent,common references in policy/models pom 98/131098/1
liamfallon [Thu, 22 Sep 2022 18:28:34 +0000 (19:28 +0100)]
update parent,common references in policy/models pom

updated the parent and common references in the policy/models pom

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

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

19 months agoRemove unused imports in models 86/130986/1
liamfallon [Fri, 16 Sep 2022 16:40:21 +0000 (17:40 +0100)]
Remove unused imports in models

Issue-ID: POLICY-4045
Change-Id: Iae24996aa0b1047e993c1e08ae1265152a598ece
Signed-off-by: liamfallon <liam.fallon@est.tech>
19 months agoRemove inactive committers from INFO.yaml 24/130824/1
liamfallon [Fri, 9 Sep 2022 09:17:26 +0000 (10:17 +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: Iff58c5e5ea517dfe5c24b0b1f282320404d6a51e

19 months agoMinor changes 5G SON operational policy examples 66/130766/1
jhh [Tue, 6 Sep 2022 17:45:49 +0000 (12:45 -0500)]
Minor changes 5G SON operational policy examples

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

19 months agoAllow setting external dockerfile for simulator 56/130656/1
danielhanrahan [Fri, 2 Sep 2022 08:35:48 +0000 (09:35 +0100)]
Allow setting external dockerfile for simulator

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: I25a192d01583f1085055db08477e9be884512091

19 months agoSample 5G SON A1 and O1 policies 25/130525/1
jhh [Tue, 30 Aug 2022 21:14:03 +0000 (16:14 -0500)]
Sample 5G SON A1 and O1 policies

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

20 months agoAdded onap.policies.monitoring.tcagen2 version 2.0.0 42/130342/2
jhh [Wed, 17 Aug 2022 23:47:56 +0000 (18:47 -0500)]
Added onap.policies.monitoring.tcagen2 version 2.0.0

Issue-ID: POLICY-4317
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I34158cd21777b6127fd4a306b73fa3446e302c99
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
20 months agoUpdate docker base image to snapshot 71/130071/1
liamfallon [Fri, 29 Jul 2022 14:27:56 +0000 (15:27 +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: I74a71ccd1034a0bce76237acfedb2fd53a2fd590

21 months agoReduce size of docker images for models-simulator 03/129903/1
danielhanrahan [Fri, 8 Jul 2022 16:23:55 +0000 (17:23 +0100)]
Reduce size of docker images for models-simulator

Avoid creating extra layers when extracting tarball
Remove redundant chown/chmod commands
Reduce size of Alpine image by 48% (593MB to 307MB)
Reduce size of OpenSuse image by 38% (761MB to 470MB)

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

21 months agoUpgrade OpenSuse version to 15.4 for models 74/129874/1
danielhanrahan [Mon, 11 Jul 2022 15:09:57 +0000 (16:09 +0100)]
Upgrade OpenSuse version to 15.4 for models

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

21 months agoMerge "Fix simulator OpenSuse docker file"
Jorge Hernandez [Fri, 1 Jul 2022 16:00:35 +0000 (16:00 +0000)]
Merge "Fix simulator OpenSuse docker file"

21 months agoFix simulator OpenSuse docker file 32/129732/1
danielhanrahan [Fri, 1 Jul 2022 11:52:00 +0000 (12:52 +0100)]
Fix simulator OpenSuse docker file

Follow the same conventions as other docker files and startup scripts

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

21 months agoFix CSIT build failure 31/129731/1
rameshiyer27 [Fri, 1 Jul 2022 11:29:26 +0000 (12:29 +0100)]
Fix CSIT build failure

Policy models simulator is not using the properties file from /etc/mounted/ directory that is provided
from CSIT. SSL has been disabled in the default properties file which causes communication failure with other
components.

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

21 months agoFix simulator docker file and startup script 25/129725/1
liamfallon [Wed, 29 Jun 2022 13:04:09 +0000 (14:04 +0100)]
Fix simulator docker file and startup script

The nmodels-simulator startup script is updated to:
- enable logging
- allow overriding of keystore and truststore
- allow overriding of configuration parameters
- Follow the same conventions as other docker files and startup scripts
- Add labelling
- Provide default configuration

Issue-ID: POLICY-4233
Change-Id: I6c25dc77c510a52ec298883f2534428807b1c253
Signed-off-by: liamfallon <liam.fallon@est.tech>
21 months agoMerge "OCI image spec labels for models-simulator"
Liam Fallon [Thu, 30 Jun 2022 10:11:04 +0000 (10:11 +0000)]
Merge "OCI image spec labels for models-simulator"

21 months agouse url resource for docker-tag -- models 18/129718/1
danielhanrahan [Wed, 29 Jun 2022 10:23:27 +0000 (11:23 +0100)]
use url resource for docker-tag -- models

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

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

21 months agoOCI image spec labels for models-simulator 16/129716/1
danielhanrahan [Tue, 28 Jun 2022 14:00:28 +0000 (15:00 +0100)]
OCI image spec labels for models-simulator

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

22 months agoAdd models-simulator release file to master branch 94/129694/3
liamfallon [Mon, 27 Jun 2022 14:25:49 +0000 (15:25 +0100)]
Add models-simulator release file to master branch

We are not releasing anything with this addition. We are adding the yaml
file from the Jakarta branch for releasing policy models 2.6.4.

Issue-ID: POLICY-4233
Change-Id: Ib5bad96137c5f48c7c6eb8d5a9233e96ba11b80b
Signed-off-by: liamfallon <liam.fallon@est.tech>
22 months agoRelease docker images for policy/models: 2.6.4 63/129563/1
liamfallon [Tue, 14 Jun 2022 13:57:46 +0000 (14:57 +0100)]
Release docker images for policy/models: 2.6.4

This commit releases docker images for repo policy/models.

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

Issue-ID: POLICY-4233
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic762db281750033f98537b4e4d490045f3d8b68a
Signed-off-by: liamfallon <liam.fallon@est.tech>
(cherry picked from commit ebf9e345929633d69786ab5ca653fb3f66e40b43)

22 months agoMerge "Add Ramesh Murugan Iyer as a committer"
Liam Fallon [Thu, 2 Jun 2022 08:07:45 +0000 (08:07 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"

22 months agoAdd Ramesh Murugan Iyer as a committer 41/129441/1
liamfallon [Wed, 1 Jun 2022 11:59:32 +0000 (12:59 +0100)]
Add Ramesh Murugan Iyer as a committer

Issue-ID: POLICY-4228
Change-Id: I25cfb53b171a6d8201478809e6bac54ace00ddaa
Signed-off-by: liamfallon <liam.fallon@est.tech>
22 months agoOpenSuse docker file for policy-models-simulator 16/129416/2
danielhanrahan [Fri, 27 May 2022 15:23:38 +0000 (16:23 +0100)]
OpenSuse docker file for policy-models-simulator

Create OpenSuse docker file
Add build profile for OpenSuse docker image

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

23 months agoSet snapshot and/or references of policy/models for new release 48/129048/1
liamfallon [Tue, 3 May 2022 16:21:44 +0000 (17:21 +0100)]
Set snapshot and/or references of policy/models for new release

policy/models 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: I0101973870c989f148e76c52c81fda410451d441
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoMerge "Update snapshot and/or references of policy/models to latest snapshots"
Liam Fallon [Wed, 27 Apr 2022 20:38:38 +0000 (20:38 +0000)]
Merge "Update snapshot and/or references of policy/models to latest snapshots"

2 years agoUpdate snapshot and/or references of policy/models to latest snapshots 14/128914/1
liamfallon [Wed, 27 Apr 2022 19:55:29 +0000 (20:55 +0100)]
Update snapshot and/or references of policy/models to latest snapshots

policy/models 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: I5851243a29a820aeab21525f3396752340d41a49

2 years agoFix the name of SO processing class in Policy 07/128807/6
zhaoyh6 [Sun, 24 Apr 2022 06:21:36 +0000 (14:21 +0800)]
Fix the name of SO processing class in Policy

A new processing class of SO is added in policy, but the name of the processing
class was written incorrectly before.

Issue-ID: POLICY-4106
Signed-off-by: zhaoyh6 <zhaoyh6@asiainfo.com>
Change-Id: Ibfea9f56ed8e2fdb87cd2113a477ff4bfaa0af71

2 years agoRelease policy/models: 2.6.3 03/128903/1
liamfallon [Wed, 27 Apr 2022 12:26:54 +0000 (13:26 +0100)]
Release policy/models: 2.6.3

This commit releases repo policy/models.

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

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

2 years agoupdate parent,common references in policy/models pom 92/128892/1
liamfallon [Wed, 27 Apr 2022 08:46:45 +0000 (09:46 +0100)]
update parent,common references in policy/models pom

updated the parent and common references in the policy/models pom

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

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

2 years agoUpdate snapshot and/or references of policy/models to latest snapshots 07/128507/1
liamfallon [Tue, 12 Apr 2022 17:41:35 +0000 (18:41 +0100)]
Update snapshot and/or references of policy/models to latest snapshots

policy/models 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: I9017a7f0c84d9981f49baab59744e8f273aa91df

2 years agoRelease policy/models: 2.6.2 99/128499/1
liamfallon [Tue, 12 Apr 2022 17:09:05 +0000 (18:09 +0100)]
Release policy/models: 2.6.2

This commit releases repo policy/models.

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

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

2 years agoupdate parent,common references in policy/models pom 97/128497/1
liamfallon [Tue, 12 Apr 2022 15:50:10 +0000 (16:50 +0100)]
update parent,common references in policy/models pom

updated the parent and common references in the policy/models pom

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

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

2 years agoMerge "Fix metadataSet serialization for db persistence and retrieval."
Liam Fallon [Mon, 21 Mar 2022 09:21:13 +0000 (09:21 +0000)]
Merge "Fix metadataSet serialization for db persistence and retrieval."

2 years agoFix metadataSet serialization for db persistence and retrieval. 85/127785/1
rameshiyer27 [Mon, 14 Mar 2022 15:24:25 +0000 (15:24 +0000)]
Fix metadataSet serialization for db persistence and retrieval.

PDP fails to parse metadataSet from PDP_UPDATE message. MetadataSet(Lob)
needs to be serialized and de-serialized for storage/retrieval to
preserve the format.

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

2 years agoClosed loop operation guarantee for ccvpn 89/127389/4
zhaoyh6 [Tue, 1 Mar 2022 06:58:07 +0000 (14:58 +0800)]
Closed loop operation guarantee for ccvpn

Issue-ID: REQ-1074
Signed-off-by: zhaoyh6 <zhaoyh6@asiainfo.com>
Change-Id: Ib2c60a1e5ebd1fda5e04e75c265e863733caa278

2 years agoUpdate snapshot and/or references of policy/models to latest snapshots 14/127614/1
liamfallon [Thu, 10 Mar 2022 09:12:32 +0000 (09:12 +0000)]
Update snapshot and/or references of policy/models to latest snapshots

policy/models 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: Ia409ca1501edff6e1014d06a7fdee805befc5e17

2 years agoRelease policy/models: 2.6.1 05/127605/1
liamfallon [Wed, 9 Mar 2022 19:12:10 +0000 (19:12 +0000)]
Release policy/models: 2.6.1

This commit releases repo policy/models.

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

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

2 years agoupdate parent,common references in policy/models pom 00/127600/1
liamfallon [Wed, 9 Mar 2022 15:49:32 +0000 (15:49 +0000)]
update parent,common references in policy/models pom

updated the parent and common references in the policy/models pom

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

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

2 years agoFix for ClassCastException on PfConceptContainer get method usages 69/127269/2
Rashmi Pujar [Thu, 24 Feb 2022 04:40:54 +0000 (23:40 -0500)]
Fix for ClassCastException on PfConceptContainer get method usages

Typecasting Map to NavigableMap leads to ClassCastException.
The usages of the get methods in delete policy, policyType
endpoints in policy/api (using spring data jpa) cause the
unchecked class-cast exception. Fix is to instead copy the
Map entries into a newly created TreeMap instance.

Issue-ID: POLICY-3924
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I60625980d6f2692ffa7dd3bd9f53d10b43c13f4a

2 years agoFix return type of get node templates provider 71/127171/1
rameshiyer27 [Wed, 16 Feb 2022 23:07:34 +0000 (23:07 +0000)]
Fix return type of get node templates provider

The return type for fetching node templates can be just a List of
ToscaNodetemplates. Removing the map with node template keys as it
provides redundant keys in the output.

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

2 years agoFix issue with GeneratedValue in PfGeneratedIdKey 29/127129/5
a.sreekumar [Tue, 15 Feb 2022 12:16:30 +0000 (12:16 +0000)]
Fix issue with  GeneratedValue in PfGeneratedIdKey

PfGeneratedIdKey class (which is used as a composite key
in JpaPolicyAudit and JpaPdpStatistics) uses GeneratedValue
in a wrong way and not according to the specification.
This review fixes it. PfGeneratedIdKey class is removed, and the
generatedId is directly specified in the JpaPolicyAudit and
JpaPdpStatistics classes.

Note: These classes are only used by PAP, so the related methods for db
interaction is removed as PAP directly talks to DB using spring
repository layer. Also the only end result this change brings is that the
'generatedId' alone will be used as the primary key instead of
'generatedId, name and version' together.

Corresponding changes in
DB Migrator: https://gerrit.onap.org/r/c/policy/docker/+/127139
PAP: https://gerrit.onap.org/r/c/policy/pap/+/127130

Change-Id: Ib4ea8b60ffe5c2480746569c0354bf474a6b7006
Issue-ID: POLICY-3897
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoAdd policy metadataSet handling as node templates 09/127009/3
rameshiyer27 [Mon, 7 Feb 2022 17:07:38 +0000 (17:07 +0000)]
Add policy metadataSet handling as node templates

Each metadataSet is represented as a 'node_template' in Tosca
mapped to a specific node type.
Support added for db operations of node templates as
independent entities.

Detailed documentation available here :
https://wiki.onap.org/display/DW/Enable+Handling+of+Policy+Type+Metadata

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

2 years agoAdd postgres dependency to models 90/126790/2
waynedunican [Thu, 27 Jan 2022 07:10:46 +0000 (07:10 +0000)]
Add postgres dependency to models

Issue-ID: POLICY-2715
Change-Id: Id23cde33d8bafccc69f751491d90c0936d793b59
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2 years agoAdd configurable port and authentication to DMaaP simulator 12/126712/1
dc443y [Fri, 21 Jan 2022 20:43:18 +0000 (14:43 -0600)]
Add configurable port and authentication to DMaaP simulator

Issue-ID: POLICY-3890
Signed-off-by: dc443y <dc443y@att.com>
Change-Id: Idbeb3590a767e51aa0058a7a45d56a61e81301cb

2 years agoFix issues in existing entity classes 92/126492/6
a.sreekumar [Thu, 6 Jan 2022 14:52:15 +0000 (14:52 +0000)]
Fix issues in existing entity classes

Issues identified in the entity classes are fixed in this
review. Some fixes doesn't affect the table structure at all.
Tables actually affected by some of these fixes are not really used today, and doesn't
contain any data. A separate review is raised for the db-migrator
changes.

Change-Id: I0efdf2c5f17e12225f1b443b5fe8e27c578229f7
Issue-ID: POLICY-3871
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoextend vnf properties model for cds actors 24/126324/6
jhh [Thu, 16 Dec 2021 22:15:33 +0000 (16:15 -0600)]
extend vnf properties model for cds actors

CDS operations for VNFs default to vFirewall-like behavior for
AAI queries where vserver and target resources are required.

The properties refactoring allows for enriched
vnf-id behavior (similar to vCPE) and provides some leg work
for other extensions.

Fix dmaap simulator sporadic test errors in junits

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

2 years agoBump parent and common version 26/126026/1
a.sreekumar [Thu, 2 Dec 2021 14:40:54 +0000 (14:40 +0000)]
Bump parent and common version

Change-Id: I3d528cb1086dd444c043fb54cbe0698729e6e1f2
Issue-ID: POLICY-3827
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoUpdate snapshot of policy/models to 2.6.1-SNAPSHOT 21/125921/1
liamfallon [Fri, 26 Nov 2021 09:30:04 +0000 (09:30 +0000)]
Update snapshot of policy/models to 2.6.1-SNAPSHOT

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

This commit updates the snapshot of the repo to the next patch version.

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

2 years agoRelease policy/models: 2.6.0 79/125879/1
liamfallon [Thu, 25 Nov 2021 10:30:36 +0000 (10:30 +0000)]
Release policy/models: 2.6.0

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

This is the sixth phase in releasing images, it releases policy/models.

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

2 years agoUpdate parent and common references 73/125873/1
liamfallon [Wed, 24 Nov 2021 16:27:59 +0000 (16:27 +0000)]
Update parent and common references

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

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

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

2 years agoFix Db connection issues in TOSCA control loop 60/125460/2
FrancescoFioraEst [Wed, 27 Oct 2021 09:18:32 +0000 (10:18 +0100)]
Fix Db connection issues in TOSCA control loop

Issue-ID: POLICY-3153
Change-Id: I28a7962027a9cb383238a6d3765a46a905f8e58b
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoPoint to snapshot dependency 38/125338/1
Ram Krishna Verma [Mon, 25 Oct 2021 22:05:09 +0000 (18:05 -0400)]
Point to snapshot dependency

Issue-ID: POLICY-3788
Change-Id: Ief434babe80980cbe97170011d168e94ee4045aa
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoFix for entrypoint to use sh instead of bash. 48/125148/3
adheli.tavares [Wed, 20 Oct 2021 08:00:26 +0000 (09:00 +0100)]
Fix for entrypoint to use sh instead of bash.

Issue-ID: POLICY-3767
Change-Id: I463ebdcb75e39b5ee7098c0cee178988fc360788
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoImprove AAI simulator by configuring responses 32/125032/5
a.sreekumar [Fri, 15 Oct 2021 17:02:21 +0000 (18:02 +0100)]
Improve AAI simulator by configuring responses

Change-Id: Ide7f572dac91110a5d560fc388dd87246c9d195b
Issue-ID: POLICY-3709
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoBump policy/models to Jakarta 2.6.0-SNAPSHOT 71/124971/1
liamfallon [Thu, 14 Oct 2021 11:00:54 +0000 (12:00 +0100)]
Bump policy/models to Jakarta 2.6.0-SNAPSHOT

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