aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-intermediary
AgeCommit message (Collapse)AuthorFilesLines
2022-12-20Add compositionId into Messages between ACM and ParticipantsFrancescoFioraEst8-358/+85
Issue-ID: POLICY-4489 Change-Id: I1fb8c04eacee040d5c944c522ca59a2a9a50376b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-12-15Update 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-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia4d1977e35c4783bd94e034c4195b1ef1ae8b930
2022-12-13Replace ToscaConceptIdentifier with UUID in Participant Messages ACMFrancescoFioraEst9-59/+59
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-08Add support for instance propertiesFrancescoFioraEst2-20/+0
Issue-ID: POLICY-4483 Change-Id: I6ca953e05e74d68262507b393fb6415573fa3eab Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-24Link the AutomationComposition with AutomationCompositionDefinitionFrancescoFioraEst4-29/+24
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-03Add Prometheus metric messages for ACM participantsFrancescoFioraEst2-18/+33
Issue-ID: POLICY-4433 Change-Id: I625c9ee26bb2451e0dcfbb4bbf7288dcc0effb50 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-10-28Remove old implementation of statistics in ACM participantsFrancescoFioraEst9-182/+5
The old implementation of statistics in ACM-participants can be removed due the Prometheus metrics support. Issue-ID: POLICY-4420 Change-Id: I0785b269614aba51f94e71a3fe931541c1918b0c 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-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-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-03-22Clean up unit testsadheli.tavares7-52/+44
- use the unified test reference folder - fix some sonar lint issues Issue-ID: POLICY-3945 Change-Id: I33e30332d911f02c32937316bac6d2d331ac6346 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 ACMliamfallon35-1371/+1400
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>
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-22Code coverage clamplapentafd2-6/+46
Issue-ID: POLICY-3452 Change-Id: I7ee191e590689e42822614d79a398012c454be42 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-11Code Coverage Clamp Intermediarylapentafd4-18/+282
Issue-ID: POLICY-3452 Change-Id: I388a1868fcaa95549f0d48ffb6713ab2526e2ed5 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-02Remove code smells in controlloop runtimeSirisha_Manchikanti3-3/+16
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-29Merge "Add support startPhase in all state transitions"Ajith Sreekumar2-27/+61
2021-10-26Code Coverage in clamp participant intermediarylapentafd4-37/+399
Issue-ID: POLICY-3452 Change-Id: If4fe15d4e74a7f04b77fb1d6dc70f1b7cd32baa6 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-10-22Add support startPhase in all state transitionsFrancescoFioraEst2-27/+61
Issue-ID: POLICY-3785 Change-Id: I1b5821cc42cdbb63e3172596431dc561ced09c55 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-20Merge "Policy Clamp Code Coverage"Liam Fallon2-1/+135
2021-10-19Policy Clamp Code Coveragelapentafd2-1/+135
Participant Handler Test Cases Issue-ID: POLICY-3452 Change-Id: I8325206fdfbfbc199f593f7e058e28fa0ef2a649 Signed-off-by: lapentafd <francesco.lapenta@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-09-30Merge "Fix continuous sending CONTROL_LOOP_STATE_CHANGE message"Liam Fallon1-2/+2
2021-09-29Fix continuous sending CONTROL_LOOP_STATE_CHANGE messageFrancescoFioraEst1-2/+2
Issue-ID: POLICY-3687 Change-Id: I41f8cd80d0c3441533891e7edc21e1440028b852 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-29Update Participant Status after CommissioningFrancescoFioraEst1-7/+13
Issue-ID: POLICY-3686 Change-Id: Ia9d8c345412c9d4d5017a6931565d57b16ec0c03 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-23Merge "Add participantType to participant class"Liam Fallon4-6/+54
2021-09-22Fix startPhase in runtime and participantsFrancescoFioraEst1-16/+49
Issue-ID: POLICY-3677 Change-Id: I78635928086cc39fc3539925052e06b657b249c2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-22Add participantType to participant classSirisha_Manchikanti4-6/+54
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-21Merge "Code Coverage in clamp intermediary"Liam Fallon5-2/+287
2021-09-20Code Coverage in clamp intermediarylapentafd5-2/+287
Issue-ID: POLICY-3452 Change-Id: Ieb0d1153f5f2323bfc73cae7221dfba73b59b725 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
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_Manchikanti1-8/+11
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-09Verify participant Simulator and messagesFrancescoFioraEst5-99/+84
Add missing ControlLoopElementHandler in participant Simulator and fix some message issues. Issue-ID: POLICY-3628 Change-Id: I9f058c19aa18e070bac6ccaf98fdf7600d66d71e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-08Merge "Fix parsing of type heirarchy for nodetypes"Liam Fallon5-11/+34
2021-09-07Fix parsing of type heirarchy for nodetypesSirisha_Manchikanti5-11/+34
Fixed an issue where a ControlLoopElement with type defined in node-types is not parsed. This commit also includes changes to save the state of a controlLoopElement coming from ControlLoopAck message into runtime database. Issue-ID: POLICY-3575 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I1249cf2cabd4a499d80b401f94f7f42f08b350e3
2021-09-03Merge "Fix eclipse warnings in clamp"Pamela Dragosh1-4/+4
2021-09-03Merge "Fix sonars in clamp #2"Pamela Dragosh4-6/+10
2021-09-03Merge "Fix sonars in clamp"Ajith Sreekumar4-13/+13
2021-09-02Fix eclipse warnings in clampJim Hahn1-4/+4
Fixed some of these warnings, just in policy-clamp-runtime: - equals() with wrong argument type in junit - remove unneeded "SuppressWarning" - unused fields - deprecated classes/methods Fixed some sonars, too: - use isEqualByComparingTo() - method complexity: used eclipse to auto-extract methods Fixed checkstyle issues: - indentation level Did not address all deprecation issues (e.g., SSLSocketFactory). Issue-ID: POLICY-3200 Change-Id: Ibd92e5326854002dc0ca2d7b3b777699cafb5e98 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-09-02Merge "Verify alignment with Definition of TOSCA Control Loop Types"Jim Hahn1-4/+3
2021-09-02Fix sonars in clamp #2Jim Hahn4-6/+10
Fixed sonars: Fixed eclipse warnings: - unused imports - unused fields - add serialVersionUID Issue-ID: POLICY-3200 Change-Id: Ieaab6e85f65fb5eed6db337060961ba831628905 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-09-01Fix sonars in clampJim Hahn4-13/+13
Fixed some sonars: - no assertion in test case - unused fields - unthrown exception - define a constant - use boolean instead of Boolean - remove unused parameter Fixed some eclipse warnings: - unused imports - unused methods - suppress warnings - add type parameter Renamed directory from "org.onap.policy..." to "org/onap/policy/...". Issue-ID: POLICY-3200 Change-Id: I76f7cd4a508ac421c37e457fdca6894e6100c802 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-09-01Send ToscaServiceTemplateFragment with policies, policy-typesSirisha_Manchikanti3-17/+1
ToscaServiceTemplateFragment contains policies, policy-types and respective datatypes to be sent to Policy participant, and there on to Policy Framework to create new policies or policy-types that doesnot exist in the database. https://wiki.onap.org/display/DW/The+CLAMP+Policy+Framework+Participant Issue-ID: POLICY-3607 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I2b98d7dc6946b0c27763f1a150d1bf4adca90a2f
2021-09-01Verify alignment with Definition of TOSCA Control Loop TypesFrancescoFioraEst1-4/+3
Issue-ID: POLICY-3612 Change-Id: I818f80cdc1db98752a7791ef4aba7377add66516 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-31Fix merged CLAMP build failuresaul.gill1-1/+1
Issue-ID: POLICY-3588 Change-Id: I66d38e023907e4b9e37a710fa42f8995023dcd3b Signed-off-by: saul.gill <saul.gill@est.tech>