aboutsummaryrefslogtreecommitdiffstats
path: root/tosca-controlloop/participant
AgeCommit message (Collapse)AuthorFilesLines
2021-05-21Move tosca-controlloop src directries to new modulestosca-pocliamfallon146-18265/+0
This is the second stage of the TOSCA Controlloop merge. In this review, the src directories of the old tosca-controlloop modules are moved to the new modules off the root of the clamp repo and the pom.xml files are updated with dependencies to allow the build of the moved modules to run. So the changes are renaming of files and updates of POM files in the modules to which src directories are added so that the build works, and of course deletion of the tosca-controlloop directory and its sub- modules The third and final review will follow this, which will merge the tosca-poc branch onto master, in effect merging this review to master. The differences with the clamp master repo are shown here: diff -qr clamp clamp-tp | diff_filter.sh Files clamp/INFO.yaml and clamp-tp/INFO.yaml differ Only in clamp-tp/common: src Only in clamp-tp/models: src Files clamp/participant/participant-impl/participant-impl-dcae/pom.xml and clamp-tp/participant/participant-impl/participant-impl-dcae/pom.xml differ Only in clamp-tp/participant/participant-impl/participant-impl-dcae: src Only in clamp-tp/participant/participant-impl/participant-impl-policy: src Only in clamp-tp/participant/participant-impl/participant-impl-simulator: src Files clamp/participant/participant-impl/pom.xml and clamp-tp/participant/participant-impl/pom.xml differ Only in clamp-tp/participant/participant-intermediary: src Files clamp/participant/pom.xml and clamp-tp/participant/pom.xml differ Files clamp/pom.xml and clamp-tp/pom.xml 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/pom.xml and clamp-tp/runtime/pom.xml differ Only in clamp-tp: runtime-controlloop Issue-ID: POLICY-3215 Change-Id: I0e69e3c566ea387d61f77cfa118bb6d67b4f8253 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-05-07Update TOSCA PoC with changes from demo integrationSirisha_Manchikanti75-3639/+8183
This commit includes demo version changes for establishing a PMSH controlloop. Apologies for bringing a huge commit, this code is for the ControlLoop Demo, and it can act as base for the actual release. This framework is going to be completely changed including Spring framework for the future release. Please consider this code as base for any future work on controlloop. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I512626295d95ab32c29c6861375d31228d549ce9
2021-04-13Merge "Add participant for policy-framework" into tosca-pocLiam Fallon65-0/+8532
2021-04-07Add participant for policy-frameworkSirisha_Manchikanti65-0/+8532
This commit adds a Participant for policy-framework, calls APIs createPolicies and createPolicyTypes for creating policies and policy-types in policy-framework when a controlLoopUpdate message is recieved. Issue-ID: POLICY-3038 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I5ec795bbdd8684e4f6e8c65da1c340b35e7edf68
2021-03-31Tidy up poms and postman collectionsliamfallon4-1/+62
Administrative commit to tidy up POM files and postman collections for the TOSCA POC. Issue-ID: POLICY-2971 Change-Id: I673ffcc59ab3ce2bf5d77aac2dc9f1ac64fbad9d Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-03-30Participant and controlloop event handlingSirisha_Manchikanti23-85/+1287
This commit includes handling for ControlLoopUpdate and ParticipantStatus events, respective handling in ControlLoopHandler and ParticipantHandler is covered. ParticipantStateChange, ControlLoopStateChange and ParticipantHealthCheck events are not covered in this commit. Underlying participant logic (to handle Policy-participant APIs, DCAE-participant APIs etc) will be taken care in upcoming commits. Issue-ID: POLICY-2987 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Iba18c565218d2304ec57ce5bc47ad8765386db95
2021-03-22Participant simulator Rest APISirisha_Manchikanti14-55/+1470
This commit brings REST controllers used in participant simulator and their respective JUnits. There is a ParticipantIntermediaryApiImpl which invokes the Participant and ControlLoop Handler functions. ParticipantHandler and ControlLoopHandler functions are omitted in this commit, to keep changes small. These handlers will be presented for review in later commits. Issue-ID: POLICY-2987 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I887d7cede8f8758aa786723f9413b79049ce4192
2021-03-15Bump clamp tosca-poc branch to 6.1.0-SNAPSHOTliamfallon7-7/+7
Issue-ID: POLICY-3105 Change-Id: I157036583ee3f929bd247c46917bfcd471a27da2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-03-12Fix start/stop ProvidersFrancescoFioraEst1-0/+10
Issue-ID: POLICY-2987 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech> Change-Id: I7069972d16c1ff5b685aa427db3efc49a2d9a161
2021-03-10Participant simulator parameters and junitsSirisha_Manchikanti26-0/+2225
This commit brings in main, activator, command line paramater handling for main, rest and database parameter handling for Participant Simulator. A draft SimulationHandler is included which handles simulation of participants and control loop elements, respective provider and participant intermediary handling will be shared in later commits. Issue-ID: POLICY-2987 Change-Id: Iffbfca6907bf4199347e6349a22008ac4d491a1c Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
2021-03-03ControlLoop participant basic structureSirisha_Manchikanti7-0/+276
Issue-ID: POLICY-2987 Change-Id: I2b603ea64d16fee003c60fea710842e2bb59b51e Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>