aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-02-14Update Dockerfile for PF base imageliamfallon2-2/+4
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>
2023-02-14Merge "Remove annotations in models"Liam Fallon12-60/+3
2023-02-14remove unused dependencyliamfallon1-4/+0
Issue-ID: POLICY-4482 Change-Id: I048683f81092fecc17b2f16f81393f5b21d62429 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-13Remove annotations in modelslapentafd12-60/+3
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>
2023-02-07Replace Eclipselink with Hibernateliamfallon33-464/+492
Issue-ID: POLICY-4533 Change-Id: I77a6c44c96013963e141265758629cae83e49876 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-31Upgrade and clean up dependenciesliamfallon48-190/+298
- 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>
2022-12-18Upgrade the H2 database to the latest versionliamfallon6-33/+35
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>
2022-12-15Update snapshot and/or references of policy/models to latest snapshotsliamfallon47-49/+49
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
2022-12-15Release docker images for policy/models: 2.8.0liamfallon1-0/+8
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
2022-12-15Release policy/models: 2.8.0liamfallon1-0/+5
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
2022-12-15update parent,common references in policy/models pomliamfallon3-4/+4
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
2022-12-13Use managed versions of dependenciesliamfallon2-2/+0
Issue-ID: POLICY-4482 Change-Id: I971332f3023261b5dfd149c5d344cf4565e01888 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-25Move git-commit-id-maven-plugin to parent pomdanielhanrahan1-19/+0
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
2022-11-14rename a1 policy example to putA1Policyjhh2-2/+2
Issue-ID: POLICY-4444 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I172fadf760a7eaddf594e03b05a8c94cba5ed5e1
2022-11-04Create A1P actor to talk to A1 PMS.jhh13-19/+543
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
2022-10-31Wrap sample SON policies with topology templatejhh4-114/+140
Issue-ID: POLICY-4427 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iac9003105533fe9e59914f5082ff5b99bb49706d
2022-10-21Set snapshot and/or references of policy/models for new releaseliamfallon46-49/+49
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
2022-10-21Update snapshot and/or references of policy/models to latest snapshotsliamfallon46-48/+48
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
2022-10-20Release docker images for policy/models: 2.7.1liamfallon1-0/+8
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
2022-10-20Release policy/models: 2.7.1liamfallon1-0/+5
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
2022-10-20update parent,common references in policy/models pomliamfallon3-4/+4
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
2022-10-19Fix some dependencies flagged in scansliamfallon2-1/+5
Issue-ID: POLICY-4393 Change-Id: I8ba3b906336d5200326e71d649a05363c43d79f0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-22Update snapshot and/or references of policy/models to latest snapshotsliamfallon46-48/+48
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
2022-09-22Release docker images for policy/models: 2.7.0liamfallon1-0/+8
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
2022-09-22Release policy/models: 2.7.0liamfallon1-0/+5
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
2022-09-22update parent,common references in policy/models pomliamfallon3-4/+4
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
2022-09-16Remove unused imports in modelsliamfallon9-10/+1
Issue-ID: POLICY-4045 Change-Id: Iae24996aa0b1047e993c1e08ae1265152a598ece Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-09Remove inactive committers from INFO.yamlliamfallon1-7/+5
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
2022-09-06Minor changes 5G SON operational policy examplesjhh4-7/+7
Issue-ID: POLICY-4108 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2ceb258f94734e8b743a97862c4b3d40c768fa43
2022-09-02Allow setting external dockerfile for simulatordanielhanrahan1-1/+3
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
2022-08-30Sample 5G SON A1 and O1 policiesjhh4-0/+128
Issue-ID: POLICY-4108 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id8df70ab7405ee6225443f6d98de834582f8de5d
2022-08-17Added onap.policies.monitoring.tcagen2 version 2.0.0jhh5-26/+566
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>
2022-07-29Update docker base image to snapshotliamfallon2-2/+2
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
2022-07-13Reduce size of docker images for models-simulatordanielhanrahan2-17/+19
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
2022-07-11Upgrade OpenSuse version to 15.4 for modelsdanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4ad815eacef7d3120d8cc8666c57b85e826abd05
2022-07-01Merge "Fix simulator OpenSuse docker file"Jorge Hernandez1-22/+11
2022-07-01Fix simulator OpenSuse docker filedanielhanrahan1-22/+11
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
2022-07-01Fix CSIT build failurerameshiyer271-1/+1
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
2022-06-30Fix simulator docker file and startup scriptliamfallon4-36/+157
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>
2022-06-30Merge "OCI image spec labels for models-simulator"Liam Fallon3-0/+41
2022-06-29use url resource for docker-tag -- modelsdanielhanrahan1-18/+4
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
2022-06-28OCI image spec labels for models-simulatordanielhanrahan3-0/+41
Issue-ID: POLICY-4262 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6b1fd846febd1e8fbd992254e2ea24d043ec3a4a
2022-06-27Add models-simulator release file to master branchliamfallon1-0/+5
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>
2022-06-17Release docker images for policy/models: 2.6.4liamfallon1-0/+8
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)
2022-06-02Merge "Add Ramesh Murugan Iyer as a committer"Liam Fallon1-0/+8
2022-06-01Add Ramesh Murugan Iyer as a committerliamfallon1-0/+8
Issue-ID: POLICY-4228 Change-Id: I25cfb53b171a6d8201478809e6bac54ace00ddaa Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-31OpenSuse docker file for policy-models-simulatordanielhanrahan4-2/+80
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
2022-05-03Set snapshot and/or references of policy/models for new releaseliamfallon44-47/+47
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>
2022-04-27Merge "Update snapshot and/or references of policy/models to latest snapshots"Liam Fallon44-46/+46
2022-04-27Update snapshot and/or references of policy/models to latest snapshotsliamfallon44-46/+46
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