policy/clamp.git
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>
2 years agoRemove participantType and references 19/133019/2
saul.gill [Mon, 23 Jan 2023 17:44:13 +0000 (17:44 +0000)]
Remove participantType and references

Issue-ID: POLICY-4538
Change-Id: Idf3f0308254a318b3e72aa8a234fd7c78f6ffd82
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoModels for refactor Prime and Deprime in ACM 15/133015/2
FrancescoFioraEst [Tue, 24 Jan 2023 16:27:21 +0000 (16:27 +0000)]
Models for refactor Prime and Deprime in ACM

Refactor Ac Definition to store Prime and Deprime status
and refactor CommissioningController to show the status
of the AC Definition and of all elements.

Issue-ID: POLICY-4502
Change-Id: Ifd90fc8d5788ec2ddebc12ee2e78beef4c0254c8
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoRefactor participantId as UUID 88/132988/1
FrancescoFioraEst [Tue, 17 Jan 2023 09:56:52 +0000 (09:56 +0000)]
Refactor participantId as UUID

As part of endpoint refactoring, refactor participantId as UUID in ACM.

Issue-ID: POLICY-4521
Change-Id: I8ac652d9b2fadf9ce3220febb9c2c3ac0d3786cc
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Remove reference type of participantId in Unit Tests in ACM"
Liam Fallon [Mon, 23 Jan 2023 14:50:16 +0000 (14:50 +0000)]
Merge "Remove reference type of participantId in Unit Tests in ACM"

2 years agoMerge "Refactor AcInstanceState Update on ACM"
Ramesh Murugan Iyer [Mon, 23 Jan 2023 09:31:50 +0000 (09:31 +0000)]
Merge "Refactor AcInstanceState Update on ACM"

2 years agoRemove reference type of participantId in Unit Tests in ACM 35/132935/2
FrancescoFioraEst [Wed, 18 Jan 2023 10:31:34 +0000 (10:31 +0000)]
Remove reference type of participantId in Unit Tests in ACM

As part of the participantId refactoring, reduce the impact
of the changes by removing the reference type of participantId
in unit tests.

Issue-ID: POLICY-4524
Change-Id: I08837a0739f229a0a8c439c8b12578823277aa32
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd supported ac elements to participants 49/132949/2
saul.gill [Fri, 13 Jan 2023 17:24:23 +0000 (17:24 +0000)]
Add supported ac elements to participants

Added new supported elements table
Added supported element names and versions
to participant application.yaml files

Issue-ID: POLICY-4512
Change-Id: I97d7f571f2906846514ac0804b4827f0601177d7
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoRefactor AcInstanceState Update on ACM 68/132968/1
FrancescoFioraEst [Thu, 19 Jan 2023 10:08:35 +0000 (10:08 +0000)]
Refactor AcInstanceState Update on ACM

Create AcInstanceStateResolver that will be used to Handle Deployment,
Undeployment, Locking and Unlocking.

Issue-ID: POLICY-4526
Change-Id: I9a7beb57dba9e9ea334974d63c1063acde7c977d
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Remove reference type of participantId in Unit Tests in ACM-models"
Liam Fallon [Wed, 18 Jan 2023 09:41:48 +0000 (09:41 +0000)]
Merge "Remove reference type of participantId in Unit Tests in ACM-models"

2 years agoRemove reference type of participantId in Unit Tests in ACM-models 30/132930/1
FrancescoFioraEst [Tue, 17 Jan 2023 13:42:36 +0000 (13:42 +0000)]
Remove reference type of participantId in Unit Tests in ACM-models

As part of the participantId refactoring, reduce the impact
of the changes by removing the reference type of participantId
in unit tests.

Issue-ID: POLICY-4523
Change-Id: I5d25dd3a02dffc8293bd9a4a2ce5dbcdbbf0bcb5
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoRemove FilterRepository in ACM 27/132927/1
FrancescoFioraEst [Tue, 17 Jan 2023 10:54:33 +0000 (10:54 +0000)]
Remove FilterRepository in ACM

As part of participantId refactoring, FilterRepository and related
implementation could be removed.

Issue-ID: POLICY-4522
Change-Id: Idb078989871f1f65615a7df90aea69f7cd822dae
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd participant controller in ACM 06/132906/3
saul.gill [Tue, 10 Jan 2023 11:11:08 +0000 (11:11 +0000)]
Add participant controller in ACM

Added participant controller
Altered openapi spec
Added participantId

