aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-intermediary/src/main/java/org
AgeCommit message (Collapse)AuthorFilesLines
6 daysFix references and organize dependencies in policy-clamp afterHEADmasteradheli.tavares6-10/+10
splitting policy-endpoints and message-bus in policy-common Issue-ID: POLICY-5131 Change-Id: Ied8ea3d89797984a8a0573cfbf989404dc394871 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-09-30Handle timeout as hard timeoutFrancescoFioraEst3-7/+27
Issue-ID: POLICY-5132 Change-Id: Ic78d346972e955f7700118ffa74be11643a885f0 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-08-14Fix issue using stage in ACM intermediaryFrancescoFioraEst1-2/+8
Issue-ID: POLICY-5091 Change-Id: I4d96e6472d61c3dfa3de5bfe5c94651b753a95f5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-08-08Add validation for state set by the participantFrancescoFioraEst1-17/+48
Issue-ID: POLICY-5097 Change-Id: I7520b7220c8525448eff707e2e57debca63520fe Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-08-06Allow migration to be performed in stages in ACM intermediaryFrancescoFioraEst9-101/+277
Allow migration to be performed in stages, and replace newElement and removedElement with an Enum in CompositionElementDto and InstanceElementDto. Issue-ID: POLICY-5091 Change-Id: I2d66abc453776fd708fc18fd9019ca248f8d2eee Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-08-02Allow migration to be performed in stages in ACM participantFrancescoFioraEst8-39/+244
Issue-ID: POLICY-5092 Change-Id: I47efc0fd6abf62c3a1cc6c12f0971b4460468733 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-07-26Support add/remove elements in Migrationrameshiyer273-9/+93
Issue-ID: POLICY-4917 Change-Id: I0014b4858dd7e6ac76bfa1184d0b90b52e8649f5 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
2024-07-24Add support for Prepare, Review and Migrate pre-check in intermediaryFrancescoFioraEst8-43/+395
Add support for Prepare, Review and Migrate pre-check in ACM intermediary. Issue-ID: POLICY-5080 Change-Id: I08045a8eb01dcea6492aac12b7a8021a47ae19e8 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-07-23Add support for Prepare, Review and Migrate pre-check in participantFrancescoFioraEst3-0/+59
Add support for Prepare, Review and Migrate pre-check in ACM participant simulator. Issue-ID: POLICY-5088 Change-Id: Ibad54aacc6102654f93a86169212d91ba3a59b8b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-07-16Uplift Spring dependenciesadheli.tavares2-1/+3
Issue-ID: POLICY-5074 Change-Id: Ib88e02ffc6867a007abfd0322319caf672c00e45 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-06-25Send ParticipantStatusReq message using sync topicFrancescoFioraEst1-0/+5
Send ParticipantStatusReq message to all replicas using sync topic. Issue-ID: POLICY-5061 Change-Id: I8a104df38a48efef8a8b4eb61f9a944f7434d0a3 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-24Fix registration flowFrancescoFioraEst1-0/+5
* set replicaId in RegisterAck message * ParticipantRegisterAckPublisher and ParticipantRegisterAckListener should be used with sync topic Issue-ID: POLICY-5060 Change-Id: I1292d636ea79055e902ec3d68108a28fbd80afdc Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-20Remove local HashMap in policy participantFrancescoFioraEst3-9/+36
Issue-ID: POLICY-5055 Change-Id: Id2495008a28ea3e50a5c17695af529813b1c0c35 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-20Add sync messages support in ACM-intermediaryFrancescoFioraEst9-223/+106
Issue-ID: POLICY-5048 Change-Id: I4d3a362251931820e1a481f780586afb9e2c60ed Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-19Add support for sync messages in ACM-runtimeFrancescoFioraEst1-1/+0
Issue-ID: POLICY-5035 Change-Id: Ibcf1c6a414a7ba9d1cafd42041551bb0fb198088 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-17Improve code in ACMFrancescoFioraEst2-4/+0
Code clean-up on ACM: remove unused imports, remove updateParticipant method (duplicated method) and remove public in Unit test classes. Issue-ID: POLICY-5047 Change-Id: I308815cacaa2c5ce81ed54c676d3d5e26778f0f6 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-11Add Sync topic for participant Intermediaryrameshiyer278-12/+160
Add new sync topic config for Intermediary Add sync topic listener Refactor IntermediaryActivator for processing multiple topic source Issue-ID: POLICY-5030 Change-Id: Idce9839a85571a92048e589bd82ce33699add640 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
2024-06-06Add support for unique replica id generation in the participantsFrancescoFioraEst5-2/+14
Issue-ID: POLICY-5032 Change-Id: I9c36b87d1f03f03089d2c62308e0975e24f6e99a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-05-31Fix participant registration issueFrancescoFioraEst5-25/+27
Issue-ID: POLICY-5039 Change-Id: Ic83a1feba3749f7a496749cbce174d7342d0cdcf Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-04-10Refactor ACM participant-intermediaryFrancescoFioraEst5-269/+285
Refactor AutomationCompositionHandler to improve the maintainability. Issue-ID: POLICY-4959 Change-Id: Id112ade5b786d964d61021fe82689aa9512b4bc3 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-04-02Fix properties issue during migrate in ACM-participantFrancescoFioraEst1-3/+3
Issue-ID: POLICY-4953 Change-Id: I83cb4879faff050d21f16ef285cdccd528231062 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-03-26Recursive updates of the propertiesFrancescoFioraEst1-1/+2
Merge properties during update and migrate. Issue-ID: POLICY-4951 Change-Id: I0c9a896a5abb8331937a73d7e39fbce2d87b415f Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-03-08Update compositions and instances monitoringFrancescoFioraEst1-0/+12
Improved performance scanning only compositions and instances that are in transition. Issue-ID: POLICY-4906 Change-Id: I7a849e921f1d97509f67ff624c715c893a1432ab Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-02-15Add old properties and new properties supportFrancescoFioraEst10-220/+873
Add old/new properties support in migrate and update, and add Java code backward compatibility. Issue-ID: POLICY-4930 Change-Id: I640bc2a858969168b13fe6cdbb557ebf920bafd5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-02-07Share tracing context in all threadssaul.gill1-2/+4
Issue-ID: POLICY-4922 Change-Id: I8f5e99b597c989a26777233ef58ef5c4f9db4215 Signed-off-by: saul.gill <saul.gill@est.tech>
2024-02-07Permissions fix for clamp filessaul.gill10-0/+0
Issue-ID: POLICY-4925 Change-Id: I2a9f8e49aed3f1b7354c0540cef29723e87547ca Signed-off-by: saul.gill <saul.gill@est.tech>
2024-01-25Remove Dmaap references from CLAMPrameshiyer2715-65/+64
Issue-ID:POLICY-4881 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Id305f7538ebc9822f121a868126e188d426c18f6
2024-01-05Add OutProperties support for restart scenario in participantFrancescoFioraEst1-0/+3
Add OutProperties instance support for restart scenario in participant intermediary. Issue-ID: POLICY-4910 Change-Id: I70d00135de9735a10a6c5688bf7ee6b698266412 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-01-04Add support for OutProperties instance in deploy scenarioFrancescoFioraEst1-3/+9
Add support for OutProperties instance, operationalState and useState in deploy scenario. Issue-ID: POLICY-4911 Change-Id: I47b5e63b21e4fedd625413de8e80797138fb8d8a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-10-16Fix messages in ACMFrancescoFioraEst2-1/+3
Fix TIMEOUT support in MIGRATING. Avoid conflicts updating AC instance Element instead of a full AC instance. Using ExecutorService to send messages to the participant, the transaction will completed before the message is sent. Issue-ID: POLICY-4811 Change-Id: I2730ae694c8a5c9edfe500b1fa93cfb3787f32c5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-29Add migration support in ACM intermediaryFrancescoFioraEst6-7/+164
Issue-ID: POLICY-4824 Change-Id: I4e9ef54be63a86b01c6e6fad4c78baa72e161eed Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-27Add migration support in ACM participantsFrancescoFioraEst1-0/+3
Issue-ID: POLICY-4825 Change-Id: Iebdd0b8c4890e9c022f68396f11f7ba8c80bef00 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-25Upgrade Java 17adheli.tavares3-8/+8
Issue-ID: POLICY-4673 Change-Id: I01fd3677687b5d2e065d0cc131b338ed841d7e99 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-09-01Fix updating the state in Participant IntermediaryFrancescoFioraEst2-21/+6
Fix the Participant Intermediary that is not updating the transition state "UNDEPLOYING" in the participant status. Issue-ID: POLICY-4804 Change-Id: I849d29b904d78fe9fd1b3dec9d018bf8ccc67476 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-08-09Add composition outProperties support in DeprimeFrancescoFioraEst2-1/+3
Issue-ID: POLICY-4784 Change-Id: I8d97d1cebc92c29b4b6842ad31f653664c09b0bf Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-08-03Add support for composition outProperties in ACM intermediaryFrancescoFioraEst4-26/+126
Issue-ID: POLICY-4783 Change-Id: Ib0c89298a29a3524787e11ff7e25d3d22d01b534 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-24Add missing validation in Delete AC instanceFrancescoFioraEst3-4/+15
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 ACMFrancescoFioraEst1-1/+1
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 participantsFrancescoFioraEst4-4/+77
Issue-ID: POLICY-4747 Change-Id: I09ca3e373f8271fbfe612c031920058b744cf413 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-12Add support participant restart scenario in ACM intermediaryFrancescoFioraEst6-5/+137
Issue-ID: POLICY-4745 Change-Id: I8ab71137ef981cb4fdeae4bf9732382b9534b442 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-21Add multiple messages support in IntermediaryFrancescoFioraEst6-112/+378
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 IntermediaryFrancescoFioraEst4-21/+55
Issue-ID: POLICY-4715 Change-Id: Iab48e6c32c7aedcef9773614a61436398b059a49 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-12Add failure handling support in IntermediaryFrancescoFioraEst4-501/+161
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 handlerFrancescoFioraEst3-1/+349
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-participantsFrancescoFioraEst4-47/+46
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-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 propertiesFrancescoFioraEst5-175/+170
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>