aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-intermediary/src
AgeCommit message (Collapse)AuthorFilesLines
2024-12-11Move policy definition data under instance propertiesFrancescoFioraEst15-89/+136
Move policy definition data under instance properties for policy-participant. Issue-ID: POLICY-4938 Change-Id: I60c6536554ce3750f03e42e397f000b35b5d6e07 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-11-27Fix issue with non present Element in ACM-intermediaryFrancescoFioraEst2-1/+7
Fix sonar issue with non present Element in ACM-intermediary. Issue-ID: POLICY-5185 Change-Id: I0530e649b7546205b7e04eccc929e53f6bc69f21 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-11-26Fix undeploy issue after migration failure in ACM-RFrancescoFioraEst2-6/+22
Issue-ID: POLICY-5177 Change-Id: Ic49dc15a9fd2a92f358eb60a440a8efb5080bbde Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-11-25Fix issue after fail scenario in ACM-intermediaryFrancescoFioraEst2-4/+34
Issue-ID: POLICY-5173 Change-Id: I8a6c4ca0650935c5e651c5d9274a082d7707f99b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-11-04Fix references and organize dependencies in policy-clamp afteradheli.tavares8-12/+12
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 timeoutFrancescoFioraEst4-7/+50
Issue-ID: POLICY-5132 Change-Id: Ic78d346972e955f7700118ffa74be11643a885f0 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-09-12Code coverage and sonar fixes for ACMFrancescoFioraEst1-0/+3
Move element Objects from models to participant-acelement. Add coverage in participant-element where missing. Issue-ID: POLICY-5065 Change-Id: I2bdf9cefe4f0f219f78bcb1bb4fb6d882843c374 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-08-14Fix issue using stage in ACM intermediaryFrancescoFioraEst2-30/+100
Issue-ID: POLICY-5091 Change-Id: I4d96e6472d61c3dfa3de5bfe5c94651b753a95f5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-08-08Add validation for state set by the participantFrancescoFioraEst2-42/+100
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 intermediaryFrancescoFioraEst14-174/+436
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 participantFrancescoFioraEst12-43/+428
Issue-ID: POLICY-5092 Change-Id: I47efc0fd6abf62c3a1cc6c12f0971b4460468733 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-07-26Support add/remove elements in Migrationrameshiyer274-18/+124
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 intermediaryFrancescoFioraEst13-102/+818
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-24Fix sonar issue for ACMFrancescoFioraEst1-2/+2
Issue-ID: POLICY-5065 Change-Id: Id95e8dbd4be14db36eb2fa4ddfc852d37572f25a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-07-23Add support for Prepare, Review and Migrate pre-check in participantFrancescoFioraEst7-132/+145
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 topicFrancescoFioraEst2-0/+10
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 participantFrancescoFioraEst4-9/+39
Issue-ID: POLICY-5055 Change-Id: Id2495008a28ea3e50a5c17695af529813b1c0c35 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-20Add sync messages support in ACM-intermediaryFrancescoFioraEst17-438/+161
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 ACMFrancescoFioraEst5-10/+3
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 Intermediaryrameshiyer2711-14/+189
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 participantsFrancescoFioraEst7-2/+20
Issue-ID: POLICY-5032 Change-Id: I9c36b87d1f03f03089d2c62308e0975e24f6e99a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-05-31Fix participant registration issueFrancescoFioraEst8-34/+45
Issue-ID: POLICY-5039 Change-Id: Ic83a1feba3749f7a496749cbce174d7342d0cdcf Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-04-10Refactor ACM participant-intermediaryFrancescoFioraEst11-462/+589
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 monitoringFrancescoFioraEst2-1/+25
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 supportFrancescoFioraEst18-331/+1545
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.gill19-0/+0
Issue-ID: POLICY-4925 Change-Id: I2a9f8e49aed3f1b7354c0540cef29723e87547ca Signed-off-by: saul.gill <saul.gill@est.tech>
2024-01-25Remove Dmaap references from CLAMPrameshiyer2721-106/+104
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 participantFrancescoFioraEst3-0/+16
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 scenarioFrancescoFioraEst3-35/+100
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 ACMFrancescoFioraEst3-2/+4
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 intermediaryFrancescoFioraEst11-40/+266
Issue-ID: POLICY-4824 Change-Id: I4e9ef54be63a86b01c6e6fad4c78baa72e161eed Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-27Add migration support in ACM participantsFrancescoFioraEst2-0/+8
Issue-ID: POLICY-4825 Change-Id: Iebdd0b8c4890e9c022f68396f11f7ba8c80bef00 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-25Upgrade Java 17adheli.tavares6-12/+12
Issue-ID: POLICY-4673 Change-Id: I01fd3677687b5d2e065d0cc131b338ed841d7e99 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-09-01Fix updating the state in Participant IntermediaryFrancescoFioraEst3-21/+21
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 DeprimeFrancescoFioraEst4-4/+20
Issue-ID: POLICY-4784 Change-Id: I8d97d1cebc92c29b4b6842ad31f653664c09b0bf Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-08-03Add support for composition outProperties in ACM intermediaryFrancescoFioraEst6-52/+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 participantsFrancescoFioraEst7-6/+135
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-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-12Add failure handling support in IntermediaryFrancescoFioraEst9-913/+430
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 handlerFrancescoFioraEst7-25/+672
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>