Issue-ID: POLICY-4496
Change-Id: I0c0ea93dacb6927e6f16bd4638d03db6266be3bd
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoMerge "Refactor AcTypeState Update"
Liam Fallon [Thu, 12 Jan 2023 09:35:07 +0000 (09:35 +0000)]
Merge "Refactor AcTypeState Update"

2 years agoMerge "Add ACM demo service template under examples"
Liam Fallon [Wed, 11 Jan 2023 12:49:49 +0000 (12:49 +0000)]
Merge "Add ACM demo service template under examples"

2 years agoRefactor AcTypeState Update 95/132895/1
FrancescoFioraEst [Tue, 10 Jan 2023 15:46:51 +0000 (15:46 +0000)]
Refactor AcTypeState Update

Refactor AcTypeState Update and add AcTypeState Resolved that will used by priming/depriming.

Issue-ID: POLICY-4503
Change-Id: I2dd70cd8f569f29d35709e741616079499757bfd
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd ACM demo service template under examples 88/132888/1
rameshiyer27 [Mon, 9 Jan 2023 15:13:00 +0000 (15:13 +0000)]
Add ACM demo service template under examples

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

2 years agoRefactor register deregister a Participant and Supervise Participants 68/132868/2
FrancescoFioraEst [Wed, 4 Jan 2023 17:04:37 +0000 (17:04 +0000)]
Refactor register deregister a Participant and Supervise Participants

Refactor register deregister a Participant and Supervise
Participants using ON_LINE/OFF_LINE as Participant Status.

Issue-ID: POLICY-4497
Change-Id: If9c5b92131c99132c18340e56334fb9453745526
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Refactor Post instances to create and update ACM instances"
Liam Fallon [Thu, 5 Jan 2023 09:41:14 +0000 (09:41 +0000)]
Merge "Refactor Post instances to create and update ACM instances"

2 years agoRefactor Post instances to create and update ACM instances 50/132850/1
FrancescoFioraEst [Tue, 3 Jan 2023 16:15:39 +0000 (16:15 +0000)]
Refactor Post instances to create and update ACM instances

Issue-ID: POLICY-4493
Change-Id: I31c00e6d61a53dcd6a03a911a618f1c6495f2d38
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoRefactor Post compositions to create and update ACM definitions 48/132848/1
FrancescoFioraEst [Tue, 3 Jan 2023 10:48:36 +0000 (10:48 +0000)]
Refactor Post compositions to create and update ACM definitions

Issue-ID: POLICY-4492
Change-Id: Ica3885c7e2a048500a86abc194624ac22efd6bc2
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Add compositionId into Messages between ACM and Participants"
Liam Fallon [Wed, 21 Dec 2022 12:24:18 +0000 (12:24 +0000)]
Merge "Add compositionId into Messages between ACM and Participants"

2 years agoMerge "Remove unused code in acm stubs"
Liam Fallon [Tue, 20 Dec 2022 16:44:27 +0000 (16:44 +0000)]
Merge "Remove unused code in acm stubs"

2 years agoAdd compositionId into Messages between ACM and Participants 11/132811/1
FrancescoFioraEst [Mon, 19 Dec 2022 14:43:11 +0000 (14:43 +0000)]
Add compositionId into Messages between ACM and Participants

Issue-ID: POLICY-4489
Change-Id: I1fb8c04eacee040d5c944c522ca59a2a9a50376b
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Fix copy contructor in DocToscaServiceTemplate in ACM"
Liam Fallon [Tue, 20 Dec 2022 09:56:01 +0000 (09:56 +0000)]
Merge "Fix copy contructor in DocToscaServiceTemplate in ACM"

2 years agoMerge "Refactor instanceId as primary key in JpaAutomationComposition"
Liam Fallon [Tue, 20 Dec 2022 09:55:45 +0000 (09:55 +0000)]
Merge "Refactor instanceId as primary key in JpaAutomationComposition"

2 years agoMerge "Upgrade the H2 database to the latest version"
Liam Fallon [Mon, 19 Dec 2022 18:17:52 +0000 (18:17 +0000)]
Merge "Upgrade the H2 database to the latest version"

2 years agoRemove unused code in acm stubs 01/132801/1
lapentafd [Mon, 19 Dec 2022 09:04:59 +0000 (09:04 +0000)]
Remove unused code in acm stubs

Issue-ID: POLICY-4143
Change-Id: Iaaa16a3a3273659506bc63169b5e87ae5ed288c1
Signed-off-by: lapentafd <francesco.lapenta@est.tech>