aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-simulator/src/main
AgeCommit message (Collapse)AuthorFilesLines
2023-08-21Add composition outProperties support in Participant SimulatorFrancescoFioraEst5-108/+188
Issue-ID: POLICY-4778 Change-Id: I98b0832f41e6cc7eb7dd1a5fb31998d587cb72cc Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech> (cherry picked from commit 97ad8fec943b53cb669b1917b0fb175de6d8ddbd)
2023-08-18Upgrade Java 17FrancescoFioraEst3-9/+9
Issue-ID: POLICY-4673 Change-Id: Ib09bda7db30f53b01b2ea205ad04e5851217da78 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-25Add restart support inside participantsFrancescoFioraEst1-1/+57
Issue-ID: POLICY-4747 Change-Id: I15a6c584062d0fcf0c0c0a6b15a8f3c2c96f7c98 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-13Add Java Implementation for mock participant in ACMFrancescoFioraEst10-0/+1021
Add Java Code Implementation for mock participant to test different ACM scenarios. Issue-ID: POLICY-4722 Change-Id: I8475c05c2469e190ca81d4caff0babc22c5d6db9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-12Add pom structure for mock participant in ACMFrancescoFioraEst3-0/+140
Issue-ID: POLICY-4723 Change-Id: I43049431327f4126b2e66fc456e876d57388f604 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-07-29Add module for AC Element implementationrameshiyer2717-1270/+0
Refactored unused participant simulator module to implement AC element microservice for ACM testing purposes. Empty spring project added. Business logics will be added as a separate review on top of this structure. Issue-ID: POLICY-4312 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I8fc280083ce4b759ed9ab23b223cf1555176ef62
2022-02-18Rename TOSCA Control Loop to ACMliamfallon18-235/+278
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-18Added Camel Unit Testsbrunomilitzer1-1/+1
Added Camel Unit Tests to test creation of instance properties Updated credentials for Rest End point Issue-ID: POLICY-3565 Change-Id: I0899d3052588822f02a8a003eb4bc406bc887713 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-10-27Fix duplciates reported by sonar cloudSirisha_Manchikanti5-148/+6
Fixes for the removal of duplicate code blocks reported by sonar cloud Issue-ID: POLICY-3792 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I8943f625cd940e7d1f9dd04b0dff2dd838879431
2021-10-19Refactor GlobalControllerExceptionHandlerFrancescoFioraEst1-10/+4
Issue-ID: POLICY-3530 Change-Id: Ib33daf8491c1bf96460b424e8b0da228d65e571a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-09Verify participant Simulator and messagesFrancescoFioraEst3-1/+128
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-07Fix parsing of type heirarchy for nodetypesSirisha_Manchikanti1-2/+2
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-01Send ToscaServiceTemplateFragment with policies, policy-typesSirisha_Manchikanti2-8/+28
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-08-25Updated handling of ack messagesSirisha_Manchikanti1-1/+2
Issue-ID: POLICY-3417 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I5784debf2e17fd1018b3feb7c9e2ae08d5f93d23
2021-08-20sonar fix for clampTaka Cho4-6/+18
- bug: added InterruptedException for sleep - vulns: two false positve - removed some unused import - changed to use var for local variable Issue-ID: POLICY-3452 Change-Id: I8b4be1378a2aad8f68562b63f70853832673ce97 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-07-27Replace JSON properties files to Yaml from docker imagesFrancescoFioraEst1-10/+14
POLICY-3469: Replace JSON properties files to Yaml from docker images Change-Id: I23fbd9d84640286725440453d464c397e3144662 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-07-21Send ParticipantStatus heartbeat messages to controlloop runtimewaynedunican1-1/+1
Issue-ID: POLICY-3418 Change-Id: I957b0ff42ff617fb20ba4134770b43007415a49b Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-07-15Handle participant register,deregister,update messagesSirisha_Manchikanti1-4/+0
Send ParticipantRegister, ParticipantDeregister and ParticipantUpdateAck from participant to controlloop runtime Receive ParticipantRegisterAck, ParticipantDeregisterAck and ParticipantUpdate messages from controlloop runtime Issue-ID: POLICY-3414 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ifb3c4fa64bdd2d50ec2302b35f342847f4994c5d
2021-07-07Add swagger models for swagger endpoint generationliamfallon1-2/+0
The swagger models dependency is required to generate the swagger for the Swagger endpoint in Springboot applications. Springboot needs Jackson annotations as well. Issue https://jira.onap.org/browse/POLICY-3465 opened for the general Swagger upgrade work. Issue-ID: POLICY-3424 Change-Id: Ie86db5652be26df085234f0699f0363081d06af0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-30Update CLAMP: checkstyle 8.43/Spring dependenciesliamfallon1-2/+6
Updates are indentation changes on annotations and rationallization of the dependencies for Spring/Springboot Generation of swagger.json, swagger.html and swagger.pdf temporarily disabled due to a missing dependency in the generation toolchain. Issue-ID: POLICY-3209 Change-Id: Iff5881df45ef54b20fa30f63e2393cc1cdbf4bfe Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-28Convert Intermediary Participant to Spring and refactor ParticipantsFrancescoFioraEst4-32/+6
Issue-ID: POLICY-3370 Change-Id: I1541fc47b35c91f9ec86ab768bc3cec2cd78647c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-23Move parameters from config Json file to application.yamlFrancescoFioraEst9-261/+49
Issue-ID: POLICY-3343 Change-Id: Id78c00a5a241337f684a70feeee543f3a88fc01c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-22Merge "Re clean up clamp project properties and dependencies"Liam Fallon1-1/+0
2021-06-18Re clean up clamp project properties and dependenciesryanSheehan1-1/+0
Remove version duplication from clamp projects runtime, dcae kubernetes, policy participant and simulator Issue-ID: POLICY-3308 Change-Id: I316b3b0313608c5d17c9692f44d653afabc2d596 Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
2021-06-17Clean up CLAMP Sonar and checkstyle issuesliamfallon4-102/+106
This commit cleans up sonar and checkstyle issues identified in the CLAMP repository. Issue-ID: POLICY-3206 Change-Id: I16b61bbe771cc17de15183a24b2a5e82a8d35872 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-14Convert Participant Simulator to SpringBoot ApplicationFrancescoFioraEst22-662/+752
Issue-ID: POLICY-3246 Change-Id: I0e5220be826531cf0338d5cad7018d06bda3daf5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-05-26Transfer tosca-poc onto masterliamfallon15-0/+1358
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>