summaryrefslogtreecommitdiffstats
path: root/runtime-acm
AgeCommit message (Collapse)AuthorFilesLines
2022-11-24Link the AutomationComposition with AutomationCompositionDefinitionFrancescoFioraEst14-326/+279
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 codeFrancescoFioraEst16-829/+412
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-15Merge "Remove redundant endpoints in ACM"Ramesh Murugan Iyer7-1199/+0
2022-11-14Remove redundant endpoints in ACMFrancescoFioraEst7-1199/+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-11-11Modify OpenAPI yaml to fix swagger editor errorsliamfallon2-138/+131
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 endpointsFrancescoFioraEst2-253/+319
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-08Add Maven Build for Code Generationlapentafd1-0/+36
Issue-ID: POLICY-4159 Change-Id: I51b1dd182c878a44e1b3f8c205221ae434459f5a 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-27Remove old implementation of statistics in ACM-runtimeFrancescoFioraEst8-1198/+18
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-21Set 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-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic5dba007602ae27989cc20ef59f512b1e06fa892
2022-10-21Update 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-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I230f8695c7a87f4bbffdcc3102c1922e6354f804
2022-10-14Clean up dependencies in CLAMP POMsliamfallon1-62/+0
External dependencies should in general be in the root POMs of repos and internal dependencies only in child POMs. There are exceptions whare a child modle is dealing with a specific technology. This commit tidies up the CLAMP POMs. Issue-ID: POLICY-4289 Change-Id: I0493daf1d737222bd724333ab8baab9226da6121 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-11Use spring-boot-starter-actuator managed versionliamfallon1-2/+0
Issue-ID: POLICY-4393 Change-Id: I31399942e603b2f29921c38c7dc1b9ab18be0d09 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-10Make the ACM REST endpoint preamble configurable via springrameshiyer274-3/+10
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-09-23Update 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-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I37502e4d1d64661ae82b2a9a92330691ec69e634
2022-08-31Add Prometheus metric messages for ACM runtimeFrancescoFioraEst8-9/+49
Issue-ID: POLICY-4336 Change-Id: I8f89f795625d8802ee6f3836c6fc4b66f0db75db Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-07-14Remove usage of jackson libraries from clamp runtime acmFrancescoFioraEst5-189/+18
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.tavares11-79/+101
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 Functionalitybrunomilitzer7-25/+244
Issue-ID: POLICY-4094 Change-Id: Id52dba3c0912486fa551697be170c05542a0ee22 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-05-03Set 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-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icf5d09aafb4ff088dd9e6c3268859753c0a3c06a Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update 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-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib28160e231fbfe1124cd49d29ca9e3d538a1cbfd
2022-04-27Fix Issue when serialization into JSON SchemaFrancescoFioraEst4-113/+101
Issue-ID: POLICY-4104 Change-Id: Iab42134820fc547429a988b43a0bd6edb344c3db Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-04-22Use policy/parent for dependency managementliamfallon1-1/+0
We use policy/parent for dependency management so that we can control the spring and spring boot versions that are pulled in. Issue-ID: POLICY-4070 Change-Id: I1f8da1f1eb660c748110ecc25ca445c3c9cb202e Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-20Replace jackson library usage with GSONSirisha_Manchikanti4-80/+89
Issue-ID: POLICY-4085 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I6f8f55d2c49495b6efcdc7f58de03c440f72626d
2022-04-12Update 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-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifd4eb766f4070811f8100eb27f58ef2618b1dd22
2022-04-11Add separate version for Jackson annotationsliamfallon1-1/+0
Issue-ID: POLICY-4070 Change-Id: I3737728dfdcbd8b5528ae5c9780756a41be3e369 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Update 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-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I45033a8f834d30ce188f122519c56af92ca26847
2022-03-09Clean up of unit tests for ACM definitionsadheli.tavares20-7896/+150
Issue-ID: POLICY-3945 Change-Id: I080e402899d2b2960b46efa06db68041a73f5d2b Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-03-09Merge "Fixed Instance Properties Name"Liam Fallon5-33/+16
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 Namebrunomilitzer5-33/+16
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-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 ACMliamfallon80-0/+18654
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>