aboutsummaryrefslogtreecommitdiffstats
path: root/models/src
AgeCommit message (Collapse)AuthorFilesLines
2024-06-27Code coverage and sonar fixes for ACMFrancescoFioraEst12-18/+204
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-20Add sync messages support in ACM-intermediaryFrancescoFioraEst1-1/+0
Issue-ID: POLICY-5048 Change-Id: I4d3a362251931820e1a481f780586afb9e2c60ed Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-19Add support for sync messages in ACM-runtimeFrancescoFioraEst9-94/+124
Issue-ID: POLICY-5035 Change-Id: Ibcf1c6a414a7ba9d1cafd42041551bb0fb198088 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-06-17Improve code in ACMFrancescoFioraEst7-40/+5
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 ACMFrancescoFioraEst8-27/+225
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 Tavares5-5/+149
2024-06-11Merge "Create model in clamp runtime for the replica table"Ramesh Murugan Iyer9-12/+334
2024-06-11Add Synchronization topic in acm runtimerameshiyer275-5/+149
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 tableFrancescoFioraEst9-12/+334
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/UndeployFrancescoFioraEst6-17/+57
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 participantsFrancescoFioraEst5-17/+39
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/DeprimingFrancescoFioraEst4-3/+43
Issue-ID: POLICY-5025 Change-Id: I779d57715a82986bd19f541bc88b12163362b396 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-05-29Remove Map in ACM-R for timeout ParticipantFrancescoFioraEst7-20/+136
Issue-ID: POLICY-5024 Change-Id: Ibb8a93be55380b110c84ec4580690f43e624d125 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-04-16Fix AutomationCompositionElement copy constructorFrancescoFioraEst3-5/+24
Issue-ID: POLICY-4961 Change-Id: I81256e2b0ecb82e7b313ad8b203b1bcf4468dd72 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-03-26Recursive updates of the propertiesFrancescoFioraEst3-1/+134
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 monitoringFrancescoFioraEst6-41/+158
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.gill32-0/+0
Issue-ID: POLICY-4925 Change-Id: I2a9f8e49aed3f1b7354c0540cef29723e87547ca Signed-off-by: saul.gill <saul.gill@est.tech>
2024-01-25Remove Dmaap references from CLAMPrameshiyer2738-101/+101
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-modelFrancescoFioraEst5-11/+34
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 idFrancescoFioraEst2-2/+93
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 ACMFrancescoFioraEst5-9/+55
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-03Add unit tests for tosca element type validationrameshiyer271-0/+28
Issue-ID: POLICY-4830 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: I4357204daddf256298351bbd3d35ffa9e640e7bf
2023-10-02Fix Sonar Issues for clamp/acmFrancescoFioraEst13-322/+26
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 TOSCArameshiyer276-42/+70
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 supportFrancescoFioraEst10-126/+223
Issue-ID: POLICY-4822 Change-Id: Ibde7c14424c63a96c64378d8897e8887935d6c79 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-25Upgrade Java 17adheli.tavares40-105/+136
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 runtimeFrancescoFioraEst7-21/+115
Issue-ID: POLICY-4744 Change-Id: I33d31751be7ca5d7c215a2b465564d3ab0c7bee6 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-07Add restart support in composition and in instanceFrancescoFioraEst12-53/+103
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 ACMFrancescoFioraEst10-40/+257
Issue-ID: POLICY-4743 Change-Id: Iecb8b4f5f5bf9be788d3507354f267f73d8c53d8 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-27Removing old implementation of participant restartsaul.gill2-18/+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-RuntimeFrancescoFioraEst6-16/+50
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-RFrancescoFioraEst9-29/+115
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 ACMFrancescoFioraEst6-14/+46
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/participantsFrancescoFioraEst4-1/+19
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 ACMFrancescoFioraEst10-56/+210
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 "Refactor yaml files in ACM"Liam Fallon1-3/+3
2023-02-15Merge "Implement recording of Operational State and Usage State on ACM-R"Ramesh Murugan Iyer5-105/+128
2023-02-15Add undeploy on deregister (acm-side)saul.gill3-2/+115
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>