aboutsummaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/main/resources
AgeCommit message (Collapse)AuthorFilesLines
2024-07-16Uplift Spring dependenciesadheli.tavares1-6/+3
Issue-ID: POLICY-5074 Change-Id: Ib88e02ffc6867a007abfd0322319caf672c00e45 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-06-13Make basic auth configurable in acmsaul.gill1-4/+0
Allow user to switch on/off basicAuth from application.yaml Issue-ID: POLICY-5044 Change-Id: I96a91152667efc5e26196239bc0808913a5ee06c Signed-off-by: saul.gill <saul.gill@est.tech>
2024-06-11Add Synchronization topic in acm runtimerameshiyer271-2/+11
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-02-21Fixing config files to remove deprecated hibernate configurationsadheli.tavares1-1/+0
IssueID: POLICY-4929 Change-Id: I75d2f5bcdfb0aa6d103f0c82720494bd39343347 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-02-07Permissions fix for clamp filessaul.gill22-0/+0
Issue-ID: POLICY-4925 Change-Id: I2a9f8e49aed3f1b7354c0540cef29723e87547ca Signed-off-by: saul.gill <saul.gill@est.tech>
2024-01-25Remove Dmaap references from CLAMPrameshiyer271-6/+6
Issue-ID:POLICY-4881 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Id305f7538ebc9822f121a868126e188d426c18f6
2023-10-12Remove AAF references from acm-runtimeadheli.tavares1-3/+0
Issue-ID: POLICY-4592 Change-Id: I0a07deba014555290889256a8af197b7db6ae738 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-09-28Add migration publisher message in ACM runtimeFrancescoFioraEst1-2/+3
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 TOSCArameshiyer272-2/+5
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-08-29Update acm swaggersaul.gill15-148/+398
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.gill1-0/+4
Issue-ID: POLICY-4802 Change-Id: Ib0c3aa1b75812d48a26296ba5acc3ea01147f9b4 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-07-18Fix OFF_LINE issue when Status message upcomingFrancescoFioraEst1-1/+1
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-06-20Remove retry count support in ACMFrancescoFioraEst1-3/+0
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-09Update openapi.yaml swagger with new status codesrameshiyer271-2/+296
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-04-14Update Example files for Swagger documentlapentafd7-6/+110
Issue-ID: POLICY-4581 Change-Id: I0db74d45694c7f8d4d0113dbc81d8adb9b55f59a Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2023-02-13Add stubs and tests for ppnt controllersaul.gill3-2/+135
Added stubs Added tests Added node state and elements to all participant endpoint Issue-ID: POLICY-4557 Change-Id: Ia76831ec02f9a308e39f138a3b24f3baced62095 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-01-25Models for refactor Prime and Deprime in ACMFrancescoFioraEst1-3/+6
Refactor Ac Definition to store Prime and Deprime status and refactor CommissioningController to show the status of the AC Definition and of all elements. Issue-ID: POLICY-4502 Change-Id: Ifd90fc8d5788ec2ddebc12ee2e78beef4c0254c8 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-23Refactor participantId as UUIDFrancescoFioraEst2-21/+6
As part of endpoint refactoring, refactor participantId as UUID in ACM. Issue-ID: POLICY-4521 Change-Id: I8ac652d9b2fadf9ce3220febb9c2c3ac0d3786cc Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-12Add participant controller in ACMsaul.gill1-5/+2
Added participant controller Altered openapi spec Added participantId Issue-ID: POLICY-4496 Change-Id: I0c0ea93dacb6927e6f16bd4638d03db6266be3bd Signed-off-by: saul.gill <saul.gill@est.tech>
2023-01-04Refactor Post instances to create and update ACM instancesFrancescoFioraEst1-1/+1
Issue-ID: POLICY-4493 Change-Id: I31c00e6d61a53dcd6a03a911a618f1c6495f2d38 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-16Add new endpoints for ACM state handlingliamfallon1-64/+434
This commit introduces the Swagger changes required for the updates to the State Handling in ACM. The Update handling on the endpoints has changed and will be completed in future reviews. In the meantime, some stubs and unit tests have been temporarily disabled. Issue-ID: POLICY-4487 Change-Id: I40b8cbb188d809b43c3e385aea35f88e9ea7da2b Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-14Server stubs for acm runtimelapentafd4-0/+149
- Added spring profile "stub" - Added Commission and Instantiation stub controllers - Added util function that decodes the object from the openapi/examples - Added 2 missing examples - Added Unit Test for stub controllers Issue-ID: POLICY-4143 Change-Id: Ife91a74e93df4e9db55e17ca9d1793a7ed289e92 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-13Merge "Link the existing InstantiationController with the generated code"Ramesh Murugan Iyer1-4/+5
2022-12-12Link the existing InstantiationController with the generated codeFrancescoFioraEst1-4/+5
Issue-ID: POLICY-4467 Change-Id: Ibe9206ee4189e73357271211d83b0603edfb86da Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-08Adding examples for openapi specificationlapentafd26-0/+3696
Issue-ID: POLICY-4435 Change-Id: Icc45000058a579a076bbb0c2ae9bf3e66bce6f67 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-01Refactor POST and PUT Automation CompositionFrancescoFioraEst1-16/+19
Refactor POST and PUT Automation Composition to handle a single resource instead of a list. Issue-ID: POLICY-4470 Change-Id: Ic7025e1eafdd197487bc5268993ec5e3e5520025 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-18Link the existing CommissioningController with the generated codeFrancescoFioraEst1-1/+1
Link the existing CommissioningController endpoint implementation code with the generated code in Acm. Issue-ID: POLICY-4454 Change-Id: Ie10296b6af8c8bfdbfa7f54714b22ca4804a2eef Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-11Modify OpenAPI yaml to fix swagger editor errorsliamfallon1-125/+118
Using this approach for schemas fixes the errors in the online Swagger Editor and the code generation still obeys the import mappings and uses the Java classes. Issue-ID: POLICY-4450 Change-Id: Ifc3064f8258c4281c9e6bfde16a812ffccd125c1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-10Align Code Generation to Commissioned Automation Composition endpointsFrancescoFioraEst1-250/+314
Issue-ID: POLICY-4450 Change-Id: Ic1bbc83611c2fb743f71d1d7ddb735756a37a6e6 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-09Fix typo in ACM swaggerlapentafd1-1/+7
Added code error 406 for POST, and fix typo Issue-ID: POLICY-4430 Change-Id: I8328830d87cdc98a8b6caa222c062a90583d2912 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-11-07Add ACM OpenApi Specificationslapentafd1-0/+1167
Commissioning and Instantiation endpoints Issue-ID: POLICY-4430 Change-Id: I69d8525615c165dc450da7d5bfcc4953e2d7b3bc Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-10-10Make the ACM REST endpoint preamble configurable via springrameshiyer271-0/+2
ACM REST endpoint preamble "/onap/policy/clamp/acm/" needs to be configurable by the user via spring boot properties file. Issue-ID: POLICY-4381 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I1a82b22bb7b06f856d09089204d79dcfccb528a8
2022-06-09Fix configuration for Prometheus metricsadheli.tavares1-2/+1
JVM related metrics were not being exposed due to spring boot bug when loading beans configuration. Issue-ID: POLICY-4146 Change-Id: I334c60b0c0d087c63b28bf44704aa3e909eca646 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-02-23Fix Schema name to be in consistent with other componentsLathish1-1/+1
Issue-ID: POLICY-3944 Change-Id: Ia20a7de1deb0b2282e1dd31c3e7d67da741d438d Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-18Rename TOSCA Control Loop to ACMliamfallon2-0/+70
This commit renames the TOSCA Control Loop functionality in CLAMP to Automation Composition Management. This review is a direct renaming review and, as everything is renamed together it is large. Issue-ID: POLICY-3939 Change-Id: I28f0a6dd889bf3570a4c1365ae9e71fc58db6d6c Signed-off-by: liamfallon <liam.fallon@est.tech>