policy/clamp.git
2 years agoAdd failure handling support in Intermediary 05/134805/1
FrancescoFioraEst [Wed, 7 Jun 2023 13:25:33 +0000 (14:25 +0100)]
Add failure handling support in Intermediary

Add Failure handling support in Intermediary,
and refactor the communication between Participant and Intermediary.

Issue-ID: POLICY-4707
Change-Id: Ica22e0e820efda372886d6d8da9c3526633321e2
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd Minor Refactor for Intermediary to support failure handler 99/134799/1
FrancescoFioraEst [Fri, 9 Jun 2023 09:27:53 +0000 (10:27 +0100)]
Add Minor Refactor for Intermediary to support failure handler

First part related to refactor Intermediary to support failure handler.
Rest of refactor will be implemented in POLICY-4707.

Issue-ID: POLICY-4732
Change-Id: I12fbec84c154937f3c197070862b18ad5675cc3e
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd Failure handling support in all ACM-participants 62/134762/1
FrancescoFioraEst [Fri, 2 Jun 2023 11:36:45 +0000 (12:36 +0100)]
Add Failure handling support in all ACM-participants

In any transition (like deploy, undeploy,  lock, unlock, update, delete) a participant should respond with the final state of transition, a status indicator (stateChaneResult) indicating if error has occurred and a message.

Issue-ID: POLICY-4706
Change-Id: I424bc6d620f476392baee8904e21d3a6c7aa8d6b
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd Failure handling support in the ACM-R 39/134739/2
FrancescoFioraEst [Wed, 31 May 2023 15:38:22 +0000 (16:38 +0100)]
Add Failure handling support in the ACM-R

Issue-ID: POLICY-4705
Change-Id: I919b7981cdbe69ac7ce703fceb2e980a6d9a056e
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoSet all cross references of policy/clamp 59/134659/1
liamfallon [Thu, 25 May 2023 09:46:58 +0000 (10:46 +0100)]
Set all cross references of policy/clamp

policy/clamp 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: Ib316b35d7aca4700a3c332c91e550435bdb7d64b

2 years agoSet snapshot and/or references of policy/clamp for new release 52/134652/1
liamfallon [Thu, 25 May 2023 08:41:35 +0000 (09:41 +0100)]
Set snapshot and/or references of policy/clamp for new release

policy/clamp 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: I0697ed63e666a83458b4d05712a2eabd51482f65

2 years agoUpdate snapshot and/or references of policy/clamp to latest snapshots 32/134632/1
liamfallon [Wed, 24 May 2023 10:51:37 +0000 (11:51 +0100)]
Update snapshot and/or references of policy/clamp to latest snapshots

policy/clamp 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: I85d01a42bda7693499a1ea0fc64f8ca7818e86a1

2 years agoRelease docker images for policy/clamp: 6.4.3 11/134611/1
liamfallon [Wed, 24 May 2023 10:14:09 +0000 (11:14 +0100)]
Release docker images for policy/clamp: 6.4.3

This commit releases docker images for repo policy/clamp.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4662
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I993a9b0afb14ade1765c82f65ee94bcfa481f067

2 years agoRelease policy/clamp: 6.4.3 10/134610/1
liamfallon [Wed, 24 May 2023 09:36:56 +0000 (10:36 +0100)]
Release policy/clamp: 6.4.3

This commit releases repo policy/clamp.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4662
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I932381085800ecad44b25be18a6e1bb6870efe47

2 years agoupdate references in policy/clamp pom 09/134609/1
liamfallon [Wed, 24 May 2023 08:17:36 +0000 (09:17 +0100)]
update references in policy/clamp pom

updated references in the policy/clamp pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4662
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I5142bce83252f71b80efb5041678e212cfc8c6b6

2 years agoMerge "Update AC Element properties on the DEPLOYED state"
Liam Fallon [Wed, 24 May 2023 07:12:01 +0000 (07:12 +0000)]
Merge "Update AC Element properties on the DEPLOYED state"

2 years agoMerge "Refactor failure handling in http-participant"
Liam Fallon [Wed, 24 May 2023 07:11:49 +0000 (07:11 +0000)]
Merge "Refactor failure handling in http-participant"

2 years agoRefactor failure handling in policy-participant 96/134596/2
FrancescoFioraEst [Mon, 22 May 2023 15:17:17 +0000 (16:17 +0100)]
Refactor failure handling in policy-participant

