aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-12-08Clamp models code coveragelapentafd2-0/+247
Issue-ID: POLICY-4476 Change-Id: Ie34f278cf999dd2046ccdff6b97936b42ad19355 Signed-off-by: lapentafd <francesco.lapenta@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-07Merge "Fix dockersuse profile"Liam Fallon3-13/+7
2022-12-07Merge "A1pms: Fix Code smells and coverage"Liam Fallon3-6/+33
2022-12-07Merge "Clamp models utils code coverage"Liam Fallon1-0/+37
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-06Fix dockersuse profilesaul.gill3-13/+7
Addition of mvn properties to make Dockerfile configurable caused ignoring of dockersuse properties. Removed overriding properties and manually tested. Added dockerfile names to docker profile too. Issue-ID: POLICY-4473 Change-Id: Ic7432524127500c7533d0d72172027142de1ee4c Signed-off-by: saul.gill <saul.gill@est.tech>
2022-12-06A1pms: Fix Code smells and coveragearavind.est3-6/+33
Issue-ID: CCSDK-3816 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: Ifa9a5d538d13e59ec842edee6d3cbc43a0f0df1d
2022-12-06Clamp models utils code coveragelapentafd1-0/+37
Issue-ID: POLICY-4476 Change-Id: Ia18a80565abbf8e9aaeba270f60b6984aa8078ef Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-06Merge "Replace SpringFox with SpringDoc in CLAMP"Liam Fallon28-363/+1029
2022-12-06Replace SpringFox with SpringDoc in CLAMPliamfallon28-363/+1029
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 Fallon25-1594/+808
2022-12-05Merge "Save ToscaServiceTemplate as Json in ACM"Liam Fallon14-167/+125
2022-12-01Refactor POST and PUT Automation CompositionFrancescoFioraEst25-1594/+808
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-30Merge "Add A1 PMS participant"Liam Fallon32-0/+1991
2022-11-30Merge "Move git-commit-id-maven-plugin to parent pom"Liam Fallon1-19/+0
2022-11-30Save ToscaServiceTemplate as Json in ACMFrancescoFioraEst14-167/+125
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-28Merge "Link the AutomationComposition with AutomationCompositionDefinition"Liam Fallon34-937/+537
2022-11-28Add A1 PMS participantaravind.est32-0/+1991
Issue-ID: CCSDK-3816 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: I00c04542f5ec4672b1c3a29ca32477bf5d2ca336
2022-11-25Move git-commit-id-maven-plugin to parent pomdanielhanrahan1-19/+0
The POM config for git-commit-id-maven-plugin is duplicated in each repo, so the config is moved to policy/parent Issue-ID: POLICY-4466 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I812ebc8836ab8fc56ac209904aaa916a08665e61
2022-11-24Link the AutomationComposition with AutomationCompositionDefinitionFrancescoFioraEst34-937/+537
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-23Add model to save ToscaServiceTemplate as Json in ACMFrancescoFioraEst22-0/+2828
Issue-ID: POLICY-4462 Change-Id: I81a5a8922b0e980143a8da4b6d0572767620fb36 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-18Link the existing CommissioningController with the generated codeFrancescoFioraEst25-1162/+840
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-17Update participans to swagger v3FrancescoFioraEst3-172/+80
Participant Kubernetes Rest Controller is enabled only for testing and ACM Element is an application for testing, so they not need yaml endpoints definition and Contract testing. Issue-ID: POLICY-4459 Change-Id: Ibdab1b1fb6522e615eba182e8e3a332dec5b96fc Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-15Merge "Remove redundant endpoints in ACM"Ramesh Murugan Iyer12-1435/+7
2022-11-14Merge "Modify OpenAPI yaml to fix swagger editor errors"Liam Fallon2-138/+131
2022-11-14Merge "Add AutomationCompositionDefinition model"Ramesh Murugan Iyer5-1/+176
2022-11-14Remove redundant endpoints in ACMFrancescoFioraEst12-1435/+7
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-11Add AutomationCompositionDefinition modelFrancescoFioraEst5-1/+176
Add AutomationCompositionDefinition model for Commissioned Automation Composition endpoints. Issue-ID: POLICY-4452 Change-Id: I73fc5b06cb75ed578a40ea618f1f5a0eec616b08 Signed-off-by: FrancescoFioraEst <francesco.fiora@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-10Merge "Remove clamp-backend url forwarding support"Liam Fallon356-47032/+0
2022-11-09Remove clamp-backend url forwarding supportliamfallon356-47032/+0
The functionality to forward the requests from the UI to the other microservices has been moved to the gui-server microservice. Issue-ID: POLICY-4138 Change-Id: I3120e54894ab51194b20098c4c4d63679c15b06f Signed-off-by: liamfallon <liam.fallon@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-08Merge "Add ACM OpenApi Specifications"Liam Fallon1-0/+1167
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-11-03Add Prometheus metric messages for ACM participantsFrancescoFioraEst16-34/+240
Issue-ID: POLICY-4433 Change-Id: I625c9ee26bb2451e0dcfbb4bbf7288dcc0effb50 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-01Remove old implementation of statistics in ACM modelsFrancescoFioraEst26-1902/+6
The old implementation of statistics in ACM can be removed due the Prometheus metrics support. Issue-ID: POLICY-4422 Change-Id: Ia2681b9a3ca59d532cd5c0d1ce4edd3e8f9f98e3 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-10-30Merge "Remove old implementation of statistics in ACM participants"Liam Fallon14-246/+5
2022-10-28Remove old implementation of statistics in ACM participantsFrancescoFioraEst14-246/+5
The old implementation of statistics in ACM-participants can be removed due the Prometheus metrics support. Issue-ID: POLICY-4420 Change-Id: I0785b269614aba51f94e71a3fe931541c1918b0c Signed-off-by: FrancescoFioraEst <francesco.fiora@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 releaseliamfallon22-26/+26
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 snapshotsliamfallon22-25/+25
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-21Release docker images for policy/clamp: 6.3.1liamfallon1-0/+16
This commit releases docker images for repo policy/clamp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5d882daf43e9983690b7f10f5f056abdf778a75e
2022-10-21Release policy/clamp: 6.3.1liamfallon1-0/+5
This commit releases repo policy/clamp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I29a2ed13ac8ce3178e9fb049dda42dea4fc51a5c
2022-10-21update references in policy/clamp pomliamfallon6-8/+8
updated references in the policy/clamp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1bc7f5544d7d479ed844a74c72a618cfe19e4a42
2022-10-14Clean up dependencies in CLAMP POMsliamfallon6-128/+53
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 versionliamfallon4-6/+1
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 springrameshiyer275-3/+12
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