aboutsummaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/test
AgeCommit message (Collapse)AuthorFilesLines
2022-12-09Merge "Add instanceId support in AutomationCompositionProvider"Liam Fallon4-30/+34
2022-12-08Add instanceId support in AutomationCompositionProviderFrancescoFioraEst4-30/+34
As part of the endpoint refactoring of InstantiationController, AutomationCompositionProvider have to support instanceId in CRUD operations. InstanceId will be temporary add as normal field and it will became primary key in next Jira task. Issue-ID: POLICY-4478 Change-Id: I0f7a1ab7683671403831cffdfe6db37eea569c74 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-08Remove test statistics json filesFrancescoFioraEst4-119/+0
Issue-ID: POLICY-4481 Change-Id: Idd84f453315bce3865080979aceff3a188e36de5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-07Increase code coverage in runtime ACMFrancescoFioraEst3-137/+254
Issue-ID: POLICY-4475 Change-Id: I936d6f0c20f774e37cef8dfbccaecb8f85660309 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-06Merge "Replace SpringFox with SpringDoc in CLAMP"Liam Fallon4-2/+18
2022-12-06Replace SpringFox with SpringDoc in CLAMPliamfallon4-2/+18
This commit: - Remove springfox from CLAMP - updates the commissioning, AC Element, and K8S particiapnt to use the generated interface rather than the hard coded one - removes swagger annotations from handwritten code - implements SpringDoc for the <base_path>/v3/api-docs on endpoints Issue-ID: POLICY-4404 Change-Id: I49f48bc7828cb49dab854ef9ed16a9aa377983e1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-05Merge "Refactor POST and PUT Automation Composition"Liam Fallon16-1296/+667
2022-12-01Refactor POST and PUT Automation CompositionFrancescoFioraEst16-1296/+667
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-30Save ToscaServiceTemplate as Json in ACMFrancescoFioraEst1-2/+3
Save ToscaServiceTemplate as Json using DocToscaServiceTemplate as model. Issue-ID: POLICY-4468 Change-Id: I4c6f49012d091b87f0da4db2edcd5f16af2f4d5c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-24Link the AutomationComposition with AutomationCompositionDefinitionFrancescoFioraEst9-276/+233
In AutomationComposition replace the link to ToscaNodeTemplate whit a link to AutomationCompositionDefinition using compositionId. Issue-ID: POLICY-4464 Change-Id: I66878f04ef93fb0754d0066e78bd074ce082f891 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-18Link the existing CommissioningController with the generated codeFrancescoFioraEst7-310/+213
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-14Remove redundant endpoints in ACMFrancescoFioraEst3-280/+0
Remove redundant endpoints in ACM not present in the new generated Api code. Issue-ID: POLICY-4453 Change-Id: I4b843c2637e934f8a29f71d8031bdfe903ff20dc Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-10-27Remove old implementation of statistics in ACM-runtimeFrancescoFioraEst4-584/+15
The old implementation of statistics in ACM-runtime can be removed due the Prometheus metrics support. Issue-ID: POLICY-4419 Change-Id: Idecad04b4a5dd32ce2ebc1149eb99e4fdc6f0db1 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-10-10Make the ACM REST endpoint preamble configurable via springrameshiyer272-2/+7
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-09-28Increase code coverage in runtime-acmFrancescoFioraEst3-48/+156
Issue-ID: POLICY-4370 Change-Id: If017da7bfe555dcbc9c7be62628751dbf9707623 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-07-14Remove usage of jackson libraries from clamp runtime acmFrancescoFioraEst2-68/+0
Issue-ID: POLICY-4105 Change-Id: I04488a8a246e4c161e9a9eca86634844aba27872 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-06-21Update service template for PMSH usecase with ACMrameshiyer273-33/+15
Issue-ID: POLICY-4240 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I169551637a48bcf5f4f7dc42dadbdc13a769f016
2022-06-09Fix configuration for Prometheus metricsadheli.tavares7-72/+55
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-05-25Added Edit Instance Properties Functionalitybrunomilitzer3-2/+8
Issue-ID: POLICY-4094 Change-Id: Id52dba3c0912486fa551697be170c05542a0ee22 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-04-27Fix Issue when serialization into JSON SchemaFrancescoFioraEst2-62/+44
Issue-ID: POLICY-4104 Change-Id: Iab42134820fc547429a988b43a0bd6edb344c3db Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-04-20Replace jackson library usage with GSONSirisha_Manchikanti2-22/+37
Issue-ID: POLICY-4085 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I6f8f55d2c49495b6efcdc7f58de03c440f72626d
2022-03-09Clean up of unit tests for ACM definitionsadheli.tavares19-7895/+127
Issue-ID: POLICY-3945 Change-Id: I080e402899d2b2960b46efa06db68041a73f5d2b Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-03-09Merge "Fixed Instance Properties Name"Liam Fallon3-3/+4
2022-03-07Organising tosca files references to an examples folderadheli.tavares1-232/+0
Issue-ID: POLICY-3945 Change-Id: If013bba1288ed9f5778ea796161d42d617909728 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-03-07Fixed Instance Properties Namebrunomilitzer3-3/+4
Fixed issue where the system put append _Instance1 so the end user can put their own custom name Issue-ID: POLICY-3978 Change-Id: I04500148aeee49c64f278ce00daa55d14f964b90 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-25Changed Incorrect Name for Tosca Service Template Participant Typebrunomilitzer1-8/+8
Issue-ID: POLICY-3940 Change-Id: Ia66052c4729d117f542069f0fdad8f74fabfe878 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-18Rename TOSCA Control Loop to ACMliamfallon36-0/+12788
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>