aboutsummaryrefslogtreecommitdiffstats
path: root/models
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-05-20Set snapshot and/or references of policy/clamp for new releasesaul.gill1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4999 Change-Id: Ib797a6609311b09ba4b83c1a24c321df34bec9d8 Signed-off-by: saul.gill <saul.gill@est.tech>
2024-05-17Update snapshot and/or references of policy/clamp to latest snapshotswaynedunican1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5001 Change-Id: Iff92376f1537772c6130cc2c53c74bd8ca0cd006 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-04-26Update snapshot and/or references of policy/clamp to latest snapshotssaul.gill1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4970 Change-Id: I5deb1cfde30f198d6c197ab4b12bd9f99578461b Signed-off-by: saul.gill <saul.gill@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-04-11Dependency management updateadheli.tavares1-1/+56
- including dependencies to pom.xml files only where they are used, avoiding extra dependencies being added in all modules. Issue-ID: POLICY-4945 Change-Id: If67059ecba32f406a5aa1148685584419d637877 Signed-off-by: adheli.tavares <adheli.tavares@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-19Update snapshot and/or references of policy/clamp to latest snapshotswaynedunican1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4932 Change-Id: I4a7eb3766f4162af7f2f8e06979ebcbfd3c7d2ee Signed-off-by: waynedunican <wayne.dunican@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-11Update snapshot and/or references of policy/clamp to latest snapshotssaul.gill1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4907 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: I69fa4d1b08dd89d8c87a169a9e7ee7e79a8ff374
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-11-14Set snapshot and/or references of policy/clamp for new releaseliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I51cf214ae8389f03bc64589f94b447138fbbec3a
2023-11-13Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I181bd89be2a0921f4b01d6c6c19151204f020c1f
2023-10-19Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic693b0164d6bdd6944d2c68b0b39744a790be22a
2023-10-18Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I39ae194f4d61fae9829a7e670b16917900e0625c
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.tavares41-106/+137
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-25Set snapshot and/or references of policy/clamp for new releaseliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4662 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0697ed63e666a83458b4d05712a2eabd51482f65