In the case, a policy-participant fails to deploy an element,
it should responds with UNDEPLOYED on a DEPLOY order.

Issue-ID: POLICY-4695
Change-Id: I9daca4ab1311d96351bb5db4405e0f280ad4a7c6
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoRefactor failure handling in http-participant 93/134593/2
FrancescoFioraEst [Mon, 22 May 2023 09:53:27 +0000 (10:53 +0100)]
Refactor failure handling in http-participant

In the case, a http-participant fails to deploy an element,
it should responds with UNDEPLOYED on a DEPLOY order.

Issue-ID: POLICY-4694
Change-Id: I97d2660c7b91e4407ff3fa2cc51557b6c96a3a9e
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoUpdate AC Element properties on the DEPLOYED state 95/134595/2
rameshiyer27 [Thu, 18 May 2023 15:47:10 +0000 (16:47 +0100)]
Update AC Element properties on the DEPLOYED state

User can update the instance property values on DEPLOYED state.
The runtime sends PROPERTY_UPDATE event to the participants and the updated values are stored on the runtime database.
Participants can implement the update method to perform the required action.

Issue-ID: POLICY-4682
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ic35fba669b5ffcf2c75d6deaa8c309d58e4026f0

2 years agoRevert references on policy/clamp 98/134598/1
liamfallon [Tue, 23 May 2023 09:29:49 +0000 (10:29 +0100)]
Revert references on policy/clamp

Reverting reference update on policy/clamp until staging bug is fixed.

Issue-ID: POLICY-4662
Change-Id: Idcae0c57caf93a974cbc6e53785f0c89c1f083de
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoupdate references in policy/clamp pom 90/134590/1
liamfallon [Fri, 19 May 2023 10:02:12 +0000 (11:02 +0100)]
update references in policy/clamp pom

updated references in the policy/clamp pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4662
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I624725a362fccef0c75f223f3541952bd73a61ba

2 years agoRename statusProperites to outProperites in ACM 78/134578/2
FrancescoFioraEst [Wed, 17 May 2023 10:21:25 +0000 (11:21 +0100)]
Rename statusProperites to outProperites in ACM

Issue-ID: POLICY-4687
Change-Id: Ida8ff3fbc72c2f6d75a8e3399fa40099696c1477
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd extend instance deletion support in ACM 76/134576/1
FrancescoFioraEst [Tue, 16 May 2023 14:24:54 +0000 (15:24 +0100)]
Add extend instance deletion support in ACM

Extend the functionality of deletion step to also inform the participant of instance deletion. This allow the participant to take any necessary steps that might result from instance deletion.

Issue-ID: POLICY-4686
Change-Id: Ibeb44d472da20ad98dafa9ddd7ded28398f4ed10
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd participant capability to send message with status and properties 46/134546/2
FrancescoFioraEst [Wed, 10 May 2023 16:11:04 +0000 (17:11 +0100)]
Add participant capability to send message with status and properties

Add participant capability to send message with status and properties
to ACM-R when those values need to be change.

Issue-ID: POLICY-4679
Change-Id: Idca5796c199b235e1f829097316c50688a351e80
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoUpdate ACM-R missing stubs 99/134499/3
lapentafd [Mon, 8 May 2023 09:07:26 +0000 (10:07 +0100)]
Update ACM-R missing stubs

Fix typo and adding return 202 to missing stub

Issue-ID: POLICY-4143
Change-Id: I9b59b762395a1c3a1ae262ed4ac7679de402e0ac
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2 years agoMerge "Add participant properties capability to acm/participants"
Liam Fallon [Fri, 5 May 2023 16:10:13 +0000 (16:10 +0000)]
Merge "Add participant properties capability to acm/participants"

2 years agoMerge "Add stability test and performance tests for ACM"
Ramesh Murugan Iyer [Thu, 4 May 2023 08:28:23 +0000 (08:28 +0000)]
Merge "Add stability test and performance tests for ACM"

2 years agoAdd participant properties capability to acm/participants 38/134438/2
FrancescoFioraEst [Thu, 27 Apr 2023 14:22:50 +0000 (15:22 +0100)]
Add participant properties capability to acm/participants

Add statusProperties support in acm acm/participants.

