aboutsummaryrefslogtreecommitdiffstats
path: root/testsuites
AgeCommit message (Collapse)AuthorFilesLines
2023-10-11Fix run-s3p-test.shsaul.gill1-2/+2
Add missing arg in script Issue-ID: POLICY-4853 Change-Id: I13ebc1351b32877813d266f2dbdf86dfa7b05e04 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-09-22Java 17 Upgradeadheli.tavares25-187/+254
Updated dependencies to latest versions Made Java 17 changes Moved apex dependencies versions to main apex pom Issue-ID: POLICY-4675 Change-Id: Ia5cd5670a1f024f5402cbd7371162ce3313930ef Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-05-25Set snapshot and/or references of policy/apex-pdp for new releaseliamfallon9-9/+9
policy/apex-pdp 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: I6bed34d4561b33b442102994f8e028691ef3769d
2023-04-25Update snapshot and/or references of policy/apex-pdp to latest snapshotsSuresh Charan9-9/+9
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: Suresh Charan <suresh.charan@bell.ca> Change-Id: I5300f1a9075a38d8a68e43306acc4961ed3804c0
2023-03-14Update for SNI Chceckingliamfallon4-11/+13
SNI checking is now supported in Jersey Issue-ID: POLICY-4474 Change-Id: I6afc2d577493485f151887180ef152303c456f3a Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-03-01Update snapshot and/or references of policy/apex-pdp to latest snapshotssaul.gill9-9/+9
policy/apex-pdp 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: Ie8c858d0026057a7e9d756a1b8481bc0337ba00d
2023-02-17Clean up dependencies for London Releaseliamfallon3-16/+9
Issue-ID: POLICY-4482 Change-Id: Ifc4039feaac82a1fa4bf1f2eb602f79c7a268b9f Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-15Automate S3P tests in Apexwaynedunican3-15/+64
- Trigger S3P test execution Issue-ID: POLICY-4156 Change-Id: Iaf73a3b39b76c0239cc518fb87a6cf02b41d2e26 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-12-15Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon9-9/+9
policy/apex-pdp 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: Ia964f8a4e9fceb9f38f4b560b641af10cda312da
2022-10-21Set snapshot and/or references of policy/apex-pdp for new releaseliamfallon9-9/+9
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 snapshotsliamfallon9-9/+9
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-09-23Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon9-9/+9
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-16Fix minor warnings in codeliamfallon2-5/+1
Issue-ID: POLICY-4045 Change-Id: I6e3a73e243614108cfd9ea6a6967cb983a006ee4 Signed-off-by: liamfallon <liam.fallon@est.tech>
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 releaseliamfallon9-9/+9
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 snapshotsliamfallon9-9/+9
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-12Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon9-9/+9
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-07Remove unused dependenciesliamfallon1-18/+0
Issue-ID: POLICY-4070 Change-Id: I2138dc4adb10227add14f22275427340fb71c426 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon9-9/+9
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-11Remove bad dependency in apex POMliamfallon1-6/+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-10Remove bad dependency in apex POMliamfallon13-61999/+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-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-02-11Remove apex-pdp unused core modulesliamfallon10-739/+5
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 submodulesliamfallon1-1/+1
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-08Remove JAXB and XML, use GSON for JSONliamfallon5-438/+420
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-04Remove JPA annotations from apex-pdp codeliamfallon2-14/+2
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-pdpliamfallon5-207/+2
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-25Merge "Add TOSCA policy status header field to APEX event create CLI"Liam Fallon6-27/+26
2022-01-24Add TOSCA policy status header field to APEX event create CLIRashmi Pujar6-27/+26
In order to expose the processing status of a TOSCA policy to APEX-PDP, a new header field for APEX concept "event" has been introduced to track this within an APEX policy implementation. This field will be leveraged to extract the TOSCA policy execution metrics. Note, that the field is marked as optional for backward compatibility. Unit tests have been augmented to test for the field wherever applicable and the default empty value is retained for the others. "example-grpc" module has been updated to include this field. Exposing the TOSCA policy execution metrics is outside the scope of this patch since the current changes are already very large owing to the atomic nature of the change introduced. Issue-ID: POLICY-3845 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: Ief6d70f9abcfc8414e10aa51a27815ee9028e4c8
2022-01-18Update to SECCOM recommended dependenciesliamfallon1-0/+17
SECCOM has issued a directive on which dependencies should be used, see this wiki page: https://wiki.onap.org/display/SV/Jakarta+Policy This is the policy parent review to comply with the SECCOM directive. Zookeeper is added as a test dependency, it is no longer pulled in as a transitive dependency by Kafka. Issue-ID: POLICY-3849 Change-Id: Id504b308cd4e806e9e2e9489842abf1a7f93b9dc Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-06Exclude log4j test dependencyliamfallon1-2/+6
There is a transitive test dependency in apex-pdp on log4j, doesn't show up in the CLM reports (because it is a test dependency). Removing the dependency. Issue-ID: POLICY-3862 Change-Id: Ic9121cf4405678efcf805f711ccb9f36269178d3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-29Update snapshot of policy/apex-pdp to 2.7.1-SNAPSHOTliamfallon9-9/+9
*** This commit is generated by a PF release script *** policy/apex-pdp is update from 2.7.0-SNAPSHOT to 2.7.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I334dda447490f6c3e848be7b58f4a5119ae70ead
2021-10-14Bump policy/apex-pdp to Jakarta 2.7.0-SNAPSHOTa.sreekumar9-9/+9
Change-Id: I8ead26be4968b94980dcafd269c7ab32022b34d0 Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/apex-pdp to 2.6.2-SNAPSHOTa.sreekumar9-9/+9
Change-Id: I0db6ab5efb0595cba86ce9cbaaafab88349818ff Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-08APEX-PDP S3P changes for Istanbula.sreekumar6-1310/+11102
Change-Id: I58f564ef19df39f2c0fff64a72c9f083faf88556 Issue-ID: POLICY-3655 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-15Bump apex-pdp to 2.6.1-SNAPSHOTa.sreekumar9-9/+9
Change-Id: Ie39d324e02a302b882318d46735a727322ce409d Issue-ID: POLICY-3587 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-01Fix sonars in apex-pdp #3Jim Hahn8-26/+31
Fixed: - use "var" - use assertEquals instead of assertTrue(xxx.equals()) - separate assertions Issue-ID: POLICY-3093 Change-Id: Id4db62626948681cd267e68a56dda65fa355c6f8 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-24Use CompareToBuilderJim Hahn2-16/+10
Also added lombok to test classes. Issue-ID: POLICY-3391 Change-Id: I9ecf479f3861a2e5211b037e885029d1719b6a56 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-06Use lombok in apex-pdp #5Jim Hahn21-474/+116
Updated examples thru integration-executor-test. Issue-ID: POLICY-3391 Change-Id: Idc707146a646d05720675a787761c199484048e9 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-06Use lombok in apex-pdp #4Jim Hahn20-356/+85
Updated model, testsuites, and tools. Issue-ID: POLICY-3391 Change-Id: I187d84380661f5d4222967c1c5f004c318d65982 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-29Improve APEX logging for irrelevant eventsa.sreekumar1-1/+2
When multiple policies are expecting event on the same topic/endpoint, a lot of event parsing failure log messages are generated unnecessarily. With this change, only a 1 line message will be printed if an event cannot be parsed, and the detailed messages will be available at debug level. Change-Id: If1e7460ef5ed86fd470396f1e2ed8cc3c8af70c4 Issue-ID: POLICY-3499 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-07-02Cleanup input & outputFields from Task definitiona.sreekumar2-41/+11
1) Remove the usage of inputField and outputField from Task definition. 2) Fix issues around populating events to task in case of State Finalizer Logic. Change-Id: Ief17f400729410b83c6b7c665980d443e0cf6f28 Issue-ID: POLICY-3336 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-06-29Merge "Fix sonar issues in apex plugins and testsuites"Liam Fallon4-116/+117
2021-06-25Fix sonar issues in apex plugins and testsuiteslapentafd4-116/+117
Replacing local-variable type inference Issue-ID: POLICY-3093 Change-Id: I715231d6cf71d13c87b260b9f903910f9a5c434f Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-06-24Update apex-pdp for checkstyle 8.43liamfallon3-6/+6
Issue-ID: POLICY-3206 Change-Id: I3873c85aab577e85a9ae6b610c3871ee4de6ea53 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-05-12Fix issue where apex-pdp test is failing in gitlaba.sreekumar1-3/+4
One of the testcases in APEX-PDP is failing only in gitlab, but not failing in jenkins or local builds. The reason is "/I/Dont/Exist*" is an invlaid path in jenkins etc, but it is valid in gitlab somehow. Changing this to "/I/Dont/Exist\0" so that the path is invalid irrespective of the build platform. Change-Id: I42bbc9ae21f0d827082f446f8dd416dcc10349e2 Issue-ID: POLICY-3306 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-05-03Remove GroupValidationResultJim Hahn5-167/+43
Removed GroupValidationResult, replacing it with BeanValidationResult. Modified the ParameterGroup subclasses to use BeanValidator, adding annotations where needed to trigger the validations that had been automatically performed by GroupValidationResult. Issue-ID: POLICY-2059 Change-Id: I2c0c01fac355e6cde4d8d6998dc42f8a2e2ebb65 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-22Merge "Fix name of target-database property in persistence.xml files"Liam Fallon1-5/+5
2021-04-19Fix name of target-database property in persistence.xml filesktimoney1-5/+5
Updated property javax.persistence.target-database to eclipselink.target-database Removed tools/tools-common/testing.txt Added Modifications Copyright to headers Updated Postgres references to MySQL Updated user information Issue-ID: POLICY-3059 Change-Id: I42ad294458809c0a3dca4d3ce9dd1ae5a7daa417 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-04-15Update jMeter test filesarkadiusz.adamski2-2256/+5175
- Update performance test file - Update stability test file Issue-ID: POLICY-3109 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: Ibcab9cd012ed9ea50cb389f45ae7d8149b850a2d