aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-intermediary/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2025-01-13Add Kafka Health Check in ACMFrancescoFioraEst2-9/+116
Issue-ID: POLICY-5203 Change-Id: Id1705ac74d53cd5f2f8c3d81aae2366baf774fcf Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-12-11Move policy definition data under instance propertiesFrancescoFioraEst9-46/+101
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-intermediaryFrancescoFioraEst1-0/+6
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-RFrancescoFioraEst1-0/+2
Issue-ID: POLICY-5177 Change-Id: Ic49dc15a9fd2a92f358eb60a440a8efb5080bbde Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-11-25Fix issue after fail scenario in ACM-intermediaryFrancescoFioraEst1-0/+24
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.tavares2-2/+2
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 timeoutFrancescoFioraEst1-0/+23
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 intermediaryFrancescoFioraEst1-28/+92
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-25/+52
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 intermediaryFrancescoFioraEst5-73/+159
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 participantFrancescoFioraEst4-4/+184
Issue-ID: POLICY-5092 Change-Id: I47efc0fd6abf62c3a1cc6c12f0971b4460468733 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-07-26Support add/remove elements in Migrationrameshiyer271-9/+31
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 intermediaryFrancescoFioraEst5-59/+423
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 participantFrancescoFioraEst4-132/+86
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-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-20Remove local HashMap in policy participantFrancescoFioraEst1-0/+3
Issue-ID: POLICY-5055 Change-Id: Id2495008a28ea3e50a5c17695af529813b1c0c35 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-20Add sync messages support in ACM-intermediaryFrancescoFioraEst8-215/+55
Issue-ID: POLICY-5048 Change-Id: I4d3a362251931820e1a481f780586afb9e2c60ed Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-17Improve code in ACMFrancescoFioraEst3-6/+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 Intermediaryrameshiyer273-2/+29
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 participantsFrancescoFioraEst2-0/+6
Issue-ID: POLICY-5032 Change-Id: I9c36b87d1f03f03089d2c62308e0975e24f6e99a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-05-31Fix participant registration issueFrancescoFioraEst3-9/+18
Issue-ID: POLICY-5039 Change-Id: Ic83a1feba3749f7a496749cbce174d7342d0cdcf Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-04-10Refactor ACM participant-intermediaryFrancescoFioraEst6-193/+304
Refactor AutomationCompositionHandler to improve the maintainability. Issue-ID: POLICY-4959 Change-Id: Id112ade5b786d964d61021fe82689aa9512b4bc3 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-03-08Update compositions and instances monitoringFrancescoFioraEst1-1/+13
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 supportFrancescoFioraEst8-111/+672
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-07Permissions fix for clamp filessaul.gill9-0/+0
Issue-ID: POLICY-4925 Change-Id: I2a9f8e49aed3f1b7354c0540cef29723e87547ca Signed-off-by: saul.gill <saul.gill@est.tech>
2024-01-25Remove Dmaap references from CLAMPrameshiyer276-41/+40
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 participantFrancescoFioraEst2-0/+13
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 scenarioFrancescoFioraEst2-32/+91
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 ACMFrancescoFioraEst1-1/+1
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 intermediaryFrancescoFioraEst5-33/+102
Issue-ID: POLICY-4824 Change-Id: I4e9ef54be63a86b01c6e6fad4c78baa72e161eed Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-27Add migration support in ACM participantsFrancescoFioraEst1-0/+5
Issue-ID: POLICY-4825 Change-Id: Iebdd0b8c4890e9c022f68396f11f7ba8c80bef00 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-25Upgrade Java 17adheli.tavares3-4/+4
Issue-ID: POLICY-4673 Change-Id: I01fd3677687b5d2e065d0cc131b338ed841d7e99 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-09-01Fix updating the state in Participant IntermediaryFrancescoFioraEst1-0/+15
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-3/+17
Issue-ID: POLICY-4784 Change-Id: I8d97d1cebc92c29b4b6842ad31f653664c09b0bf Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-08-03Add support for composition outProperties in ACM intermediaryFrancescoFioraEst2-26/+112
Issue-ID: POLICY-4783 Change-Id: Ib0c89298a29a3524787e11ff7e25d3d22d01b534 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-24Add missing validation in Delete AC instanceFrancescoFioraEst2-1/+2
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-0/+24
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 participantsFrancescoFioraEst3-2/+58
Issue-ID: POLICY-4747 Change-Id: I09ca3e373f8271fbfe612c031920058b744cf413 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-12Add support participant restart scenario in ACM intermediaryFrancescoFioraEst7-105/+215
Issue-ID: POLICY-4745 Change-Id: I8ab71137ef981cb4fdeae4bf9732382b9534b442 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-21Add multiple messages support in IntermediaryFrancescoFioraEst3-35/+201
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 IntermediaryFrancescoFioraEst3-9/+45
Issue-ID: POLICY-4715 Change-Id: Iab48e6c32c7aedcef9773614a61436398b059a49 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-12Add failure handling support in IntermediaryFrancescoFioraEst5-412/+269
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 handlerFrancescoFioraEst4-24/+323
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-participantsFrancescoFioraEst2-1/+30
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-05-16Add participant capability to send message with status and propertiesFrancescoFioraEst5-60/+74
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/participantsFrancescoFioraEst1-0/+42
Add statusProperties support in acm acm/participants. Issue-ID: POLICY-4652 Change-Id: I6dd37c9be58fce36def022364abe46c791e98a77 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-04-11Add UseState and OperationalState support in ACMFrancescoFioraEst2-16/+92
Issue-ID: POLICY-4639 Change-Id: Iac5249c054bf41d830463826a8f61f477c48235b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-14Add undeploy on deregister (participant-side)saul.gill2-0/+64
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>