summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-01-04Refactor Post compositions to create and update ACM definitionsFrancescoFioraEst4-34/+25
Issue-ID: POLICY-4492 Change-Id: Ica3885c7e2a048500a86abc194624ac22efd6bc2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-21Merge "Add compositionId into Messages between ACM and Participants"Liam Fallon29-810/+235
2022-12-20Merge "Remove unused code in acm stubs"Liam Fallon3-21/+14
2022-12-20Add compositionId into Messages between ACM and ParticipantsFrancescoFioraEst29-810/+235
Issue-ID: POLICY-4489 Change-Id: I1fb8c04eacee040d5c944c522ca59a2a9a50376b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-20Merge "Fix copy contructor in DocToscaServiceTemplate in ACM"Liam Fallon7-27/+94
2022-12-20Merge "Refactor instanceId as primary key in JpaAutomationComposition"Liam Fallon16-490/+283
2022-12-19Merge "Upgrade the H2 database to the latest version"Liam Fallon5-6/+14
2022-12-19Remove unused code in acm stubslapentafd3-21/+14
Issue-ID: POLICY-4143 Change-Id: Iaaa16a3a3273659506bc63169b5e87ae5ed288c1 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-18Upgrade the H2 database to the latest versionliamfallon5-6/+14
The latest verison of H2 does not allow colums called "user" or indexes using an underscore in their name. Issue-ID: POLICY-4488 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I399508265eded036bc3133db890b97a0870640d5
2022-12-16Add new endpoints for ACM state handlingliamfallon12-69/+606
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-16Refactor instanceId as primary key in JpaAutomationCompositionFrancescoFioraEst16-490/+283
Issue-ID: POLICY-4480 Change-Id: I4d3bd44c23378b428beb901d78ea48dcdbbe7f44 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-16Fix copy contructor in DocToscaServiceTemplate in ACMFrancescoFioraEst7-27/+94
Issue-ID: POLICY-4486 Change-Id: Ic13daae3c9c8ebdf72a30dcdac59b3a944f77893 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-15Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon24-27/+27
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia4d1977e35c4783bd94e034c4195b1ef1ae8b930
2022-12-15Release docker images for policy/clamp: 6.4.0liamfallon1-0/+18
This commit releases docker images for repo policy/clamp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7c2b1dfa5e715adfd2a835e1e10b05fe16b28e16 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Release policy/clamp: 6.4.0liamfallon1-0/+5
This commit releases repo policy/clamp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id73489870e1ba16ee797bbe810811d75ec519dc6
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