aboutsummaryrefslogtreecommitdiffstats
path: root/participant
AgeCommit message (Collapse)AuthorFilesLines
2023-08-09Add composition outProperties support in DeprimeFrancescoFioraEst4-4/+20
Issue-ID: POLICY-4784 Change-Id: I8d97d1cebc92c29b4b6842ad31f653664c09b0bf Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-08-08Add composition outProperties support in Participant SimulatorFrancescoFioraEst7-108/+253
Issue-ID: POLICY-4778 Change-Id: I98b0832f41e6cc7eb7dd1a5fb31998d587cb72cc Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-08-03Add support for composition outProperties in ACM intermediaryFrancescoFioraEst7-62/+238
Issue-ID: POLICY-4783 Change-Id: Ib0c89298a29a3524787e11ff7e25d3d22d01b534 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-24Add missing validation in Delete AC instanceFrancescoFioraEst5-5/+17
Add missing validation in Delete AC instance when deployState is in DELETING. Fix send Heartbeat when "reportingTimeIntervalMs" is set to short time. Issue-ID: POLICY-4773 Change-Id: Ia90902a68aadbde5c2bb63d093a2495f1a529571 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-19Fix restart flag in ACMFrancescoFioraEst2-1/+25
Fix the missing message back from participant to ACM in restart scenario. Issue-ID: POLICY-4772 Change-Id: Ie0104a5f30a470b02994281aa50f047d33f5ef8d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-13Add restart support inside participantsFrancescoFioraEst20-32/+700
Issue-ID: POLICY-4747 Change-Id: I09ca3e373f8271fbfe612c031920058b744cf413 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-12Add support participant restart scenario in ACM intermediaryFrancescoFioraEst13-110/+352
Issue-ID: POLICY-4745 Change-Id: I8ab71137ef981cb4fdeae4bf9732382b9534b442 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-27Remove Thread support in kubernetes participantFrancescoFioraEst4-56/+77
Due the Thread support in Intermediary, Thread support in kubernetes participant could be removed. Issue-ID: POLICY-4741 Change-Id: Ia55697808c541991f99cc7630f25188937e15779 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-23Remove Thread support in http participantFrancescoFioraEst4-138/+79
Due the Thread support in Intermediary, Thread support in http participant could be removed. Issue-ID: POLICY-4736 Change-Id: I2d947ab9f62b626b037c593f326e2d0af9bc7a9e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-21Add multiple messages support in IntermediaryFrancescoFioraEst9-147/+579
Issue-ID: POLICY-4708 Change-Id: I6401eebb5730dde2c62eabcbbe3b34539238ec04 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-15Add support for Prime Deprime Failure Handling in IntermediaryFrancescoFioraEst7-30/+100
Issue-ID: POLICY-4715 Change-Id: Iab48e6c32c7aedcef9773614a61436398b059a49 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-13Add Java Implementation for mock participant in ACMFrancescoFioraEst17-0/+1713
Add Java Code Implementation for mock participant to test different ACM scenarios. Issue-ID: POLICY-4722 Change-Id: I8475c05c2469e190ca81d4caff0babc22c5d6db9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-12Merge "Add pom structure for mock participant in ACM"Liam Fallon8-1/+374
2023-06-12Add pom structure for mock participant in ACMFrancescoFioraEst8-1/+374
Issue-ID: POLICY-4723 Change-Id: I43049431327f4126b2e66fc456e876d57388f604 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-12Add failure handling support in IntermediaryFrancescoFioraEst23-1226/+517
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>
2023-06-09Add Minor Refactor for Intermediary to support failure handlerFrancescoFioraEst9-26/+674
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>
2023-06-06Add Failure handling support in all ACM-participantsFrancescoFioraEst16-118/+685
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>
2023-06-01Add Failure handling support in the ACM-RFrancescoFioraEst1-1/+4
Issue-ID: POLICY-4705 Change-Id: I919b7981cdbe69ac7ce703fceb2e980a6d9a056e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-25Set snapshot and/or references of policy/clamp for new releaseliamfallon10-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: I0697ed63e666a83458b4d05712a2eabd51482f65
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