aboutsummaryrefslogtreecommitdiffstats
path: root/participant
AgeCommit message (Collapse)AuthorFilesLines
2023-05-24Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon10-10/+10
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
2023-05-24Merge "Update AC Element properties on the DEPLOYED state"Liam Fallon4-14/+149
2023-05-24Merge "Refactor failure handling in http-participant"Liam Fallon4-23/+70
2023-05-23Refactor failure handling in policy-participantFrancescoFioraEst3-30/+44
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>
2023-05-23Refactor failure handling in http-participantFrancescoFioraEst4-23/+70
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>
2023-05-23Update AC Element properties on the DEPLOYED staterameshiyer274-14/+149
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
2023-05-18Rename statusProperites to outProperites in ACMFrancescoFioraEst3-9/+9
Issue-ID: POLICY-4687 Change-Id: Ida8ff3fbc72c2f6d75a8e3399fa40099696c1477 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-17Add extend instance deletion support in ACMFrancescoFioraEst4-32/+64
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>
2023-05-16Add participant capability to send message with status and propertiesFrancescoFioraEst17-290/+261
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>
2023-05-03Add participant properties capability to acm/participantsFrancescoFioraEst3-6/+85
Add statusProperties support in acm acm/participants. Issue-ID: POLICY-4652 Change-Id: I6dd37c9be58fce36def022364abe46c791e98a77 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-04-25Update snapshot and/or references of policy/clamp to latest snapshotsSuresh Charan10-10/+10
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
2023-04-11Add UseState and OperationalState support in ACMFrancescoFioraEst7-22/+217
Issue-ID: POLICY-4639 Change-Id: Iac5249c054bf41d830463826a8f61f477c48235b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-03-14Add SNI supportliamfallon3-6/+6
SNI is now supported in Jersey. Issue-ID: POLICY-4474 Change-Id: I7e52aa5c632409422c11ad875cb70ce1324ab655 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-03-08Add kubernetes configuration fetching based on profile.aravind.est1-0/+2
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
2023-03-07Merge "Add log message when kserve setup is unavailable and improve coverage"Jorge Hernandez4-8/+31
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-03-01Update snapshot and/or references of policy/clamp to latest snapshotssaul.gill10-10/+10
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
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-24Fix ClassCastException in ACMFrancescoFioraEst1-1/+1
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-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 Fallon23-0/+1655
2023-02-20Merge "Clean up dependencies for London Release"Liam Fallon3-6/+3
2023-02-17Clean up dependencies for London Releaseliamfallon3-6/+3
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-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.est23-0/+1655
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-16Merge "Add undeploy on deregister (participant-side)"Liam Fallon4-0/+93
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-15Merge "Refactor yaml files in ACM"Liam Fallon8-23/+1
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-14Merge "Deployment and undeployment on Participant Intermediary"Liam Fallon18-517/+374
2023-02-14Refactor yaml files in ACMFrancescoFioraEst8-23/+1
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-13Remove unnecessary dependencies in policy/clampliamfallon1-2/+0
Issue-ID: POLICY-4482 Change-Id: Id303d1203ebe0e490e1e9b964f3133ed4269019b Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-13Deployment and undeployment on Participant IntermediaryFrancescoFioraEst18-517/+374
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-08Implement AC Element Instance Locking and Unlocking on ACM-RFrancescoFioraEst1-1/+1
Issue-ID: POLICY-4509 Change-Id: I8bca27cfa2a417314a27e2bec3938b538f05e346 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-03Merge "Refactor ParticipantUpdate to ParticipantPrime"Ramesh Murugan Iyer7-77/+77
2023-02-02Refactor ParticipantUpdate to ParticipantPrimesaul.gill7-77/+77
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 TestFrancescoFioraEst1-11/+7
Issue-ID: POLICY-4547 Change-Id: I2b9320c79b9a9ab6df587065b7a0638ff06d16be Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-01Upgrade and clean up dependenciesliamfallon12-104/+125
- 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>
2023-01-31Refactor ACM Update message to ACM Deploy message in ACMFrancescoFioraEst7-46/+46
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>
2023-01-30Refactor Prime and Deprime messages in ACMFrancescoFioraEst2-4/+17
Issue-ID: POLICY-4502 Change-Id: Ib0ecc513285bf971a0c25cec528dcdeec5ad63a2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-30Remove ParticipantType in all yaml filesFrancescoFioraEst9-42/+10
Issue-ID: POLICY-4538 Change-Id: I9f6d8830f64ef1178d3e20c7d00374156a84b59e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-26Remove participantType and referencessaul.gill10-79/+13
Issue-ID: POLICY-4538 Change-Id: Idf3f0308254a318b3e72aa8a234fd7c78f6ffd82 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-01-23Refactor participantId as UUIDFrancescoFioraEst14-42/+35
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>
2023-01-23Remove reference type of participantId in Unit Tests in ACMFrancescoFioraEst9-184/+135
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>
2023-01-19Add supported ac elements to participantssaul.gill14-16/+83
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>