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
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
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>
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
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
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
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
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>
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>
Liam Fallon [Tue, 14 Feb 2023 10:49:22 +0000 (10:49 +0000)]
Merge "Remove annotations in models"
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>
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>
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>
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>
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>
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
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
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
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
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>
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
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
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
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
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
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
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
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
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
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>
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
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
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
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
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>
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
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
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
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
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>
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
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
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
Jorge Hernandez [Fri, 1 Jul 2022 16:00:35 +0000 (16:00 +0000)]
Merge "Fix simulator OpenSuse docker file"
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
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
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>
Liam Fallon [Thu, 30 Jun 2022 10:11:04 +0000 (10:11 +0000)]
Merge "OCI image spec labels for models-simulator"
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
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
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>
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)
Liam Fallon [Thu, 2 Jun 2022 08:07:45 +0000 (08:07 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"
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>
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
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>
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"
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
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
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
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
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
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
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
Liam Fallon [Mon, 21 Mar 2022 09:21:13 +0000 (09:21 +0000)]
Merge "Fix metadataSet serialization for db persistence and retrieval."
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
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
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
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
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
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
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
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>
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
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>
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
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>
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
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>
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
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
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
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>
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>
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>
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>
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>
liamfallon [Wed, 13 Oct 2021 18:29:38 +0000 (19:29 +0100)]
Bump policy/models to 2.5.2-SNAPSHOT
Issue-ID: POLICY-3696
Change-Id: Idbdbbe56e5daac2ce8ce780d2c8ce5ff54b8e006
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 13 Oct 2021 14:17:45 +0000 (15:17 +0100)]
Release policy/models artifacts for version 2.5.1
Issue-ID: POLICY-3696
Change-Id: Iee534442d6132be4ae760f47f742927defd401dc
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 13 Oct 2021 10:38:36 +0000 (11:38 +0100)]
Point at released policy/common and docker images
Issue-ID: POLICY-3696
Change-Id: I438f998a2f93ab1f00509a56f918216b50787fb7
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 6 Oct 2021 17:45:12 +0000 (18:45 +0100)]
Support in_range TOSCA Constraint
The TOSCA in_range constraint is not supported, causing errors to be
thrown in TOSCA control loop constraint edits.
Issue-ID: POLICY-3695
Change-Id: I95dec4118ce8572c5b76d528878c6782856e0a53
Signed-off-by: liamfallon <liam.fallon@est.tech>
Ram Krishna Verma [Mon, 20 Sep 2021 14:35:19 +0000 (10:35 -0400)]
Revert ignoring tests in models
Reverting ignoring of tests in models
as the staging job has been marked to skip tests.
Issue-ID: POLICY-3587
Change-Id: Ia5946d3b9402ba7810815e73eb207ac5c57a6c74
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
liamfallon [Wed, 15 Sep 2021 09:03:32 +0000 (10:03 +0100)]
Bump policy-models to 2.5.1-SNAPSHOT
Issue-ID: POLICY-3587
Change-Id: Idca2237777c1f7bda3fab89934dc97b9360fbc3d
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 14 Sep 2021 09:50:17 +0000 (10:50 +0100)]
Release policy-models 2.5.0
Issue-ID: POLICY-3587
Change-Id: I7fab026ee4f58baf73f960aba0d35f77fbd41257
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Mon, 13 Sep 2021 16:12:23 +0000 (17:12 +0100)]
Work around test failure in staging job
The "keytool" program does not exist in the Jenkins staging job
environment, so the test case that checks for a keytool error message
fails because an unexpected error message is received.
Other tests also break so the tests are morked with @Ignore for now.
Issue-ID: POLICY-3587
Change-Id: Ic43e5043c769ff6d2cf604f2a0f29fd4f6931b4b
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Mon, 13 Sep 2021 14:20:26 +0000 (15:20 +0100)]
Use policy-common released version in policy-models
Issue-ID: POLICY-3587
Change-Id: I609d0657aa1991ed7d3c1022af2ade25a6905f8f
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 9 Sep 2021 11:16:07 +0000 (12:16 +0100)]
Point at released policy-parent
Issue-ID: POLICY-3587
Change-Id: I799b3f36d6d362ba82dd359feb57accd9a7b53ae
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Thu, 9 Sep 2021 13:35:10 +0000 (13:35 +0000)]
Merge "Update INFO.yaml"
liamfallon [Wed, 8 Sep 2021 11:20:57 +0000 (12:20 +0100)]
Update INFO.yaml
Update the INFO.yaml file with latest information.
Issue-ID: POLICY-3552
Change-Id: I95b9164e7a208ca38dca31f5e71c65bc30531b84
Signed-off-by: liamfallon <liam.fallon@est.tech>
saul.gill [Tue, 31 Aug 2021 08:33:32 +0000 (09:33 +0100)]
Add check for null for policies and policy types
Add check when reading policies and policy types from db
Issue-ID: POLICY-3606
Change-Id: I7a1d96e4be1841243619e89c31dabc3e761dd17a
Signed-off-by: saul.gill <saul.gill@est.tech>