aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-11-25update 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-4465 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ide2bf18e40350f2ee928456e5a0627733de42a2f
2022-10-17Add 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> (cherry picked from commit b1296de01e61cb8d8e2a8476bad108b2046783de)
2022-09-02Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon68-71/+71
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4333 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia61f4baec514607ff255371d87b983dee4adc316
2022-09-02Release docker images for policy/apex-pdp: 2.7.4liamfallon1-0/+8
This commit releases docker images for repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4333 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I48fab843be5c9568819354131d9114c7c1a4ffc4
2022-09-02Release policy/apex-pdp: 2.7.4liamfallon1-0/+5
This commit releases repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4333 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Idbfdcf52d01629a49805e1e613c22fe793267a6e
2022-09-02update 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-4333 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I96752e4db1079ca41ccafc91784b32b4750b8748
2022-08-01Adding 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> (cherry picked from commit c354fba3fb87ebe21a7fbb2a15268ccc9d033fbd)
2022-07-01update policy-models referencesliamfallon1-1/+1
update policy model references *** This commit is generated by a PF release script *** Issue-ID: POLICY-4270 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7bff65038f705437c17c35cae6b38104e7bead66 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-08Update default branch in .gitreviewliamfallon1-1/+1
Update default branch in .gitreview to jakarta *** This commit is generated by a PF release script *** Issue-ID: POLICY-4234 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id60e3c2fcd5a59be2184354bb5901377eff0a6c7
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 (cherry picked from commit 6be0d55c23de2c4f245fce0ae710cfdf24cd1660)
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
2022-03-11Release docker images for policy/apex-pdp: 2.7.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-3982 Change-Id: I4e07720786470b2247139b2a27b1793987f165fc Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Release policy/apex-pdp: 2.7.1liamfallon1-0/+5
This commit releases repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I9790e4cf6a4e53e320f58ce4bbb3c79206e44eee
2022-03-11Remove bad dependency in apex POMliamfallon1-7/+0
Eclipselink and direct persistence was removed from Apex in Jakarta. Issue-ID: POLICY-3982 Change-Id: I5f6d2a31b51688d78662d6a30208a96a61869555 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Remove bad dependency in apex POMliamfallon2-11/+0
Websocket carrier, which used jax-rs was removed in Jakarta. Issue-ID: POLICY-3982 Change-Id: Ia8a3919968166a52e802f5d04c9c2a984208a338 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Merge "Remove bad dependency in apex POM"Liam Fallon14-62004/+1
2022-03-10Remove bad dependency in apex POMliamfallon14-62004/+1
XML event protocol was removed as jax-rs dependencies were removed in Jakarta. Issue-ID: POLICY-3982 Change-Id: I5e8881ae8062fd46b46a1ec655e1210b8ccf2fbf Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-10Merge "Remove bad dependency in apex POM"Ajith Sreekumar1-10/+0
2022-03-10Remove bad dependency in apex POMliamfallon1-10/+0
The Apex model modules were all collapsed into a single module in Jakarta. Issue-ID: POLICY-3982 Change-Id: Ibeebb7c89ca6057ce2f9333d14183e9da75e11a1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-10Merge "Remove bad dependency in apex POM"Ajith Sreekumar1-6/+0
2022-03-10Remove bad dependency in apex POMliamfallon1-6/+0
The Apex core modules were all collapsed into a single module in Jakarta. Issue-ID: POLICY-3982 Change-Id: I76e039fa58d4338d03331aa818ee44ea58451930 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-10Merge "Remove bad dependeny in apex POM"Ajith Sreekumar1-5/+1
2022-03-10Remove bad dependeny in apex POMliamfallon1-5/+1
The apex models utils module has been collapsed in tho the apex models module. Issue-ID: POLICY-3982 Change-Id: I0563034c87d30d3b73af74647ba15f47aaf98cde Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-10update 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-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I908f81ff66d652ce97f82763887ad08034de6900 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-23Add support for retrieving apex-policyModel from metadatarameshiyer275-3/+345
Apex policyModel had been provided under policy properties for apex-pdp. Additional support included to retrieve the policyModel from metadata if PAP supplied it as metadataSet. Issue-ID: POLICY-3834 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ic810d78cf01c507c5b4d167f28ae6f7729132238
2022-02-11Remove apex-pdp unused core modulesliamfallon162-5951/+55
This is the final review in the refactoring of the model code in apex-pdp. The core-messaging and core-infrastructure modules are unused in apex-pdp except for websocket communication. Websocket communication is also not used in any deployment. This review: - removes the core-mesaging module, which had an apex-specific websocket implementation, except for the MessageException class, which is moved to the base core module - removes the core-infrastructure module, except for the ThreadUtils class, which is moved to the base core module - removes the websocket event protocol, which used core-messaging but is not used in any deployment - collapses all three "core" submodules into a single module - Updates dependencies where needed Issue-ID: POLICY-1820 Change-Id: Ieae30063e99570e61943372d3fa23b77a211462c Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-10Collapse apex-pdp maven model submodulesliamfallon225-777/+43
This review collapses all the code in six podel submodules into a single model module. There are no code changes, just files moved around. This change reduces the complexity of the code structure and speeds up the build. Issue-ID: POLICY-1820 Change-Id: Ifb644e8ec85ae6d0987378f4616fbc8a8858a9a8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-10Merge "rename metrics as per global constants for prometheus"Liam Fallon6-71/+82
2022-02-09rename metrics as per global constants for prometheusRashmi Pujar6-71/+82
Issue-ID: POLICY-3760 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I0fb59e8d9c95fd81a1754bb769705ef753b9022d
2022-02-09Merge "Remove JAXB and XML, use GSON for JSON"Jorge Hernandez160-25576/+28120
2022-02-08Remove JAXB and XML, use GSON for JSONliamfallon160-25576/+28120
This review converst apex-pdp to use GSON for JSON handling. In order to preserve backward compatibility with the JAXB format of JSON, custom handling of maps was required. Therefore, the policy-common StandardCoder could not be used. There are a lot of small changes, removing annotations from concepts and tweaking of test data. However, this cleans up the code base so it is worth doing. Issue-ID: POLICY-1820 Change-Id: I213fa64f6d7f3f1df8d10f111d9fbedbe80f9fe0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-07Expose APEX policy execution metricsRashmi Pujar1-2/+42
Testing of these metrics will be covered in CSIT. Issue-ID: POLICY-3845 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I8aed49d113f071ab33691f8cf1df624f3358386a
2022-02-04Remove JPA annotations from apex-pdp codeliamfallon35-602/+49
This review is part of a series of reviews to move the apex-pdp state machine model to use the base model types in policy models. Persistence of policies for apex-pdp is now implemented in PAP and API. The historic direct load and save functionality for APEX policy state machine models to and from databases is no longer used and no longer supported. This commit removes JPA annotations form apex-pdp code. Subsequent reviews will mvoe the mdoel across to use the policy models base model types. Issue-ID: POLICY-1820 Change-Id: I91a45a0ca6c88f9ba4b201bad920065f95ffb31e Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-03Remove direct DB Load/Save from apex-pdpliamfallon64-4137/+265
This review is part of a series of reviews to move the apex-pdp state machine model to use the base model types in policy models. Persistence of policies for apex-pdp is now implemented in PAP and API. The historic direct load and save functionality for APEX policy state machine models to and from databases is no longer used and no longer supported. This revmoves the DAO code from apex-pdp and the associated handling and test code. The next review will remove the JPA annotations. Subsequent reviews will mvoe the mdoel across to use the policy models base model types. Issue-ID: POLICY-1820 Change-Id: Iabf034b40a413d32fe62091fe3446f52ec30d3af Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-27Remove references to MariaDB from resource fileswaynedunican3-26/+44
Issue-ID: POLICY-2086 Change-Id: If38af6a319211c96f8be94f32551dc00b91d6ed1 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-01-26Merge "Fix intermittent build test error"Liam Fallon1-2/+2