aboutsummaryrefslogtreecommitdiffstats
path: root/models/src/test/resources
AgeCommit message (Collapse)AuthorFilesLines
2023-02-15Merge "Refactor yaml files in ACM"Liam Fallon1-3/+3
2023-02-15Add undeploy on deregister (acm-side)saul.gill1-0/+55
State of Ac Elements associated with participant changed on deregister Issue-ID: POLICY-4499 Change-Id: I54265c13deebd77d654fb843a33f7267d4276b76 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-14Refactor yaml files in ACMFrancescoFioraEst1-3/+3
Refactor Supported ACM element types and align element type version in all examples Issue-ID: POLICY-4512 Change-Id: Ic810fc1a98237d1b6fb816dccb1fcbe61a675c1e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-03Handle AC Element Instance Deployment and undeployment on ACM-RFrancescoFioraEst3-82/+30
Part of the implementation related to Deployment and undeployment, missing part will be implemented in POLICY-4509. push-upstream: POLICY-4506 Change-Id: Ie7ad2da6c0a3286938fc4993d70ee71caee833ba Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-31Add element and definition map to ppnt endpointssaul.gill1-0/+9
Add element instance map Add node template state map Issue-ID: POLICY-4540 Change-Id: I6e7c2b27db78a090b0a1303c49e57d8675316f9b Signed-off-by: saul.gill <saul.gill@est.tech>
2023-01-30Remove ParticipantType in all yaml filesFrancescoFioraEst1-16/+1
Issue-ID: POLICY-4538 Change-Id: I9f6d8830f64ef1178d3e20c7d00374156a84b59e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-19Add supported ac elements to participantssaul.gill1-0/+14
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-17Remove FilterRepository in ACMFrancescoFioraEst1-55/+0
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.gill1-0/+1
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-06Refactor register deregister a Participant and Supervise ParticipantsFrancescoFioraEst3-58/+1
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>
2022-12-20Merge "Refactor instanceId as primary key in JpaAutomationComposition"Liam Fallon1-4/+4
2022-12-18Upgrade the H2 database to the latest versionliamfallon1-0/+13
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-16Refactor instanceId as primary key in JpaAutomationCompositionFrancescoFioraEst1-4/+4
Issue-ID: POLICY-4480 Change-Id: I4d3bd44c23378b428beb901d78ea48dcdbbe7f44 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-12Merge "Add support for instance properties"Pamela Dragosh2-1/+3
2022-12-08Add support for instance propertiesFrancescoFioraEst2-1/+3
Issue-ID: POLICY-4483 Change-Id: I6ca953e05e74d68262507b393fb6415573fa3eab Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-08Add instanceId support in AutomationCompositionProviderFrancescoFioraEst1-0/+2
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-11-30Save ToscaServiceTemplate as Json in ACMFrancescoFioraEst1-26/+1
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-24Link the AutomationComposition with AutomationCompositionDefinitionFrancescoFioraEst2-12/+3
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-11Add AutomationCompositionDefinition modelFrancescoFioraEst1-0/+1
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 modelsFrancescoFioraEst1-15/+1
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-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-03-15Clean up unit testsadheli.tavares2-966/+0
- 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 ACMliamfallon8-101/+101
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>
2022-02-16Add Hibernate support in runtime-controlloopFrancescoFioraEst1-59/+0
Issue-ID: POLICY-3841 Change-Id: Ie958a4a4ab35c8bc4d6829128e39a2458d67a7a5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-06Merge "Handle ParticipantRegister"Liam Fallon1-0/+966
2021-10-05Handle ParticipantRegisterFrancescoFioraEst1-0/+966
Send ParticipantUpdate to participant after registration if commissioning has already been created Issue-ID: POLICY-3689 Change-Id: Iccc4fc1c0b95e1f270b6810c5b5f130726f24650 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-05Code coverage in clamp/modelslapentafd1-0/+3325
Issue-ID: POLICY-3452 Change-Id: I4c24c85edd7a22b05ae81ee7779da13974127164 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-09-22Add participantType to participant classSirisha_Manchikanti1-1/+5
Add participantType to participant class, cascade common and instance properties from runtime to participants Issue-ID: POLICY-3576 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ic9205aafe269ccc6dae0b3463fc6df5c47129e5d
2021-05-26Transfer tosca-poc onto masterliamfallon8-0/+445
This is the third if three commits, this commit makes the content of the master branch the same as the tosca-poc branch. This commit adds the "src" files for TOSCA control loops to the modules in master. Difference between this commit and the current master: ------------------------------------------------------ diff -qr clamp clamp-master |diff_filter.sh Only in clamp/common: src Only in clamp/models: src Files clamp/participant/participant-impl/participant-impl-dcae/pom.xml and clamp-master/participant/participant-impl/participant-impl-dcae/pom.xml differ Only in clamp/participant/participant-impl/participant-impl-dcae: src Only in clamp/participant/participant-impl/participant-impl-policy: src Only in clamp/participant/participant-impl/participant-impl-simulator: src Files clamp/participant/participant-impl/pom.xml and clamp-master/participant/participant-impl/pom.xml differ Only in clamp/participant/participant-intermediary: src Files clamp/participant/pom.xml and clamp-master/participant/pom.xml differ Files clamp/pom.xml and clamp-master/pom.xml differ Files clamp/runtime/pom.xml and clamp-master/runtime/pom.xml differ Only in clamp: runtime-controlloop Difference between this commit and the current tosca-poc branch: ---------------------------------------------------------------- diff -qr clamp clamp-tp |diff_filter.sh Files clamp/INFO.yaml and clamp-tp/INFO.yaml differ Only in clamp/releases: 6.0.1-container.yaml Only in clamp/releases: 6.0.1.yaml Only in clamp/releases: 6.0.2-container.yaml Only in clamp/releases: 6.0.2.yaml Only in clamp/releases: 6.1.0-container.yaml Only in clamp/releases: 6.1.0.yaml Only in clamp/releases: 6.1.1-container.yaml Only in clamp/releases: 6.1.1.yaml Files clamp/runtime/src/main/resources/META-INF/resources/swagger.html and clamp-tp/runtime/src/main/resources/META-INF/resources/swagger.html differ Issue-ID: POLICY-3215 Change-Id: Ica1aa3fe5d6110df2396ea856703102e800fa770 Signed-off-by: liamfallon <liam.fallon@est.tech>