Issue-ID: POLICY-4652
Change-Id: I6dd37c9be58fce36def022364abe46c791e98a77
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd stability test and performance tests for ACM 24/134424/1
rameshiyer27 [Fri, 28 Apr 2023 15:23:57 +0000 (16:23 +0100)]
Add stability test and performance tests for ACM

Issue-ID: POLICY-4641
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I615c986dea8185dc75d3c4698f748d54579ae907

2 years agoAdd Adheli Tavares as a committer 13/134413/2
liamfallon [Tue, 2 May 2023 11:11:09 +0000 (12:11 +0100)]
Add Adheli Tavares as a committer

Add Adheli Tavares as a committer

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4653
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I9d3df1b1836d6e7aa99b62cca22ac87be57b35cd

2 years agoUpdate snapshot and/or references of policy/clamp to latest snapshots 51/134351/1
Suresh Charan [Tue, 25 Apr 2023 16:13:16 +0000 (12:13 -0400)]
Update snapshot and/or references of policy/clamp to latest snapshots

policy/clamp 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: I79a77b7f325a75a6f0fca2f6b90b7b341626efb8

2 years agoRelease docker images for policy/clamp: 6.4.2 40/134340/1
Suresh Charan [Tue, 25 Apr 2023 15:43:51 +0000 (11:43 -0400)]
Release docker images for policy/clamp: 6.4.2

This commit releases docker images for repo policy/clamp.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4648
Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
Change-Id: Ic59efa7f2a32e53c0fd348a44cd00fae668d791b

2 years agoRelease policy/clamp: 6.4.2 30/134330/1
rameshiyer27 [Tue, 25 Apr 2023 13:41:13 +0000 (14:41 +0100)]
Release policy/clamp: 6.4.2

This commit releases repo policy/clamp.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4648
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: Icb83787c88b3bfbb00fe8bdc521962819c8e16e6

2 years agoupdate references in policy/clamp pom 19/134319/1
rameshiyer27 [Tue, 25 Apr 2023 08:47:33 +0000 (09:47 +0100)]
update references in policy/clamp pom

updated references in the policy/clamp 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: I02cbe1d2f14d20f5d08e3a3c81e522bc0f002001

2 years agoUpdate Example files for Swagger document 54/134154/1
lapentafd [Fri, 14 Apr 2023 11:41:20 +0000 (12:41 +0100)]
Update Example files for Swagger document

Issue-ID: POLICY-4581
Change-Id: I0db74d45694c7f8d4d0113dbc81d8adb9b55f59a
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2 years agoAdd UseState and OperationalState support in ACM 63/134063/1
FrancescoFioraEst [Wed, 5 Apr 2023 15:32:38 +0000 (16:32 +0100)]
Add UseState and OperationalState support in ACM

Issue-ID: POLICY-4639
Change-Id: Iac5249c054bf41d830463826a8f61f477c48235b
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoFix Participant primed status in ACM 24/134024/1
FrancescoFioraEst [Mon, 3 Apr 2023 12:25:15 +0000 (13:25 +0100)]
Fix Participant primed status in ACM

Fix Participant primed status is not updated correctly in the runtime

Issue-ID: POLICY-4625
Change-Id: I6a3ce7b73f5edaeedf84ec43c7f62c526cd99f36
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Upgrade Demo ACM element microservice"
Liam Fallon [Thu, 16 Mar 2023 10:00:35 +0000 (10:00 +0000)]
Merge "Upgrade Demo ACM element microservice"

2 years agoUpgrade Demo ACM element microservice 70/133670/1
FrancescoFioraEst [Tue, 14 Mar 2023 12:48:45 +0000 (12:48 +0000)]
Upgrade Demo ACM element microservice

Upgrade chart Demo ACM element, upgrade servicetemplate example
and fix prime issue

Issue-ID: POLICY-4565
Change-Id: Icfc3a32f481840882eb6f20f25ed45b15d4991ff
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd SNI support 62/133662/1
liamfallon [Tue, 14 Mar 2023 17:23:26 +0000 (17:23 +0000)]
Add SNI support

SNI is now supported in Jersey.

Issue-ID: POLICY-4474
Change-Id: I7e52aa5c632409422c11ad875cb70ce1324ab655
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoAdd kubernetes configuration fetching based on profile. 83/133583/1
aravind.est [Wed, 8 Mar 2023 15:08:44 +0000 (15:08 +0000)]
Add kubernetes configuration fetching based on profile.

