aboutsummaryrefslogtreecommitdiffstats
path: root/models/src
AgeCommit message (Collapse)AuthorFilesLines
2023-01-19Add supported ac elements to participantssaul.gill13-27/+560
Added new supported elements table Added supported element names and versions to participant application.yaml files Issue-ID: POLICY-4512 Change-Id: I97d7f571f2906846514ac0804b4827f0601177d7 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-01-18Merge "Remove reference type of participantId in Unit Tests in ACM-models"Liam Fallon14-59/+130
2023-01-17Remove reference type of participantId in Unit Tests in ACM-modelsFrancescoFioraEst14-59/+130
As part of the participantId refactoring, reduce the impact of the changes by removing the reference type of participantId in unit tests. Issue-ID: POLICY-4523 Change-Id: I5d25dd3a02dffc8293bd9a4a2ce5dbcdbbf0bcb5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-17Remove FilterRepository in ACMFrancescoFioraEst7-267/+17
As part of participantId refactoring, FilterRepository and related implementation could be removed. Issue-ID: POLICY-4522 Change-Id: Idb078989871f1f65615a7df90aea69f7cd822dae Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-12Add participant controller in ACMsaul.gill7-28/+126
Added participant controller Altered openapi spec Added participantId Issue-ID: POLICY-4496 Change-Id: I0c0ea93dacb6927e6f16bd4638d03db6266be3bd Signed-off-by: saul.gill <saul.gill@est.tech>
2023-01-12Merge "Refactor AcTypeState Update"Liam Fallon8-77/+254
2023-01-10Refactor AcTypeState UpdateFrancescoFioraEst8-77/+254
Refactor AcTypeState Update and add AcTypeState Resolved that will used by priming/depriming. Issue-ID: POLICY-4503 Change-Id: I2dd70cd8f569f29d35709e741616079499757bfd Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-06Refactor register deregister a Participant and Supervise ParticipantsFrancescoFioraEst13-304/+68
Refactor register deregister a Participant and Supervise Participants using ON_LINE/OFF_LINE as Participant Status. Issue-ID: POLICY-4497 Change-Id: If9c5b92131c99132c18340e56334fb9453745526 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-05Merge "Refactor Post instances to create and update ACM instances"Liam Fallon2-35/+1
2023-01-04Refactor Post instances to create and update ACM instancesFrancescoFioraEst2-35/+1
Issue-ID: POLICY-4493 Change-Id: I31c00e6d61a53dcd6a03a911a618f1c6495f2d38 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-04Refactor Post compositions to create and update ACM definitionsFrancescoFioraEst1-1/+7
Issue-ID: POLICY-4492 Change-Id: Ica3885c7e2a048500a86abc194624ac22efd6bc2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-20Add compositionId into Messages between ACM and ParticipantsFrancescoFioraEst7-187/+6
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 Fallon12-480/+273
2022-12-19Merge "Upgrade the H2 database to the latest version"Liam Fallon4-4/+14
2022-12-18Upgrade the H2 database to the latest versionliamfallon4-4/+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 handlingliamfallon4-0/+128
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 JpaAutomationCompositionFrancescoFioraEst12-480/+273
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-13Replace ToscaConceptIdentifier with UUID in Participant Messages ACMFrancescoFioraEst11-26/+38
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 Iyer3-6/+34
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 Dragosh7-13/+94
2022-12-12Link the existing InstantiationController with the generated codeFrancescoFioraEst3-6/+34
Issue-ID: POLICY-4467 Change-Id: Ibe9206ee4189e73357271211d83b0603edfb86da Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-09Merge "Clamp models code coverage"Liam Fallon1-0/+21
2022-12-08Add support for instance propertiesFrancescoFioraEst7-13/+94
Issue-ID: POLICY-4483 Change-Id: I6ca953e05e74d68262507b393fb6415573fa3eab Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-08Clamp models code coveragelapentafd1-0/+21
Issue-ID: POLICY-4476 Change-Id: Ie34f278cf999dd2046ccdff6b97936b42ad19355 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-08Add instanceId support in AutomationCompositionProviderFrancescoFioraEst8-94/+154
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-06Clamp models utils code coveragelapentafd1-0/+37
Issue-ID: POLICY-4476 Change-Id: Ia18a80565abbf8e9aaeba270f60b6984aa8078ef Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-05Merge "Refactor POST and PUT Automation Composition"Liam Fallon5-109/+29
2022-12-01Refactor POST and PUT Automation CompositionFrancescoFioraEst5-109/+29
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 ACMFrancescoFioraEst11-157/+117
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 Fallon15-343/+234
2022-11-24Link the AutomationComposition with AutomationCompositionDefinitionFrancescoFioraEst15-343/+234
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 codeFrancescoFioraEst8-332/+427
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 Iyer5-236/+7
2022-11-14Remove redundant endpoints in ACMFrancescoFioraEst5-236/+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-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-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-08-26Add new topic for publishing events in Acm Element Implrameshiyer272-3/+5
Listening and publishing on different topics for better readability of logs and segregation of events between PDP and AC element. Issue-ID: POLICY-4332 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I7c44ba1498c73a8bd395ad54eeb09950c584156e
2022-08-09Create Message Handler and Activator for the test microserviceFrancescoFioraEst3-6/+80
Issue-ID: POLICY-4319 Change-Id: If096467ad717fdeaf70e6a9079c531a201e6cec7 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-07-29Create concepts models for the test microserviceFrancescoFioraEst4-0/+145
Issue-ID: POLICY-4315 Change-Id: I55b5b4e909aa58b7c39fa96e88eca16bad73761d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-06-24Fix participant update list event for multiple AC elementsrameshiyer271-3/+3
If multiple AC elements are mapped to a single participant, the update list event from runtime includes only a single element by overriding the previous entries from the update list. Removed the immutable list that causes the issue. Issue-ID: POLICY-4241 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I59dcd3706394ab937d4e517bc69285c50d9ac260
2022-06-21Update service template for PMSH usecase with ACMrameshiyer271-1/+1
Issue-ID: POLICY-4240 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I169551637a48bcf5f4f7dc42dadbdc13a769f016
2022-06-02Fix type version in all tosca_service_template yaml filesFrancescoFioraEst1-36/+36
Issue-ID: POLICY-4225 Change-Id: Ib069dec0acfdd85e45659deffb45398f7eae5e54 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-05-25Added Edit Instance Properties Functionalitybrunomilitzer1-2/+51
Issue-ID: POLICY-4094 Change-Id: Id52dba3c0912486fa551697be170c05542a0ee22 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-03-15Clean up unit testsadheli.tavares35-1298/+333
- use the unified functional pmsh test case - fix some sonar lint issues Issue-ID: POLICY-3945 Change-Id: Ic49ea9494cde88a8e0d37260d1461b9775ec9ed5 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-02-18Rename TOSCA Control Loop to ACMliamfallon134-2817/+3196
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>