summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-12-15Release policy/clamp6.4.0jenkins-releng17-17/+17
2022-12-15update references in policy/clamp pomliamfallon7-9/+9
updated references in the policy/clamp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic09ff93af8a7142f7149f79aac344efc389b4082
2022-12-15Merge "Server stubs for acm runtime"Liam Fallon14-3/+639
2022-12-14Server stubs for acm runtimelapentafd15-5/+641
- 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-13Replace ToscaConceptIdentifier with UUID in Participant Messages ACMFrancescoFioraEst34-256/+236
Replace in all messages the reference to Automation Composition ToscaConceptIdentifier(name, version) with instanceId(UUID). Issue-ID: POLICY-4479 Change-Id: I7bc9a7494103b9c1752a1e2c6f6d5a527196913d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-13Merge "Fix intermittent clamp test failure"Liam Fallon1-2/+2
2022-12-13Merge "Link the existing InstantiationController with the generated code"Ramesh Murugan Iyer18-600/+368
2022-12-12Fix intermittent clamp test failurelapentafd1-2/+2
Issue-ID: POLICY-4476 Change-Id: I93a14336fa4197c241ad5880e2f597820fd809ce Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-12Merge "Add support for instance properties"Pamela Dragosh9-33/+94
2022-12-12Merge "Adding examples for openapi specification"Pamela Dragosh26-0/+3696
2022-12-12Link the existing InstantiationController with the generated codeFrancescoFioraEst18-600/+368
Issue-ID: POLICY-4467 Change-Id: Ibe9206ee4189e73357271211d83b0603edfb86da Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-09Merge "Increase code coverage of k8s-participant module"Liam Fallon4-45/+38
2022-12-09Merge "Clamp models code coverage"Liam Fallon2-0/+247
2022-12-09Merge "Add instanceId support in AutomationCompositionProvider"Liam Fallon15-132/+202
2022-12-08Add support for instance propertiesFrancescoFioraEst9-33/+94
Issue-ID: POLICY-4483 Change-Id: I6ca953e05e74d68262507b393fb6415573fa3eab Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
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-08Increase code coverage of k8s-participant modulerameshiyer274-45/+38
Unit tests with static mocks are being ignored in the build causing drop in the code coverage of k8s participant module. Static implementation in the code has been changed as it is not required. Code coverage improved to 85% Issue-ID: POLICY-4477 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I82facafffb8da1823699f63da480951b60060888
2022-12-08Add instanceId support in AutomationCompositionProviderFrancescoFioraEst15-132/+202
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-08Adding examples for openapi specificationlapentafd26-0/+3696
Issue-ID: POLICY-4435 Change-Id: Icc45000058a579a076bbb0c2ae9bf3e66bce6f67 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