Fetch the kubernetes configuration from cluster only when the container runs on kubernetes cluster. This allows the container to run in a docker-compose based deployment.

Issue-ID: POLICY-4574
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: If12895c17734e87c327dda73ace0a91947f98022

2 years agoMerge "Add log message when kserve setup is unavailable and improve coverage"
Jorge Hernandez [Tue, 7 Mar 2023 17:17:54 +0000 (17:17 +0000)]
Merge "Add log message when kserve setup is unavailable and improve coverage"

2 years agoAdd log message when kserve setup is unavailable and improve coverage 55/133555/1
aravind.est [Mon, 6 Mar 2023 16:29:58 +0000 (16:29 +0000)]
Add log message when kserve setup is unavailable and improve coverage

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

2 years agoUpdate snapshot and/or references of policy/clamp to latest snapshots 94/133494/1
saul.gill [Wed, 1 Mar 2023 12:38:15 +0000 (12:38 +0000)]
Update snapshot and/or references of policy/clamp to latest snapshots

policy/clamp 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: Ie3d538408fd63a5a2c667fb7a868b9ce67921f90

2 years agoRelease docker images for policy/clamp: 6.4.1 89/133489/1
saul.gill [Wed, 1 Mar 2023 11:51:39 +0000 (11:51 +0000)]
Release docker images for policy/clamp: 6.4.1

This commit releases docker images for repo policy/clamp.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: I6c0884036726e335a2c132f3a9e7afcecd8e6696
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoRelease policy/clamp: 6.4.1 75/133475/1
saul.gill [Tue, 28 Feb 2023 16:34:24 +0000 (16:34 +0000)]
Release policy/clamp: 6.4.1

This commit releases repo policy/clamp.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: I1487db8fd44b1313d0f2244fb49260e624b870d4

2 years agoupdate references in policy/clamp pom 69/133469/1
saul.gill [Tue, 28 Feb 2023 15:42:03 +0000 (15:42 +0000)]
update references in policy/clamp pom

updated references in the policy/clamp 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: Ie0e272a4381e863fe9a429eaee5836b048f27a50

2 years agoFix sonar issue 27/133427/1
aravind.est [Mon, 27 Feb 2023 13:50:09 +0000 (13:50 +0000)]
Fix sonar issue

Fixed issue with InterruptedException

Issue-ID: POLICY-4525
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: I9212469f0b695fea5907dacf185df8f5e77e7fee

2 years agoMerge "Fix ClassCastException in ACM"
Ramesh Murugan Iyer [Mon, 27 Feb 2023 08:58:49 +0000 (08:58 +0000)]
Merge "Fix ClassCastException in ACM"

2 years agoFix ClassCastException in ACM 06/133406/1
FrancescoFioraEst [Thu, 23 Feb 2023 17:03:24 +0000 (17:03 +0000)]
Fix ClassCastException in ACM

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>
2 years agoUpdate permission of A1pms and Kserve dockerfile 03/133403/1
aravind.est [Fri, 24 Feb 2023 10:31:48 +0000 (10:31 +0000)]
Update permission of A1pms and Kserve dockerfile

Issue-ID: POLICY-4525
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: Ib4e96d9f01d038debff650f07014aeeb75971e16

2 years agoMerge "Add kserve docker image details in package"
Liam Fallon [Fri, 24 Feb 2023 10:10:56 +0000 (10:10 +0000)]
Merge "Add kserve docker image details in package"

2 years agoAdd kserve docker image details in package 87/133387/3
aravind.est [Wed, 22 Feb 2023 16:29:50 +0000 (16:29 +0000)]
Add kserve docker image details in package

Issue-ID: POLICY-4525
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: I068d561ddf32619d632e94b1222badf20258539a

2 years agoMerge "Fix UNDEPLOY transition in policyParticipant in ACM"
Liam Fallon [Wed, 22 Feb 2023 10:30:42 +0000 (10:30 +0000)]
Merge "Fix UNDEPLOY transition in policyParticipant in ACM"

2 years agoMerge "Fix sonar security hotspot"
Liam Fallon [Tue, 21 Feb 2023 15:47:55 +0000 (15:47 +0000)]
Merge "Fix sonar security hotspot"

2 years agoFix build in kserve participant 54/133354/2
liamfallon [Tue, 21 Feb 2023 09:09:15 +0000 (09:09 +0000)]
Fix build in kserve participant

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>
2 years agoMerge "Add kserve participant"
Liam Fallon [Mon, 20 Feb 2023 16:12:59 +0000 (16:12 +0000)]
Merge "Add kserve participant"

