aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-03-06Add log message when kserve setup is unavailable and improve coveragearavind.est4-8/+31
Add log message when kserve setup is unavailable. Improve code coverage. Issue-ID: POLICY-4525 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: If92fc38ceb8e3427e4b2c6045d2fd3ffcc106198
2023-02-27Fix sonar issuearavind.est1-4/+7
Fixed issue with InterruptedException Issue-ID: POLICY-4525 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: I9212469f0b695fea5907dacf185df8f5e77e7fee
2023-02-27Merge "Fix ClassCastException in ACM"Ramesh Murugan Iyer3-12/+22
2023-02-24Fix ClassCastException in ACMFrancescoFioraEst3-12/+22
Fix ClassCastException in ACM when acm-runtime starts after participants. Issue-ID: POLICY-4575 Change-Id: Icef82d3ba7f3847c821362ed063c1cf8e81604c5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-24Update permission of A1pms and Kserve dockerfilearavind.est6-0/+0
Issue-ID: POLICY-4525 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: Ib4e96d9f01d038debff650f07014aeeb75971e16
2023-02-24Merge "Add kserve docker image details in package"Liam Fallon3-2/+5
2023-02-22Add kserve docker image details in packagearavind.est3-2/+5
Issue-ID: POLICY-4525 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: I068d561ddf32619d632e94b1222badf20258539a
2023-02-22Merge "Fix UNDEPLOY transition in policyParticipant in ACM"Liam Fallon3-87/+139
2023-02-21Merge "Fix sonar security hotspot"Liam Fallon1-1/+8
2023-02-21Fix build in kserve participantliamfallon4-7/+1
The kserve participant build breaks due to refactoring in other classes. Issue-ID: POLICY-4482 Change-Id: I023fb74faad4b3b0d80d9fb8771d9b58497db191 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-20Merge "Add kserve participant"Liam Fallon31-0/+2077
2023-02-20Merge "Clean up dependencies for London Release"Liam Fallon8-25/+13
2023-02-20Merge "Fix deregister message timing"Ramesh Murugan Iyer1-2/+1
2023-02-17Clean up dependencies for London Releaseliamfallon8-25/+13
Issue-ID: POLICY-4482 Change-Id: I8210a48b1080e715ef279c4fedae8dcb6165756f Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-17Fix sonar security hotspotsaul.gill1-1/+8
Fixed issue with InterruptedException Issue-ID: POLICY-4562 Change-Id: I44f43a5f48091dc5c608009e286773264db33c04 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-17Fix UNDEPLOY transition in policyParticipant in ACMFrancescoFioraEst3-87/+139
Fix UNDEPLOY transition in policyParticipant when there are more then one service template defined Issue-ID: POLICY-4561 Change-Id: Ib05b995a215d9f5f62c69f7058db128474f48dab Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-17Merge "Update Dockerfile for PF base image"Pamela Dragosh6-6/+12
2023-02-17Fix deregister message timingsaul.gill1-2/+1
Deregister message was not sent in time before participant shutdown Issue-ID: POLICY-4499 Change-Id: If830299e15d784df589b83d9e3e2e0aa20289df7 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-17Add kserve participantaravind.est31-0/+2077
Issue-ID: POLICY-4525 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: I00c3c9bc02eb7e424c459100517db90f5e8b738c
2023-02-17Merge "Fix participantHtml issue with multi instances in ACM"Liam Fallon4-121/+124
2023-02-17Merge "Remove AutomationCompositionState from ACM"Liam Fallon7-165/+0
2023-02-16Merge "Add undeploy on deregister (participant-side)"Liam Fallon4-0/+93
2023-02-16Merge "Automate S3P tests in ACM"Liam Fallon3-8/+57
2023-02-16Fix participantHtml issue with multi instances in ACMFrancescoFioraEst4-121/+124
In AutomationCompositionElementHandler of participantHtml in ACM, refactor the result of the httpClient, that should not be a parameter class, and handle InterruptedException Issue-ID: POLICY-4560 Change-Id: Id5af639734f29f3600b12205bb83d315a162df99 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-16Remove AutomationCompositionState from ACMFrancescoFioraEst7-165/+0
Issue-ID: POLICY-4559 Change-Id: Ib088c76fd39fcaf8fc7b5f315880e2619186caec Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-15Merge "Refactor yaml files in ACM"Liam Fallon18-55/+21
2023-02-15Merge "Implement recording of Operational State and Usage State on ACM-R"Ramesh Murugan Iyer17-363/+461
2023-02-15Automate S3P tests in ACMwaynedunican3-8/+57
- Trigger the ACM S3P tests - Update .jmx files Issue-ID: POLICY-4156 Change-Id: I47df1d3bad1fc4b55e73354aea2483bc37d66ee7 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2023-02-15Add undeploy on deregister (acm-side)saul.gill5-2/+117
State of Ac Elements associated with participant changed on deregister Issue-ID: POLICY-4499 Change-Id: I54265c13deebd77d654fb843a33f7267d4276b76 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-14Add undeploy on deregister (participant-side)saul.gill5-3/+93
Undeploy triggered by participant deregister Deregister triggers context close Issue-ID: POLICY-4499 Change-Id: I28729323626b69621ed6a51f6426ecd7cc49799c Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-14Update Dockerfile for PF base imageliamfallon6-6/+12
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: Idf5c1565fd74b17bcabc137f5292ebc097c3d246 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-14Implement recording of Operational State and Usage State on ACM-RFrancescoFioraEst17-363/+461
Issue-ID: POLICY-4511 Change-Id: I3a241bf602e6625d91cee2dc5242b76165bcd381 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-14Merge "Deployment and undeployment on Participant Intermediary"Liam Fallon21-524/+379
2023-02-14Merge "Add stubs and tests for ppnt controller"Liam Fallon6-2/+292
2023-02-14Refactor yaml files in ACMFrancescoFioraEst18-55/+21
Refactor Supported ACM element types and align element type version in all examples Issue-ID: POLICY-4512 Change-Id: Ic810fc1a98237d1b6fb816dccb1fcbe61a675c1e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-13Add stubs and tests for ppnt controllersaul.gill6-2/+292
Added stubs Added tests Added node state and elements to all participant endpoint Issue-ID: POLICY-4557 Change-Id: Ia76831ec02f9a308e39f138a3b24f3baced62095 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-13Remove unnecessary dependencies in policy/clampliamfallon2-6/+0
Issue-ID: POLICY-4482 Change-Id: Id303d1203ebe0e490e1e9b964f3133ed4269019b Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-13Deployment and undeployment on Participant IntermediaryFrancescoFioraEst21-524/+379
Handle AC Element Instance Deployment and undeployment on Participant Intermediary. Issue-ID: POLICY-4507 Change-Id: I6a6976a8893450467ee609a1a476dbfa473a0e82 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-10Merge "Initial support for Implement recording of Operational State"Liam Fallon11-205/+173
2023-02-10Merge "Contract Tests policy-clamp"Liam Fallon2-2/+2
2023-02-10Initial support for Implement recording of Operational StateFrancescoFioraEst11-205/+173
Remove AutomationCompositionState and AutomationCompositionOrderedState in Jpa classes add validation to not update deployed instances Issue-ID: POLICY-4550 Change-Id: If18915a4be6b67dda83ff3ca5457ed52d0e8ddf2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-08Contract Tests policy-clamplapentafd2-2/+2
Moving Contract tests in a new package, verifying the stubbed implementation. Issue-ID: POLICY-4533 Change-Id: Ibd5c9d8b9a2685439bc9d335910882e3f2668d7d Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2023-02-08Implement AC Element Instance Locking and Unlocking on ACM-RFrancescoFioraEst22-615/+448
Issue-ID: POLICY-4509 Change-Id: I8bca27cfa2a417314a27e2bec3938b538f05e346 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-08Merge "Replace Eclipselink with Hibernate"Ramesh Murugan Iyer2-5/+11
2023-02-03Handle AC Element Instance Deployment and undeployment on ACM-RFrancescoFioraEst22-469/+301
Part of the implementation related to Deployment and undeployment, missing part will be implemented in POLICY-4509. push-upstream: POLICY-4506 Change-Id: Ie7ad2da6c0a3286938fc4993d70ee71caee833ba Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-03Merge "Refactor ParticipantUpdate to ParticipantPrime"Ramesh Murugan Iyer19-179/+179
2023-02-02Replace Eclipselink with Hibernateliamfallon2-5/+11
Issue-ID: POLICY-4533 Change-Id: Iefaacb546812ccb660f32be012a44283c90b334a Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-02Refactor ParticipantUpdate to ParticipantPrimesaul.gill19-179/+179
Refactored ParticipantUpdateAck to ParticipantPrimeAck Refactored ParticipantUpdate to ParticipantPrime Refactored all associated tests and code Issue-ID: POLICY-4548 Change-Id: I2265777add4e088173ec465603e26143e3f40070 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-02Fix issue in StartAndStop Activator TestFrancescoFioraEst2-21/+13
Issue-ID: POLICY-4547 Change-Id: I2b9320c79b9a9ab6df587065b7a0638ff06d16be Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-01Upgrade and clean up dependenciesliamfallon30-189/+165
- 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: I7356d60696330e868d4f67195ba55b80987f85b9 Signed-off-by: liamfallon <liam.fallon@est.tech>