aboutsummaryrefslogtreecommitdiffstats
path: root/models
AgeCommit message (Collapse)AuthorFilesLines
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-10-21Set snapshot and/or references of policy/clamp for new releaseliamfallon1-1/+1
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 snapshotsliamfallon1-1/+1
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-14Clean up dependencies in CLAMP POMsliamfallon1-4/+0
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 versionliamfallon1-1/+0
Issue-ID: POLICY-4393 Change-Id: I31399942e603b2f29921c38c7dc1b9ab18be0d09 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-23Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I37502e4d1d64661ae82b2a9a92330691ec69e634
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-05-03Set snapshot and/or references of policy/clamp for new releaseliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icf5d09aafb4ff088dd9e6c3268859753c0a3c06a Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib28160e231fbfe1124cd49d29ca9e3d538a1cbfd
2022-04-12Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifd4eb766f4070811f8100eb27f58ef2618b1dd22
2022-04-12Fix CLAMP staging example dependencyliamfallon1-0/+5
The internal dependencies in CLAMP did not have the dependency from models and runtime to examples. Issue-ID: POLICY-4089 Change-Id: I0ce3176b5a346b1a8efdbc65e4773dd5f212b9fd Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-15Clean up unit testsadheli.tavares36-1299/+355
- 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-03-11Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I45033a8f834d30ce188f122519c56af92ca26847
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>
2022-02-16Add Hibernate support in runtime-controlloopFrancescoFioraEst3-70/+0
Issue-ID: POLICY-3841 Change-Id: Ie958a4a4ab35c8bc4d6829128e39a2458d67a7a5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-12-02Add support transactionFrancescoFioraEst6-13/+13
Add support transaction in CommissioningProvider and ControlLoopInstantiationProvider Issue-ID: POLICY-3802 Change-Id: I8ddba4814547e335b7b27342189a3fc5d9dc4582 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-12-02Merge "Add support transaction in CL and ServiceTemplate Providers"Liam Fallon4-263/+395
2021-11-29Update snapshot of policy/clamp to 6.2.1-SNAPSHOTliamfallon1-1/+1
*** This commit is generated by a PF release script *** policy/clamp is update from 6.2.0-SNAPSHOT to 6.2.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I17a89cf934c6319392d2a9304f10763d29cca8bd
2021-11-25Add support transaction in CL and ServiceTemplate ProvidersFrancescoFioraEst4-263/+395
Add support transaction in ControlLoopProvider and ServiceTemplateProvider Issue-ID: POLICY-3798 Change-Id: I0ab79f28231e329e06c16e01427775077b3ac994 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-11-19Add support transaction in ParticipantProviderFrancescoFioraEst14-167/+444
Issue-ID: POLICY-3800 Change-Id: I938c2731a30013b5f8e11a23a86d117300c95bff Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-11-10Add support transaction in Statistics ProvidersFrancescoFioraEst8-123/+266
Add support transaction in ClElementStatisticsProvider and ParticipantStatisticsProvider Issue-ID: POLICY-3801 Change-Id: Iaf9d55a268627f9d548afdf108476441b19e1413 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-11-05Add Spring Jpa configurationFrancescoFioraEst1-0/+19
Issue-ID: POLICY-3795 Change-Id: Ic0955f412bfcd94094c19aceb4f25be8e695099a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-11-02Remove code smells in controlloop runtimeSirisha_Manchikanti4-9/+6
Remove code-smells reported by sonar cloud https://sonarcloud.io/project/issues?id=onap_policy-clamp&resolved=false Issue-ID: POLICY-3540 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I8ed1c4599e7eeebbc3a31e74cea4148eb0435847
2021-10-22Add support startPhase in all state transitionsFrancescoFioraEst2-0/+108
Issue-ID: POLICY-3785 Change-Id: I1b5821cc42cdbb63e3172596431dc561ced09c55 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-19Refactor GlobalControllerExceptionHandlerFrancescoFioraEst2-0/+97
Issue-ID: POLICY-3530 Change-Id: Ib33daf8491c1bf96460b424e8b0da228d65e571a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-14Bump policy/clamp to Jakarta 6.2.0-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I4dfc0532e30106478c89182f7c2cd573c168a634 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/clamp to 6.1.4-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: Icef72d76b53fa09c0f88d71431ae5a13d441c787 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-06Merge "Handle ParticipantRegister"Liam Fallon3-0/+1353
2021-10-05Handle ParticipantRegisterFrancescoFioraEst3-0/+1353
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/modelslapentafd4-19/+3480
Issue-ID: POLICY-3452 Change-Id: I4c24c85edd7a22b05ae81ee7779da13974127164 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-09-23Merge "Add participantType to participant class"Liam Fallon9-8/+48
2021-09-22Fix startPhase in runtime and participantsFrancescoFioraEst2-0/+15
Issue-ID: POLICY-3677 Change-Id: I78635928086cc39fc3539925052e06b657b249c2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-22Add participantType to participant classSirisha_Manchikanti9-8/+48
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-09-15Bump policy-clamp snapshot version to 6.1.3-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: Ie3e6aba3a2dd64f36fcf5cbd860fe9b63ee4e8aa Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-14Add Priming flag per controlloopSirisha_Manchikanti5-0/+92
This commit adds a Priming flag per controlloop which indicates whether a controlLoop is primed or deprimed. There is a rest end-point added to depict in GUI Issue-ID: POLICY-3577 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ie81a41505ab1eafda9515733e0b895421803ea8a
2021-09-10Merge "Verify participant Simulator and messages"Liam Fallon2-3/+84