2 years agoMerge "Clean up dependencies for London Release"
Liam Fallon [Mon, 20 Feb 2023 16:04:42 +0000 (16:04 +0000)]
Merge "Clean up dependencies for London Release"

2 years agoMerge "Fix deregister message timing"
Ramesh Murugan Iyer [Mon, 20 Feb 2023 12:30:17 +0000 (12:30 +0000)]
Merge "Fix deregister message timing"

2 years agoClean up dependencies for London Release 25/133325/3
liamfallon [Fri, 17 Feb 2023 19:15:16 +0000 (19:15 +0000)]
Clean up dependencies for London Release

Issue-ID: POLICY-4482
Change-Id: I8210a48b1080e715ef279c4fedae8dcb6165756f
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoFix sonar security hotspot 18/133318/1
saul.gill [Fri, 17 Feb 2023 16:18:10 +0000 (16:18 +0000)]
Fix sonar security hotspot

Fixed issue with InterruptedException

Issue-ID: POLICY-4562
Change-Id: I44f43a5f48091dc5c608009e286773264db33c04
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoFix UNDEPLOY transition in policyParticipant in ACM 16/133316/1
FrancescoFioraEst [Fri, 17 Feb 2023 14:17:24 +0000 (14:17 +0000)]
Fix UNDEPLOY transition in policyParticipant in ACM

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>
2 years agoMerge "Update Dockerfile for PF base image"
Pamela Dragosh [Fri, 17 Feb 2023 15:24:06 +0000 (15:24 +0000)]
Merge "Update Dockerfile for PF base image"

2 years agoFix deregister message timing 15/133315/1
saul.gill [Fri, 17 Feb 2023 15:02:29 +0000 (15:02 +0000)]
Fix deregister message timing

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>
2 years agoAdd kserve participant 63/133263/4
aravind.est [Tue, 14 Feb 2023 09:29:14 +0000 (09:29 +0000)]
Add kserve participant

Issue-ID: POLICY-4525
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: I00c3c9bc02eb7e424c459100517db90f5e8b738c

2 years agoMerge "Fix participantHtml issue with multi instances in ACM"
Liam Fallon [Fri, 17 Feb 2023 09:20:18 +0000 (09:20 +0000)]
Merge "Fix participantHtml issue with multi instances in ACM"

2 years agoMerge "Remove AutomationCompositionState from ACM"
Liam Fallon [Fri, 17 Feb 2023 09:20:06 +0000 (09:20 +0000)]
Merge "Remove AutomationCompositionState from ACM"

2 years agoMerge "Add undeploy on deregister (participant-side)"
Liam Fallon [Thu, 16 Feb 2023 14:25:15 +0000 (14:25 +0000)]
Merge "Add undeploy on deregister (participant-side)"

2 years agoMerge "Automate S3P tests in ACM"
Liam Fallon [Thu, 16 Feb 2023 14:22:38 +0000 (14:22 +0000)]
Merge "Automate S3P tests in ACM"

2 years agoFix participantHtml issue with multi instances in ACM 73/133273/1
FrancescoFioraEst [Thu, 16 Feb 2023 11:28:29 +0000 (11:28 +0000)]
Fix participantHtml issue with multi instances in ACM

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>
2 years agoRemove AutomationCompositionState from ACM 71/133271/1
FrancescoFioraEst [Wed, 15 Feb 2023 17:26:30 +0000 (17:26 +0000)]
Remove AutomationCompositionState from ACM

Issue-ID: POLICY-4559
Change-Id: Ib088c76fd39fcaf8fc7b5f315880e2619186caec
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Refactor yaml files in ACM"
Liam Fallon [Wed, 15 Feb 2023 17:02:52 +0000 (17:02 +0000)]
Merge "Refactor yaml files in ACM"

2 years agoMerge "Implement recording of Operational State and Usage State on ACM-R"
Ramesh Murugan Iyer [Wed, 15 Feb 2023 16:44:08 +0000 (16:44 +0000)]
Merge "Implement recording of Operational State and Usage State on ACM-R"

2 years agoAutomate S3P tests in ACM 47/133247/4
waynedunican [Thu, 2 Feb 2023 11:43:42 +0000 (11:43 +0000)]
Automate S3P tests in ACM

