summaryrefslogtreecommitdiffstats
path: root/runtime-acm/src
AgeCommit message (Collapse)AuthorFilesLines
2024-04-03Merge properties in migrate in ACMFrancescoFioraEst1-1/+1
Issue-ID: POLICY-4954 Change-Id: If11b55e215512b7893ed62fa60d97570d3c4f5fc Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-04-02Merge "Allow element version update in migration"Adheli Tavares2-35/+109
2024-03-27Allow element version update in migrationFrancescoFioraEst2-35/+109
Allow composition definition element to update the version in migration. Issue-ID: POLICY-4950 Change-Id: I40d2a4fea2178a3daf00c57861ce30e231cccb1a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-03-26Recursive updates of the propertiesFrancescoFioraEst1-1/+1
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 monitoringFrancescoFioraEst7-70/+200
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-21Fixing config files to remove deprecated hibernate configurationsadheli.tavares3-7/+2
IssueID: POLICY-4929 Change-Id: I75d2f5bcdfb0aa6d103f0c82720494bd39343347 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-02-09Merge "Remove Dmaap from clamp"Adheli Tavares1-2/+2
2024-02-09Remove Dmaap from clamprameshiyer271-2/+2
Issue-ID: POLICY-4402 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: Ic281bc3845622a7c8b76107bb418158d8f389034
2024-02-07Share tracing context in all threadssaul.gill2-3/+5
Issue-ID: POLICY-4922 Change-Id: I8f5e99b597c989a26777233ef58ef5c4f9db4215 Signed-off-by: saul.gill <saul.gill@est.tech>
2024-02-07Permissions fix for clamp filessaul.gill58-0/+0
Issue-ID: POLICY-4925 Change-Id: I2a9f8e49aed3f1b7354c0540cef29723e87547ca Signed-off-by: saul.gill <saul.gill@est.tech>
2024-01-25Remove Dmaap references from CLAMPrameshiyer2730-91/+91
Issue-ID:POLICY-4881 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Id305f7538ebc9822f121a868126e188d426c18f6
2024-01-16Adding http tracing capabilitysaul.gill3-0/+97
Open telemetry tracing now supported in acm Issue-ID: POLICY-4875 Change-Id: I7423211f3b775825f24e4bd4b906f646a882747b Signed-off-by: saul.gill <saul.gill@est.tech>
2024-01-02Add validation in AC instance elements Id in updateFrancescoFioraEst2-20/+30
Issue-ID: POLICY-4905 Change-Id: If49a7829fa8acfe375cf7bb1d7ed6859f8a3f190 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-12-07Add validation for AC instance element idFrancescoFioraEst2-12/+11
Issue-ID: POLICY-4900 Change-Id: I78be5924950eec508856be5850a3a749860e0e49 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-11-29Update ExceptionHandler in ACMFrancescoFioraEst1-27/+7
Issue-ID: POLICY-4890 Change-Id: I29cc3fe546b8b80e196750cf13e8d5e564eff0c4 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-11-24Allow semantic versioning in all templates in ACMFrancescoFioraEst5-39/+273
Issue-ID: POLICY-4886 Change-Id: I0c46397e86377e6f59f55121a60b8f2b5665a5d5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-11-20Fix missing error message in ACMFrancescoFioraEst2-4/+32
Issue-ID: POLICY-4872 Change-Id: I2f7769a3bb1f6aa168f8d59ff99cb0774aee5ed7 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-10-26Fix participant testsaul.gill1-1/+7
Issue-ID: POLICY-4858 Change-Id: I2c4c22d5058177b0bf8727630a4f524b0c039b13 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-10-16Fix messages in ACMFrancescoFioraEst2-24/+49
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-12Remove AAF references from acm-runtimeadheli.tavares4-85/+1
Issue-ID: POLICY-4592 Change-Id: I0a07deba014555290889256a8af197b7db6ae738 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-10-03Fix minor Sonar Issues for clamp/acmFrancescoFioraEst3-15/+12
Issue-ID: POLICY-4834 Change-Id: I17efea9b14bb39d7abbafa4f3b695b0451a08c68 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-10-02Fix Sonar Issues for clamp/acmFrancescoFioraEst3-15/+9
Issue-ID: POLICY-4834 Change-Id: I4489dc66e9b20c8264ec88593f0b5d89d62f1ef8 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-28Add migration publisher message in ACM runtimeFrancescoFioraEst10-61/+266
Issue-ID: POLICY-4823 Change-Id: Id4480a0800e41ec8e2f0f9931a9a93752b2ef952 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-27Allow customisation in element and composition names in TOSCArameshiyer2722-73/+218
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-27Fix swagger file linkssaul.gill7-6/+6
Issue-ID: POLICY-4829 Change-Id: I7d8f3ec6ff53eb63d35d5584e4289b07efe48880 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-09-26Update examples with new functionalityFrancescoFioraEst20-2017/+2255
Issue-ID: POLICY-4828 Change-Id: I7839bf6d49bd08cec42c51b460d3dc04422e4ba7 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-09-25Upgrade Java 17adheli.tavares26-88/+84
Issue-ID: POLICY-4673 Change-Id: I01fd3677687b5d2e065d0cc131b338ed841d7e99 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-08-29Update acm swaggersaul.gill16-149/+399
Added description of update in OAS Updated some example json/yaml Issue-ID: POLICY-4808 Change-Id: I8c4cab6870cd1071b4782784e997a303ace16fdd Signed-off-by: saul.gill <saul.gill@est.tech>
2023-08-25Make auth optional for prometheus metricssaul.gill5-6/+128
Issue-ID: POLICY-4802 Change-Id: Ib0c3aa1b75812d48a26296ba5acc3ea01147f9b4 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-08-08Add support to save outProperties in AC Definition in ACM runtimeFrancescoFioraEst3-17/+81
Add support to save outProperties in AC Definition from Participant Status message. Add outProperties support in restart message. Issue-ID: POLICY-4781 Change-Id: I9f9bed5c9c3e6692a1e4666162b752db95994f95 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-24Add missing validation in Delete AC instanceFrancescoFioraEst2-1/+9
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-20Fix State change result of AC instances after timeoutrameshiyer271-3/+2
If the AC operation succeeds/failed after timeout, the latest results were not updated in the database. Issue-ID: POLICY-4769 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Id849a79847f85aa96ae36cd614d045e180731ebf
2023-07-18Fix OFF_LINE issue when Status message upcomingFrancescoFioraEst4-14/+73
Issue-ID: POLICY-4770 Change-Id: If5812e689fab5ebfcf3eb23c89dcbd556ad8f331 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-14Refer the header section as reference in openapi.yamlaravind.est1-540/+254
Header schema details moved to components/headers section and referred. Issue-ID:POLICY-4768 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: Iecb6dbc91dae5ce0ed18c717de8b0fe043b3c843
2023-07-12Add support participant restart in ACM runtimeFrancescoFioraEst12-76/+442
Issue-ID: POLICY-4744 Change-Id: I33d31751be7ca5d7c215a2b465564d3ab0c7bee6 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-05Add validation for Participant availabilityrameshiyer2712-25/+119
Validation added to check if the participant is online before executing all the ACM operations Issue-ID: POLICY-4746 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibbdb299822e5fc6462db9688a3ec853076b1e7e9
2023-06-28Add restart publisher to support participant restart scenario in ACMFrancescoFioraEst3-18/+107
Issue-ID: POLICY-4743 Change-Id: Iecb8b4f5f5bf9be788d3507354f267f73d8c53d8 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-27Removing old implementation of participant restartsaul.gill2-2/+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/deprimeFrancescoFioraEst4-19/+113
Issue-ID: POLICY-4734 Change-Id: I581610bb1a025e76a5af77e1deb2cd7b97ce7101 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-20Remove retry count support in ACMFrancescoFioraEst11-206/+85
Due the new timeout implementation, the Retry Count support could be removed. Issue-ID: POLICY-4735 Change-Id: I3b9c50a761696e00bcd1ca73dafa382c481e921d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-16Add support for Prime Deprime Failure Handling in ACM-RuntimeFrancescoFioraEst5-48/+99
Issue-ID: POLICY-4714 Change-Id: I1f3cf8f0fcebc7c48b3632ad10aa8907c41cdb5a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-14Add timeout for ACM operationsrameshiyer272-0/+50
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-09Update openapi.yaml swagger with new status codesrameshiyer273-4/+298
Changing the response code of delete operation from 200 to 202 as it requires to be delegated to the participants. Adding 500 server error code for all the REST responses. Issue-ID: POLICY-4729 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I92c17b253071c3fe4014f475d681bc99df4a9402
2023-06-01Add Failure handling support in the ACM-RFrancescoFioraEst4-39/+245
Issue-ID: POLICY-4705 Change-Id: I919b7981cdbe69ac7ce703fceb2e980a6d9a056e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-23Update AC Element properties on the DEPLOYED staterameshiyer275-32/+163
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 ACMFrancescoFioraEst1-1/+1
Issue-ID: POLICY-4687 Change-Id: Ida8ff3fbc72c2f6d75a8e3399fa40099696c1477 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-17Add extend instance deletion support in ACMFrancescoFioraEst6-36/+91
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-08Update ACM-R missing stubslapentafd5-15/+15
Fix typo and adding return 202 to missing stub Issue-ID: POLICY-4143 Change-Id: I9b59b762395a1c3a1ae262ed4ac7679de402e0ac Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2023-05-03Add participant properties capability to acm/participantsFrancescoFioraEst2-2/+6
Add statusProperties support in acm acm/participants. Issue-ID: POLICY-4652 Change-Id: I6dd37c9be58fce36def022364abe46c791e98a77 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-04-14Update Example files for Swagger documentlapentafd7-6/+110
Issue-ID: POLICY-4581 Change-Id: I0db74d45694c7f8d4d0113dbc81d8adb9b55f59a Signed-off-by: lapentafd <francesco.lapenta@est.tech>