aboutsummaryrefslogtreecommitdiffstats
path: root/tosca-controlloop
AgeCommit message (Collapse)AuthorFilesLines
2021-05-21Move tosca-controlloop src directries to new modulestosca-pocliamfallon327-48271/+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_Manchikanti157-1861/+18493
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 Fallon66-0/+8674
2021-04-07Add participant for policy-frameworkSirisha_Manchikanti66-0/+8674
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 collectionsliamfallon10-691/+1882
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-24Merge "Ties monitoring handler into the activator with runtime test ↵Liam Fallon9-12/+640
classes." into tosca-poc
2021-03-23Ties monitoring handler into the activator with runtime test classes.rameshiyer279-12/+640
Issue-ID: POLICY-3051 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I5b651a6a9d4605cabcb0a0b6db2ad4820160415e
2021-03-23Merge "Participant simulator Rest API" into tosca-pocLiam Fallon15-56/+1506
2021-03-22Merge "Add validation on create/update Instantiation" into tosca-pocJim Hahn6-15/+478
2021-03-22Participant simulator Rest APISirisha_Manchikanti15-56/+1506
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-19Add Monitoring runtime classes and PfReferenceTimestamp key changes to ↵rameshiyer2712-82/+870
tosca-poc. Junits for Monitoring runtime will be added as a separate review. Issue-ID: POLICY-3051 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I8c38fac4f9347a836db379e11ed65361710e207e
2021-03-18Add validation on create/update InstantiationFrancescoFioraEst6-18/+481
Issue-ID: POLICY-2980 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech> Change-Id: Iea9c141edfd46e9175061e333ed0f0e42fd8da9f
2021-03-16Add Commissioning Rest ControllerERIMROB6-38/+699
This commit adds rest controller functions for commissioning service Issue-ID: POLICY-2983 Change-Id: I5b316ba60a9aadfbc3c3b1dfb966bf82be27952c Signed-off-by: ERIMROB <robertas.rimkus@est.tech>
2021-03-15Bump clamp tosca-poc branch to 6.1.0-SNAPSHOTliamfallon12-15/+15
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-10Merge "Add Instantiation CL Rest Controller" into tosca-pocJim Hahn11-1/+1392
2021-03-10Merge "Participant simulator parameters and junits" into tosca-pocJim Hahn26-0/+2225
2021-03-10Merge "Add Commissioning Provider" into tosca-pocJim Hahn6-11/+665
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-10Add Instantiation CL Rest ControllerFrancescoFioraEst11-1/+1392
Issue-ID: POLICY-2980 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech> Change-Id: Ic4c1fd8291dcdcdfd3a5145c545766a9dd6afbb3
2021-03-09Point tosca-control-loop pom parent to 3.3.1-SNAPSHOT policy.parentSirisha_Manchikanti1-2/+2
Issue-ID: POLICY-2971 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ia886f2612c8667908365506d01be2c486e559c02
2021-03-08Add Commissioning ProviderERIMROB6-11/+665
This commit adds commissioning provider code, creating functionality with rest controller code to follow Issue-ID: POLICY-2983 Change-Id: I393c527a58bc1151c347e3cc182cb955fa8f9f49 Signed-off-by: ERIMROB <robertas.rimkus@est.tech>
2021-03-03ControlLoop participant basic structureSirisha_Manchikanti9-106/+277
Issue-ID: POLICY-2987 Change-Id: I2b603ea64d16fee003c60fea710842e2bb59b51e Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
2021-03-03Merge "Bump snapshot versions for TOSCA PoC" into tosca-pocLiam Fallon6-15/+13
2021-03-03Bump snapshot versions for TOSCA PoCliamfallon6-15/+13
Issue-ID: POLICY-2971 Change-Id: Ie53756ce55ce6c5bae4f0fd63e71bdba2a6151f5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-03-02Merge "Add Instantiation Provider" into tosca-pocLiam Fallon11-0/+1109
2021-03-01Add Instantiation ProviderFrancescoFioraEst11-0/+1109
Issue-ID: POLICY-2980 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech> Change-Id: I957f947ece23fbd5f1745e18f909754c5945f465
2021-02-24Update tosca-poc models for changed messagesliamfallon13-33/+58
The models of REST and DMaaP messages are updated as are the moels for the database as we evolve the functionality of the TOSCA PoC. POLICY-2995 Change-Id: I490f7033bf41080d1b0b1123541ea884afc5f29e Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-02-23Added Main initial codeFrancescoFioraEst17-4/+1200
Issue-ID: POLICY-2995 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech> Change-Id: I6f7da312f00341be8928fb66875c309c6933f194
2021-02-22Convert Date to Instant in TOSCA PoCliamfallon12-52/+40
Issue-ID: POLICY-3069 Change-Id: I9efbc42c4fcc97f79799f3e09ed3424dcc86a891 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-02-11Add common and models initial codeliamfallon93-1/+8726
This review brings inthe initial common and models code for the TOSCA control loop PoC Changes are made to the model that were required to implement the working demo. Unit test are now added that brings coverage above 90% Issue-ID: POLICY-2995 Change-Id: I22e484a6e6195b2b74087b62fb3bc51d541b171e Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-02-11Enable building of the tosca PoC codeliamfallon6-53/+71
At the moment, because the code in the tosca-controlloop directory is not linked to the CLAMP pom, it is not built by the Jenkins jobs. This commit makes a change to the pom.xml file on the tosca-poc branch only so that the tosca-controlloop code is built. The maven-invoker-plugin runs a build of the code in the tosca-controlloop subdirectory by invoking a build of its pom.xml. The output artifacts are placed in target/tosca-controlloop and do not interfere in any way with the main CLAMP build. However, if there are compile erors/test fails/maven errors in the tosca-controlloop coode, the build wil and should fail. Issue-ID: POLICY-2995 Change-Id: Ie4d3e3189af6afe0a046ab565a7cc2703afa503d Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-01-20Add tosca-controlloop directory for TOSCA-POC devliamfallon7-0/+1072
The module structure is: ./tosca-controlloop (maven module) ./tosca-controlloop/common (maven module, could be moved to policy-common) ./tosca-controlloop/design (maven module, control loop design time component) ./tosca-controlloop/models (maven module, should be moved to policy-models) ./tosca-controlloop/participants (maven modue for control loop participants) ./tosca-controlloop/runtime (maven module, control loop run time component) This patch also updates the repo to the current status of the master branch Issue-ID: POLICY-2971 Change-Id: I98c7e25f592cc7d9783d5daff3e9e3ad2e7b5214 Signed-off-by: liamfallon <liam.fallon@est.tech>