aboutsummaryrefslogtreecommitdiffstats
path: root/models/src/main
AgeCommit message (Collapse)AuthorFilesLines
2024-06-27Code coverage and sonar fixes for ACMFrancescoFioraEst8-12/+39
Code coverage and sonar fixes in classes that was not involved in recent implementations. Issue-ID: POLICY-5065 Change-Id: Ib23da6f242b0a7eaa98f14abc6617ff9e12e10d9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-19Add support for sync messages in ACM-runtimeFrancescoFioraEst5-45/+79
Issue-ID: POLICY-5035 Change-Id: Ibcf1c6a414a7ba9d1cafd42041551bb0fb198088 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-17Improve code in ACMFrancescoFioraEst2-14/+1
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-14Add ParticipantReplica repository in ACMFrancescoFioraEst6-4/+109
Add ParticipantReplica repository in ACM, and align topics in properties files. Issue-ID: POLICY-5045 Change-Id: I283abf91db6264c7b08c51e6ad37736dca147180 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-11Merge "Add Synchronization topic in acm runtime"Adheli Tavares3-3/+63
2024-06-11Merge "Create model in clamp runtime for the replica table"Ramesh Murugan Iyer4-4/+173
2024-06-11Add Synchronization topic in acm runtimerameshiyer273-3/+63
New sync topic for acm-ppnt synchronization Added publisher for the sync topic Refactor MessageDispatcherActivator for processing more than one topic parameter. Issue-ID: POLICY-5030 Change-Id: Id765b433beaf3f51fad9a9c66403a93d21c33797 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
2024-06-06Create model in clamp runtime for the replica tableFrancescoFioraEst4-4/+173
Issue-ID: POLICY-5034 Change-Id: Id412b392e994e3ac18f03ccde0b69481b0fd48f6 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-06Remove Map in ACM-R for timeout Deploy/UndeployFrancescoFioraEst3-4/+35
Issue-ID: POLICY-5040 Change-Id: I6aa5e93fc63cc865648096512487994fb2f48a54 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-06Add support for unique replica id generation in the participantsFrancescoFioraEst2-6/+17
Issue-ID: POLICY-5032 Change-Id: I9c36b87d1f03f03089d2c62308e0975e24f6e99a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-04Remove Map in ACM-R for timeout Priming/DeprimingFrancescoFioraEst3-3/+17
Issue-ID: POLICY-5025 Change-Id: I779d57715a82986bd19f541bc88b12163362b396 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-05-29Remove Map in ACM-R for timeout ParticipantFrancescoFioraEst3-2/+71
Issue-ID: POLICY-5024 Change-Id: Ibb8a93be55380b110c84ec4580690f43e624d125 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-04-16Fix AutomationCompositionElement copy constructorFrancescoFioraEst2-5/+11
Issue-ID: POLICY-4961 Change-Id: I81256e2b0ecb82e7b313ad8b203b1bcf4468dd72 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-03-26Recursive updates of the propertiesFrancescoFioraEst1-0/+47
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 monitoringFrancescoFioraEst4-14/+78
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-07Permissions fix for clamp filessaul.gill26-0/+0
Issue-ID: POLICY-4925 Change-Id: I2a9f8e49aed3f1b7354c0540cef29723e87547ca Signed-off-by: saul.gill <saul.gill@est.tech>
2024-01-25Remove Dmaap references from CLAMPrameshiyer2722-44/+44
Issue-ID:POLICY-4881 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Id305f7538ebc9822f121a868126e188d426c18f6
2024-01-04Add OutProperties instance support for restart scenario in acm-modelFrancescoFioraEst2-2/+13
Add support for OutProperties instance, operationalState and useState in restart scenario. Issue-ID: POLICY-4909 Change-Id: I2106bc3bd60ba9ca568acfa64c09a2984ad8a337 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-12-07Add validation for AC instance element idFrancescoFioraEst1-0/+33
Issue-ID: POLICY-4900 Change-Id: I78be5924950eec508856be5850a3a749860e0e49 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-11-24Allow semantic versioning in all templates in ACMFrancescoFioraEst1-0/+4
Issue-ID: POLICY-4886 Change-Id: I0c46397e86377e6f59f55121a60b8f2b5665a5d5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-10-16Fix messages in ACMFrancescoFioraEst4-7/+36
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-10-03Fix minor Sonar Issues for clamp/acmFrancescoFioraEst3-9/+9
Issue-ID: POLICY-4834 Change-Id: I17efea9b14bb39d7abbafa4f3b695b0451a08c68 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-10-02Fix Sonar Issues for clamp/acmFrancescoFioraEst2-92/+0
Issue-ID: POLICY-4834 Change-Id: I4489dc66e9b20c8264ec88593f0b5d89d62f1ef8 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-10-02Handle TOSCA template with invalid element typerameshiyer271-0/+8
Tosca node templates should have elements with valid element type and composition type. Invalid elements will be ignored, throws error if there are no single valid element present. Issue-ID: POLICY-4830 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: I4c6c88eee7c8017dfd4877e154062fca42e660ed
2023-09-27Allow customisation in element and composition names in TOSCArameshiyer274-30/+41
User defined values can be provided in the spring properties file for runtime-acm. The same values will be expected from the TOSCA template. If not configured in application properties, default values will be used. Issue-ID: POLICY-4827 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I17bfe811c2531c65e90679e95de9732129b54898
2023-09-26Add migration message supportFrancescoFioraEst8-49/+123
Issue-ID: POLICY-4822 Change-Id: Ibde7c14424c63a96c64378d8897e8887935d6c79 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-25Upgrade Java 17adheli.tavares34-94/+127
Issue-ID: POLICY-4673 Change-Id: I01fd3677687b5d2e065d0cc131b338ed841d7e99 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-08-01Add composition outProperties to AC Definition and Status MessageFrancescoFioraEst3-1/+29
Add new hashMap to AC Definition and Status Message for priming properties. Issue-ID: POLICY-4780 Change-Id: I3d62bf84b5c32a7fadfa6bba21e583046f814da1 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-12Add support participant restart in ACM runtimeFrancescoFioraEst5-14/+100
Issue-ID: POLICY-4744 Change-Id: I33d31751be7ca5d7c215a2b465564d3ab0c7bee6 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-07Add restart support in composition and in instanceFrancescoFioraEst9-2/+58
Add restart support in Automation Composition Definition and in Automation Composition Instance. Issue-ID: POLICY-4766 Change-Id: I8d169caf7fe74b6d2fcd40c106e4a1646a89a915 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-28Add restart publisher to support participant restart scenario in ACMFrancescoFioraEst6-11/+144
Issue-ID: POLICY-4743 Change-Id: Iecb8b4f5f5bf9be788d3507354f267f73d8c53d8 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-27Removing old implementation of participant restartsaul.gill1-15/+0
Particpant will be set as offline at deregister No ac states will be altered at deregister Issue-ID: POLICY-4742 Change-Id: Ifb297805ed4b97938b7f92855e30f978d474b648 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-06-23Add Timeuot support in prime/deprimeFrancescoFioraEst3-42/+8
Issue-ID: POLICY-4734 Change-Id: I581610bb1a025e76a5af77e1deb2cd7b97ce7101 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-16Add support for Prime Deprime Failure Handling in ACM-RuntimeFrancescoFioraEst5-7/+39
Issue-ID: POLICY-4714 Change-Id: I1f3cf8f0fcebc7c48b3632ad10aa8907c41cdb5a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-15Add support for Prime Deprime Failure Handling in IntermediaryFrancescoFioraEst1-0/+3
Issue-ID: POLICY-4715 Change-Id: Iab48e6c32c7aedcef9773614a61436398b059a49 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-14Add timeout for ACM operationsrameshiyer272-1/+19
User can retry the ACM state change order when ACM operations time out. Issue-ID: POLICY-4716 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ie840fc13170ef235c6b6f3b26a47b7516f10296c
2023-06-01Add Failure handling support in the ACM-RFrancescoFioraEst8-16/+100
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-3/+77
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 ACMFrancescoFioraEst5-11/+11
Issue-ID: POLICY-4687 Change-Id: Ida8ff3fbc72c2f6d75a8e3399fa40099696c1477 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-17Add extend instance deletion support in ACMFrancescoFioraEst5-14/+44
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 propertiesFrancescoFioraEst2-0/+8
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-0/+18
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 ACMFrancescoFioraEst6-0/+122
Issue-ID: POLICY-4639 Change-Id: Iac5249c054bf41d830463826a8f61f477c48235b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-04-04Fix Participant primed status in ACMFrancescoFioraEst1-1/+3
Fix Participant primed status is not updated correctly in the runtime Issue-ID: POLICY-4625 Change-Id: I6a3ce7b73f5edaeedf84ec43c7f62c526cd99f36 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-16Remove AutomationCompositionState from ACMFrancescoFioraEst7-165/+0
Issue-ID: POLICY-4559 Change-Id: Ib088c76fd39fcaf8fc7b5f315880e2619186caec Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-15Merge "Implement recording of Operational State and Usage State on ACM-R"Ramesh Murugan Iyer1-36/+76
2023-02-15Add undeploy on deregister (acm-side)saul.gill1-0/+17
State of Ac Elements associated with participant changed on deregister Issue-ID: POLICY-4499 Change-Id: I54265c13deebd77d654fb843a33f7267d4276b76 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-14Implement recording of Operational State and Usage State on ACM-RFrancescoFioraEst1-36/+76
Issue-ID: POLICY-4511 Change-Id: I3a241bf602e6625d91cee2dc5242b76165bcd381 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-13Deployment and undeployment on Participant IntermediaryFrancescoFioraEst1-3/+0
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-10Initial support for Implement recording of Operational StateFrancescoFioraEst4-66/+11
Remove AutomationCompositionState and AutomationCompositionOrderedState in Jpa classes add validation to not update deployed instances Issue-ID: POLICY-4550 Change-Id: If18915a4be6b67dda83ff3ca5457ed52d0e8ddf2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>