summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-12-15update references in policy/apex-pdp pomliamfallon2-4/+4
updated references in the policy/apex-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I2429296205d003f2da39aab2dbfafa32aaf66081
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: I7e92e0c48a50ed3099602293d74dbb168261e0ec
2022-10-26Make apex-pdp dockerfile consistentdanielhanrahan3-27/+41
Make apex dockerfile consistent with other PF dockerfiles: Change apexuser to policy user Remove duplicate copy of examples directory Issue-ID: POLICY-4411 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iee7560cf3263d13d38cd829af9b0389cbc256f49
2022-10-21Set snapshot and/or references of policy/apex-pdp for new releaseliamfallon69-73/+73
policy/apex-pdp 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: I3463647a8a3689518769a5fe5aaab2cfea8438e7
2022-10-21Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon69-72/+72
policy/apex-pdp 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: Ic5da8f09888e81bfe6b0132c8fd725a3a4a40aed
2022-10-21Release docker images for policy/apex-pdp: 2.8.1liamfallon1-0/+8
This commit releases docker images for repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I4eb4c192bd606b4509795be1dfbaa1340637cd3d
2022-10-21Release policy/apex-pdp: 2.8.1liamfallon1-0/+5
This commit releases repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Idf29efe6273b6e7911739a0c7639aca9fef547da
2022-10-21update references in policy/apex-pdp pomliamfallon2-4/+4
updated references in the policy/apex-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia6d496c122f1057b0e0ad62393421fef0d314e9f
2022-10-20Use managed version of apache tools commonliamfallon1-1/+0
Issue-ID: POLICY-4393 Change-Id: I107a1930fe93de0a30b82b7524b8b80b9995b667 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-19Fix some dependencies flagged in scansliamfallon1-2/+2
Issue-ID: POLICY-4393 Change-Id: Ie334fa225559d2bbe5cf0e490e7e07f3fa81eede Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-14Add support for KafkaAvroSerializer in apex-pdpRam Krishna Verma3-6/+47
Adding the support for KafkaAvroSerializer to deserialize the messages sent on a kafka topic using the KafkaAvroSerializer. The default StringDeserializer that comes from KafkaConsumer is not able to work with avro encoded messages. Issue-ID: POLICY-4369 Change-Id: Ia97bee9546baa78c237e21a220df9374b84121dd Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-09-28Add Kafka dependencySirisha_Manchikanti1-0/+5
Issue-ID: POLICY-4134 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I373140b42e3f22df3083572b9b55f1da711aa81b
2022-09-23Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon69-72/+72
policy/apex-pdp 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: Ib4d723d5d687714011e76f22edf6a6c6f44aad5b
2022-09-23Release docker images for policy/apex-pdp: 2.8.0liamfallon1-0/+8
This commit releases docker images for repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1a5dac4c30c7ac31de8ff5b326cbe69bccfa32c3
2022-09-23Release policy/apex-pdp: 2.8.0liamfallon1-0/+5
This commit releases repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7289066ecdab36da2401aab3243ff104c7a0f43e
2022-09-22update references in policy/apex-pdp pomliamfallon2-4/+4
updated references in the policy/apex-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I33ad4776113d66027c62c4e13a7f6d2feefccd86
2022-09-16Fix minor warnings in codeliamfallon7-17/+1
Issue-ID: POLICY-4045 Change-Id: I6e3a73e243614108cfd9ea6a6967cb983a006ee4 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: Ia0ab0e2b497f6fff2f035a4adbfdb5613d7044cb
2022-09-01Allow setting external dockerfile for apex-pdpdanielhanrahan1-0/+2
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: I52606f85b720449e8ed9b532e55200c9f825e3cd
2022-08-30Add example policy for AC element microservice testFrancescoFioraEst11-1/+631
Issue-ID: POLICY-4307 Change-Id: I0275bbacb3d2689f50f93eef541cd43601aab8ef Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-07-31Merge "Remove Kafka version, reference from integration"Liam Fallon2-9/+1
2022-07-29Remove Kafka version, reference from integrationSirisha_Manchikanti2-9/+1
Issue-ID: POLICY-4313 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ia07c5e9cb4ef29ac0110106228f0c1fa3df947a8
2022-07-29Update docker base image to snapshotliamfallon1-1/+1
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: If5d65a14fb695e2de6ec9031017e026b5dbdf089
2022-07-26Update APEX example to use JSON Schema plugina.sreekumar29-445/+596
Change-Id: Ic8b412ce0ca71b4452d67b1e4445e423b0ec5b54 Issue-ID: POLICY-4292 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-07-22Merge "Support MetadataSet generation in APEX CLI Editor"Liam Fallon8-17/+149
2022-07-20Adding JSON Schema support in APEX-PDPa.sreekumar14-4/+821
More details can be found here: https://wiki.onap.org/display/DW/JSON+Schema+support+in+APEX-PDP A separate review will be raised as part of POLICY-4292 with a reference example on how to use the JSON Schema. Change-Id: I903d48969c6c5a24c63b8465b2412ed0b75b9351 Issue-ID: POLICY-4291 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-07-18Support MetadataSet generation in APEX CLI Editorrameshiyer278-17/+149
In addition to the existing capabilities of CLI editor, new arguments added for generating Tosca policy template excluding the policy model entity. Also generates independent json file for node template comprising the policy model data. Issue-ID: POLICY-4084 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I7c6a9570846e3ebfaa3f4ebc8d60faa94b533240
2022-07-13Remove debian packaging from apex-pdp builddanielhanrahan6-338/+1
Issue-ID: POLICY-4285 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I599d05d19d97c70c5339c554d469c4c79b4c420e
2022-07-13Reduce size of docker images for APEX-PDPdanielhanrahan2-33/+19
Avoid creating extra layers when extracting tarball Remove redundant chown/chmod commands Reduce size of Alpine image by 25% (853MB to 638MB) Reduce size of OpenSuse image by 27% (826MB to 606MB) Issue-ID: POLICY-4272 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iebcad1d0b0f784b85a7d1e96c7b8edfd45b27060
2022-07-11Upgrade OpenSuse version to 15.4 for apex-pdpdanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ida486b651aa9d7ec9dde96668d33b3f0b73936f3
2022-06-28OCI image spec labels for APEX-PDPdanielhanrahan3-1/+44
Issue-ID: POLICY-4255 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iedd26861fe66d5cd11d168c9e6534a7c04676a42
2022-06-01Add Ramesh Murugan Iyer as a committerliamfallon1-0/+8
Issue-ID: POLICY-4228 Change-Id: Iab473d9b9fceb45cb3329e8964f78ef298df2835 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-31OpenSuse docker file for APEX-PDPdanielhanrahan3-1/+68
Create OpenSuse docker file Add build profile for OpenSuse docker image Issue-ID: POLICY-4190 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2a2635a0353ff4e402e8c9049245b947fe5781d3
2022-05-04APEX-PDP S3P changes for Jakartadanielhanrahan2-61/+99
Update credentials for healthcheck/policyadmin Use JMeter user defined variables in policies for SIM_HOST, DMAAP_PORT and CDS_PORT Issue-ID: POLICY-4010 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4f44b4721c24b70ef5dac24b8300350a2e34ed5f
2022-05-03Set snapshot and/or references of policy/apex-pdp for new releaseliamfallon66-70/+70
policy/apex-pdp 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: I36c398ac9f30480b55e7ad15b3fb4161d8999206 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon66-69/+69
policy/apex-pdp 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: If859b088c5975c8dda67c34f335658c98341be57
2022-04-28Release docker images for policy/apex-pdp: 2.7.3liamfallon1-0/+8
This commit releases docker images for repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ie9867ce1f7c26e596f3ce0214971a2ecc70d9403
2022-04-28Release policy/apex-pdp: 2.7.3liamfallon1-0/+5
This commit releases repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I2e79f4fda47b2982ad8f04e89960720246a4c518
2022-04-27update references in policy/apex-pdp pomliamfallon2-4/+4
updated references in the policy/apex-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id4f807154fa39b33e1f3316998f45952473156ce
2022-04-22Upgrade dependencies for JRuby for securityliamfallon1-1/+10
Issue-ID: POLICY-4070 Change-Id: I7ad7c3f6a98e7e3cac83cbe06a8111173a6bffe2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-13Update dependencies for securityliamfallon2-2/+2
Secure versions of Hazelcast and activeMQ are available. Issue-ID: POLICY-4070 Change-Id: I78ccef19af1e1cc212c3327a26ef44259c49ff90 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-12Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon66-69/+69
policy/apex-pdp 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: Ida537dd5acbd299893f3e30bac84146e134d3a0f
2022-04-12Release docker images for policy/apex-pdp: 2.7.2liamfallon1-0/+8
This commit releases docker images for repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifd249e3056583bb0469f5c1b0799a03544586f2b
2022-04-12Release policy/apex-pdp: 2.7.2liamfallon1-0/+5
This commit releases repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7b07c7ad1a04c0f84ea02dede5edada3fc8cdb53
2022-04-12update references in policy/apex-pdp pomliamfallon2-4/+4
updated references in the policy/apex-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id62dfd01928b8f46d7365a350fe5299b43f1f7e8
2022-04-08Fix wrong APEX-PDP behaviour during state changea.sreekumar1-1/+5
When a policy is deployed & undeployed, and then on doing PDP_STATE_CHANGE to passive and then active, previously undeployed policies are taken from memory and tried to be deployed. Any undeployed policies should be cleared from the engine memory. This is fixed here. Change-Id: I8f6fbc64d29bd8d89e906376d0770d375ffd8b82 Issue-ID: POLICY-4087 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-04-07Remove unused dependenciesliamfallon1-18/+0
Issue-ID: POLICY-4070 Change-Id: I2138dc4adb10227add14f22275427340fb71c426 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-31Bug fixes for APEX PDP metricsRashmi Pujar3-74/+22
1. APEX engine metrics were being initialized to 0 in the constructor which caused them to reset to 0. Hence, initialization is removed, and updates are done to metrics only upon: engineStart/Stop, executionEnter/Exit stages. 2. APEX engine Uptime was only updated when engine stopped, hence always 0. Also, uptime is redundant since it can be derived from lastStart timestamp and hence is removed as a metric. 3. Fixed a corner case bug which occurs when all policies are undeployed the counters are not correct. 4. Fix Unit tests Issue-ID: POLICY-4044 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I4d875ff288cf8c242a1851eb105e56dc69b97883
2022-03-23Account for batch deploy/undeploy in apex app metricsRashmi Pujar2-18/+58
Batch deploy/undeploy operations will now increment pdpa_policy_deployments_total counter by the total number of policies as present in the request. Issue-ID: POLICY-4043 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I9ea34d11f5952213b9e72d121ab85dcbd0b8dfc9
2022-03-11Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon66-69/+69
policy/apex-pdp 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: I838a8d4d6365de1df2feda9d7ba7ffefbfd82c4f