- Trigger the ACM S3P tests
- Update .jmx files

Issue-ID: POLICY-4156
Change-Id: I47df1d3bad1fc4b55e73354aea2483bc37d66ee7
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2 years agoAdd undeploy on deregister (acm-side) 62/133262/1
saul.gill [Wed, 15 Feb 2023 12:39:43 +0000 (12:39 +0000)]
Add undeploy on deregister (acm-side)

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>
2 years agoAdd undeploy on deregister (participant-side) 54/133254/1
saul.gill [Tue, 14 Feb 2023 12:56:53 +0000 (12:56 +0000)]
Add undeploy on deregister (participant-side)

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>
2 years agoUpdate Dockerfile for PF base image 79/133279/1
liamfallon [Tue, 14 Feb 2023 11:34:52 +0000 (11:34 +0000)]
Update Dockerfile for PF base image

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>
2 years agoImplement recording of Operational State and Usage State on ACM-R 44/133244/1
FrancescoFioraEst [Mon, 13 Feb 2023 11:08:42 +0000 (11:08 +0000)]
Implement recording of Operational State and Usage State on ACM-R

Issue-ID: POLICY-4511
Change-Id: I3a241bf602e6625d91cee2dc5242b76165bcd381
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Deployment and undeployment on Participant Intermediary"
Liam Fallon [Tue, 14 Feb 2023 10:24:57 +0000 (10:24 +0000)]
Merge "Deployment and undeployment on Participant Intermediary"

2 years agoMerge "Add stubs and tests for ppnt controller"
Liam Fallon [Tue, 14 Feb 2023 09:49:50 +0000 (09:49 +0000)]
Merge "Add stubs and tests for ppnt controller"

2 years agoRefactor yaml files in ACM 40/133240/1
FrancescoFioraEst [Mon, 13 Feb 2023 14:51:08 +0000 (14:51 +0000)]
Refactor yaml files in ACM

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>
2 years agoAdd stubs and tests for ppnt controller 38/133238/1
saul.gill [Mon, 13 Feb 2023 17:53:26 +0000 (17:53 +0000)]
Add stubs and tests for ppnt controller

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>
2 years agoRemove unnecessary dependencies in policy/clamp 35/133235/1
liamfallon [Mon, 13 Feb 2023 17:23:41 +0000 (17:23 +0000)]
Remove unnecessary dependencies in policy/clamp

Issue-ID: POLICY-4482
Change-Id: Id303d1203ebe0e490e1e9b964f3133ed4269019b
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoDeployment and undeployment on Participant Intermediary 31/133231/2
FrancescoFioraEst [Fri, 10 Feb 2023 15:28:50 +0000 (15:28 +0000)]
Deployment and undeployment on Participant Intermediary

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>
2 years agoMerge "Initial support for Implement recording of Operational State"
Liam Fallon [Fri, 10 Feb 2023 23:39:41 +0000 (23:39 +0000)]
Merge "Initial support for Implement recording of Operational State"

2 years agoMerge "Contract Tests policy-clamp"
Liam Fallon [Fri, 10 Feb 2023 23:37:34 +0000 (23:37 +0000)]
Merge "Contract Tests policy-clamp"

2 years agoInitial support for Implement recording of Operational State 26/133226/1
FrancescoFioraEst [Fri, 10 Feb 2023 12:54:14 +0000 (12:54 +0000)]
Initial support for Implement recording of Operational State

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>
2 years agoContract Tests policy-clamp 11/133211/1
lapentafd [Wed, 8 Feb 2023 16:40:59 +0000 (16:40 +0000)]
Contract Tests policy-clamp

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>
2 years agoImplement AC Element Instance Locking and Unlocking on ACM-R 93/133193/1
FrancescoFioraEst [Tue, 7 Feb 2023 11:06:01 +0000 (11:06 +0000)]
Implement AC Element Instance Locking and Unlocking on ACM-R

Issue-ID: POLICY-4509
Change-Id: I8bca27cfa2a417314a27e2bec3938b538f05e346
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Replace Eclipselink with Hibernate"
Ramesh Murugan Iyer [Wed, 8 Feb 2023 09:37:48 +0000 (09:37 +0000)]
Merge "Replace Eclipselink with Hibernate"

