aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-05-21Move tosca-controlloop src directries to new modulestosca-pocliamfallon333-2451/+141
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-20Merge master into tosca-poc branchliamfallon495-13619/+20066
This review was created with the commands: git co master git pull git co tosca-poc git pull git merge -X theirs master With this merge, the CLAMP master branch is merged into tosca-poc, and, apart from the tosca-controlloop directory, they are identical Issue-ID: POLICY-3215 Change-Id: Iaa1c4894b33508f8bb75b7d1c0dd414964497625 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-16Merge "Add refresh & update libs" into tosca-pocLiam Fallon22-536/+630
2021-03-16Prepare for release 6.0.3sebdet2-2/+2
Bump up policy-clamp to 6.0.3 Issue-ID: POLICY-3140 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I2598d3afcaeb9ce2ac11318bd29e43f4b6b49076 (cherry picked from commit c757487d6831c18b9942833054817272c641c6ce)
2021-03-16Add refresh & update libssebdet22-536/+630
Add refresh features to the policy list when changing it + update materials-Ui + update Json-editor libs to solve big lag in UI + Remove useless link in the menu + fix issue with build due to mariadb not started yet Issue-ID: POLICY-3131 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9bcb9558f213731a4ea8e20e186fb91c9db1b6f3 (cherry picked from commit b8831e5199aa0fe2bb1de531069d376182b3571d)
2021-03-16Merge "Remove useless code" into tosca-pocLiam Fallon9-730/+0
2021-03-16Remove useless codesebdet9-730/+0
Remove useless code due to the changes done for the policy create feature. The tosca list can now be seen directly in the policy framework dialog Issue-ID: POLICY-3106 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I5fd61f28ed7071ceaf5729045983fc2d792bc9a4 Signed-off-by: sebdet <sebastien.determe@intl.att.com> (cherry picked from commit cc09b219f194d3aab112cbedc1468607fe2209e2)
2021-03-16Introduce a new json editor componentsebdet16-287/+664
Add this a new react component so that the json editor can be called within the policies table + Add the tosca tab + Fix for Submit operation in clamp-api-v2.xml Issue-ID: POLICY-3106 Issue-ID: POLICY-3124 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I18ab3a6034cac719525774f11b2c17f0a14bc2aa Signed-off-by: sebdet <sebastien.determe@intl.att.com> (cherry picked from commit 1e2760ea1ee4baa9db0e921907f3491fda795136)
2021-03-16Add "delete policy" feature in UIsebdet3-71/+118
Add delete policy functionality (call to backend) + insert Policies array in a tabs for future policy create operation + Ask column names during export of the test db Issue-ID: POLICY-2929 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I4108c9fa2b986cc5aff11b8710bc6ad722c52f46 Signed-off-by: sebdet <sebastien.determe@intl.att.com> (cherry picked from commit ea2969fd3bbfe52cbe4f41546dd40d68321c233b)
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-15Fix the robot framework test chainsebdet3-5/+11
Freeze the robot framework docker version used to avoid unstable build + fix the second test + add logs to robot framework test so that the result is dumped to stdout. We can therefore analyze the issue directly in the clamp build log. Issue-ID: POLICY-3135 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia078a074fda7fa9bc4e6320408e86987fd8dd25d (cherry picked from commit 396cb9b814626a0383ee49a928f4e534264170aa)
2021-03-12Bump up clamp versionsebdet2-2/+2
Bump up to 6.0.2 to be ready for next policy-clamp release Issue-ID: POLICY-3123 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I669042d935697110991b0f889d5dee4de9a2ad9d (cherry picked from commit c39367c1eab308b9b66d571a496b0652cb728dde)
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-04Merge "ControlLoop participant basic structure" into tosca-pocJorge Hernandez9-106/+277
2021-03-04Add new delete policy endpointsebdet2-33/+104
Refactor the camel code so that the policy delete can be called "by loop" related flows and "by policy only" related flows. A new endpoint for policy deletion has been added as well. This one will be called by the UI Issue-ID: POLICY-2927 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3c4bd2e22200788360575aa61a0122b7ed4e608d (cherry picked from commit f12066418c402d3a7fe34667a9fc87295a347b8a)
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-26Merge "Update tosca-poc models for changed messages" into tosca-pocJim Hahn13-33/+58
2021-02-25Fix the Junit issue for 6.0.1sebdet1-2/+3
Fix the Junit issue (tests not executed at all) in the release 6.0.1 + bump up Camel version to latest & Spring boot as well. Issue-ID: POLICY-3084 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I051cfadbdb360505c3979ef8ce02ab31d1089c13 (cherry picked from commit 3664078317de1bfc75f0bf427e859daa2070fb35)
2021-02-25Merge "Update clamp to 6.0.1" into tosca-pocLiam Fallon6-41/+41
2021-02-25Merge "Rearrange the UI menu" into tosca-pocLiam Fallon2-29/+37
2021-02-25Merge "Change PAP Urls called" into tosca-pocLiam Fallon2-4/+7
2021-02-25Merge "Update info.yaml in clamp" into tosca-pocLiam Fallon1-2/+2
2021-02-25Update info.yaml in clampRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: I893076e93f26285983673479f9f18795c4f91bd7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 7e60677c8fba9aa4bc2007b780cfa335c88bd35d)
2021-02-25Update clamp to 6.0.1sebdet6-41/+41
- Update to 6.0.1 so that images can be released next week - Fix classNotFound due to update of policy models libs from 2.3.5 to 2.4.0 (ToscaPolicyIdentifier renamed to ToscaConceptIddentifier and ToscaPolicyTypeIdentifier deleted) Issue-ID: POLICY-3084 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic2d3e6eb25f125ba472c77f0683081214680fafb Signed-off-by: sebdet <sebastien.determe@intl.att.com> (cherry picked from commit eeaef28f78a23881e2f5cf0380fa1ad34472435d)
2021-02-25Change PAP Urls calledsebdet2-4/+7
Due to the changes done on the PAP Url (+return code), the camel flows must be adapted. There is no change required for the return code PAP change as Camel already catches all non 2XX code. Issue-ID: POLICY-3068 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I77549f944d28acd5e39e4d9e7e47688146db3681 (cherry picked from commit dadac06a2eef145528d548aa78b89227a86f3520)
2021-02-25Rearrange the UI menusebdet2-29/+37
Rearrange the UI menu to improve the usability Issue-ID: POLICY-2925 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Icb56655b8b9300fa78d004a8fe88d64e54f42279 Signed-off-by: sebdet <sebastien.determe@intl.att.com> (cherry picked from commit 6e4225c1c684b6dacfd465485d989dd846defa99)