summaryrefslogtreecommitdiffstats
path: root/models-sim
AgeCommit message (Collapse)AuthorFilesLines
2023-10-12Change pdp sim java versionsaul.gill1-1/+1
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>
2023-09-22Java 17 Upgradeadheli.tavares26-213/+210
Issue-ID: POLICY-4669 Change-Id: I0157ae0ea7151658308c7e6d429098f16824c190 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-05-25Set all cross references of policy/modelsliamfallon2-2/+2
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
2023-05-25Set snapshot and/or references of policy/models for new releaseliamfallon7-7/+7
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
2023-04-25Update snapshot and/or references of policy/models to latest snapshotsrameshiyer279-9/+9
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
2023-04-24update parent,common references in policy/models pomrameshiyer272-2/+2
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
2023-03-14Update for SNI checkingliamfallon2-7/+13
Update policy/models for SNI checking Issue-ID: POLICY-4474 Change-Id: I394069e90235859bcb9ccd95d92682f73cfa5b86 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-28Update snapshot and/or references of policy/models to latest snapshotssaul.gill9-9/+9
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
2023-02-28update parent,common references in policy/models pomsaul.gill2-2/+2
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
2023-02-17Clean up dependencies for London Releaseliamfallon1-5/+1
Issue-ID: POLICY-4482 Change-Id: I36b4e46604ecdbde7bb8b81e2c792214fc77af9f Signed-off-by: liamfallon <liam.fallon@est.tech>
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-13Remove annotations in modelslapentafd1-21/+0
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-01-31Upgrade and clean up dependenciesliamfallon5-12/+24
- 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-15Update snapshot and/or references of policy/models to latest snapshotsliamfallon9-9/+9
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-15update parent,common references in policy/models pomliamfallon2-2/+2
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-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-10-21Set snapshot and/or references of policy/models for new releaseliamfallon9-9/+9
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 snapshotsliamfallon9-9/+9
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-20update parent,common references in policy/models pomliamfallon2-2/+2
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-09-22Update snapshot and/or references of policy/models to latest snapshotsliamfallon9-9/+9
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-22update parent,common references in policy/models pomliamfallon2-2/+2
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-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-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-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 releaseliamfallon7-7/+7
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-27Update snapshot and/or references of policy/models to latest snapshotsliamfallon7-7/+7
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
2022-04-12Update snapshot and/or references of policy/models to latest snapshotsliamfallon7-7/+7
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
2022-03-10Update snapshot and/or references of policy/models to latest snapshotsliamfallon7-7/+7
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
2022-01-21Add configurable port and authentication to DMaaP simulatordc443y1-0/+12
Issue-ID: POLICY-3890 Signed-off-by: dc443y <dc443y@att.com> Change-Id: Idbeb3590a767e51aa0058a7a45d56a61e81301cb
2021-11-26Update snapshot of policy/models to 2.6.1-SNAPSHOTliamfallon7-7/+7
*** 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
2021-10-21Fix for entrypoint to use sh instead of bash.adheli.tavares1-2/+2
Issue-ID: POLICY-3767 Change-Id: I463ebdcb75e39b5ee7098c0cee178988fc360788 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-10-19Improve AAI simulator by configuring responsesa.sreekumar2-1/+11
Change-Id: Ide7f572dac91110a5d560fc388dd87246c9d195b Issue-ID: POLICY-3709 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/models to Jakarta 2.6.0-SNAPSHOTliamfallon7-7/+7
Issue-ID: POLICY-3696 Change-Id: I66ec28e3a51a8f388b56ccbf211f71698cf5e8aa Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Bump policy/models to 2.5.2-SNAPSHOTliamfallon7-7/+7
Issue-ID: POLICY-3696 Change-Id: Idbdbbe56e5daac2ce8ce780d2c8ce5ff54b8e006 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Point at released policy/common and docker imagesliamfallon2-2/+2
Issue-ID: POLICY-3696 Change-Id: I438f998a2f93ab1f00509a56f918216b50787fb7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-20Revert ignoring tests in modelsRam Krishna Verma1-14/+0
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>
2021-09-15Bump policy-models to 2.5.1-SNAPSHOTliamfallon7-7/+7
Issue-ID: POLICY-3587 Change-Id: Idca2237777c1f7bda3fab89934dc97b9360fbc3d Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-13Work around test failure in staging jobliamfallon1-0/+14
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>
2021-08-31Add topics end point to dmaap simRam Krishna Verma4-3/+75
Add "/topics" end point to dmaap simulator. It will be used in CSIT tests to verify consolidated health check. Issue-ID: POLICY-3605 Change-Id: I6814d6dd021e0d98bd99754d4e68f789ef405353 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-07-21Added Xacml actorJim Hahn1-2/+2
Cloned the guard actor to use as a starting point for creating a more generic actor for interacting with the xacml-pdp. Also renamed various classes. Issue-ID: POLICY-3501 Change-Id: I9bd0107845de41a349d56259e6cfa6a3180efa25 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-12Delete extra simulator docker imagesJim Hahn38-1985/+41
The policy-models-simulator docker image, built from models-sim/packages, subsumes the functionality of the other simulator images. Deleted the other images. This simulator still needs some of the code from the dmaap-sim modules, so only deleted the code from the latter that is not needed by this simulator. Also modified the simulator launch script to use sh instead of bash. Issue-ID: POLICY-3474 Change-Id: Ie7f69b327a18c3e07f154124ae38975d5e6924f0 Signed-off-by: Jim Hahn <jrh3@att.com>