2 years agoHandle AC Element Instance Deployment and undeployment on ACM-R 26/133126/2
FrancescoFioraEst [Thu, 2 Feb 2023 15:42:56 +0000 (15:42 +0000)]
Handle AC Element Instance Deployment and undeployment on ACM-R

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>
2 years agoMerge "Refactor ParticipantUpdate to ParticipantPrime"
Ramesh Murugan Iyer [Fri, 3 Feb 2023 09:01:30 +0000 (09:01 +0000)]
Merge "Refactor ParticipantUpdate to ParticipantPrime"

2 years agoReplace Eclipselink with Hibernate 36/133136/1
liamfallon [Thu, 2 Feb 2023 14:47:15 +0000 (14:47 +0000)]
Replace Eclipselink with Hibernate

Issue-ID: POLICY-4533
Change-Id: Iefaacb546812ccb660f32be012a44283c90b334a
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoRefactor ParticipantUpdate to ParticipantPrime 20/133120/1
saul.gill [Thu, 2 Feb 2023 11:40:29 +0000 (11:40 +0000)]
Refactor ParticipantUpdate to ParticipantPrime

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>
2 years agoFix issue in StartAndStop Activator Test 16/133116/1
FrancescoFioraEst [Thu, 2 Feb 2023 10:20:43 +0000 (10:20 +0000)]
Fix issue in StartAndStop Activator Test

Issue-ID: POLICY-4547
Change-Id: I2b9320c79b9a9ab6df587065b7a0638ff06d16be
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoUpgrade and clean up dependencies 83/133083/4
liamfallon [Tue, 31 Jan 2023 12:35:17 +0000 (12:35 +0000)]
Upgrade and clean up dependencies

- 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>
2 years agoMerge "Add element and definition map to ppnt endpoints"
Liam Fallon [Wed, 1 Feb 2023 14:17:21 +0000 (14:17 +0000)]
Merge "Add element and definition map to ppnt endpoints"

2 years agoMerge "Refactor ACM Update message to ACM Deploy message in ACM"
Liam Fallon [Wed, 1 Feb 2023 09:49:00 +0000 (09:49 +0000)]
Merge "Refactor ACM Update message to ACM Deploy message in ACM"

2 years agoMerge "Added deployState to Automation Composition"
Liam Fallon [Wed, 1 Feb 2023 09:34:58 +0000 (09:34 +0000)]
Merge "Added deployState to Automation Composition"

2 years agoAdded deployState to Automation Composition 67/133067/4
saul.gill [Mon, 30 Jan 2023 15:44:58 +0000 (15:44 +0000)]
Added deployState to Automation Composition

Added deployState and lockState

Issue-ID: POLICY-4506
Change-Id: If7fa2cc1f3c729de5dc261e2b527b03c0009e99c
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoRefactor ACM Update message to ACM Deploy message in ACM 76/133076/1
FrancescoFioraEst [Mon, 30 Jan 2023 13:43:10 +0000 (13:43 +0000)]
Refactor ACM Update message to ACM Deploy message in ACM

Refactor ACM Update message to ACM Deploy message in ACM
and add AcElementDeploy in Deploy message.
AutomationCompositionElement will be removed from the message
after POLICY-4506 and POLICY-4507.

Issue-ID: POLICY-4543
Change-Id: I8444e15b3b4cb1209ffd083fb965e0707fbd9625
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd element and definition map to ppnt endpoints 63/133063/2
saul.gill [Fri, 27 Jan 2023 14:58:05 +0000 (14:58 +0000)]
Add element and definition map to ppnt endpoints

Add element instance map
Add node template state map

Issue-ID: POLICY-4540
Change-Id: I6e7c2b27db78a090b0a1303c49e57d8675316f9b
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoRefactor Prime and Deprime messages in ACM 51/133051/2
FrancescoFioraEst [Thu, 26 Jan 2023 17:31:46 +0000 (17:31 +0000)]
Refactor Prime and Deprime messages in ACM

Issue-ID: POLICY-4502
Change-Id: Ib0ecc513285bf971a0c25cec528dcdeec5ad63a2
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoRemove ParticipantType in all yaml files 59/133059/1
FrancescoFioraEst [Mon, 30 Jan 2023 08:39:34 +0000 (08:39 +0000)]
Remove ParticipantType in all yaml files

Issue-ID: POLICY-4538
Change-Id: I9f6d8830f64ef1178d3e20c7d00374156a84b59e
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>