aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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)
2021-02-25Add code in UI to create new policy versionsebdet5-120/+219
Add code to call the policy create backend endpoint + alert box to show status of the creation + Fix backend + Issue-ID: POLICY-2928 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia8f2506ecc692ad68111ebe7a55a92579b951908 (cherry picked from commit c427e6459d066859e6da068bf50c78a0d120080a)
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-23Merge "Introduce a new endpoint to create policy" into tosca-pocLiam Fallon8-141/+317
2021-02-23Merge "Refactoring java packages" into tosca-pocLiam Fallon4-8/+4
2021-02-23Merge "Added Main initial code" into tosca-pocLiam Fallon17-4/+1200
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-23Refactoring java packagessebdet4-8/+4
Get rid of *.target java package to avoid confusion with maven target folder Issue-ID: POLICY-3091 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id9501713bf13346b2842abffa7dd6b01b8e26206 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-02-23Introduce a new endpoint to create policysebdet8-141/+317
One first part of the update is to create a policy version from an existing one (this is similar as the create new policy). The policy-flow.xml has been refactored so that the same policy query is done for policies and loop related flows. A code has been added to remove fields from the UI that could be present (the PDP group info json enrichment) Issue-ID: POLICY-2926 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia60c656a9b5100296042d3346d5c97c8dad5d041 (cherry picked from commit a0a3a03686a386bf6def6f7da6de4d3f6a11ce61)
2021-02-22Merge "Fix the Tosca Converter to Json Schema" into tosca-pocJim Hahn4-5/+25
2021-02-22Fix the Tosca Converter to Json Schemasebdet4-5/+25
The backend had to be slightly fixed so that the json generation without being in a loop is not an issue. This is required for the policies listing feature Issue-ID: POLICY-2926 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia6a9e034f888384999a8ea557ce550c87c65c4be (cherry picked from commit 08ed2240b2389fbf83e9ed67cc65cc6fc628ea72)
2021-02-22Improve the policy list react componentsebdet1-12/+75
Add feature to the new policy list component, like grouping, sorting, CSV export, add delete/update button for future use Issue-ID: POLICY-2925 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I5f6141eca43d750a7e8e8edf9b59cc6b1e53f0bb (cherry picked from commit 3728547710dee7d4cbd02d8e6cfed2c1708e263c)
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-19Modify Backend for listing the policiessebdet27-66/+479
Improve Ui components to list policies + changes an existing camel route to expose the policy json schema properly. New files added to emulator for testing + comments added. Now the Ui can show the policy config Issue-ID: POLICY-3061 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iacf9577a4ab2cc927d05ff267e7356d8410eb77a Signed-off-by: sebdet <sebastien.determe@intl.att.com> (cherry picked from commit 3718a16bedbc4a5ecf2593abcb2075238fa99767)
2021-02-19Merge "Add New UI component for policies list" into tosca-pocAjith Sreekumar17-881/+1427
2021-02-19Add New UI component for policies listsebdet17-881/+1427
Add new Ui components to list policies + the small refactoring of React Routes Issue-ID: POLICY-2925 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I784d7c144a3a3af98a9d62b5d40b5172dbdaed47 Signed-off-by: sebdet <sebastien.determe@intl.att.com> (cherry picked from commit eb8e3f1dd891ac98f1bbaf35a2a0679146785236)
2021-02-19Switching parent to stablesebdet1-1/+1
Removing the parent snapshot as the build is not reproductible if the snapshost changes. Moreover a change occurred and the tests are even not executed. Issue-ID: POLICY-3073 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I1be96ea0b4cd8f721b17c623a62a1892dcf05062 (cherry picked from commit 25f228a730563c414bce5d65cdb3210ce9eae4c6)
2021-02-12Point at correct POM for tosca control loop buildliamfallon1-1/+1
The plugin configuration caused all the sub POMs to be run as separate builds. The build for the TOSCA POC code should just point at the single POM for the POC code and not run all the sub POMs. THis change just runs thebottom POM for the control loop code, which in turn calls all the sub POMs. Issue-ID: POLICY-2971 Change-Id: I9cab9fc862c89a037b12894fb5bfb3b2c9a4e9f9 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-02-11Add common and models initial codeliamfallon94-1/+8727
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-11Merge "Enable building of the tosca PoC code" into tosca-pocLiam Fallon7-53/+92
2021-02-11Enable building of the tosca PoC codeliamfallon7-53/+92
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>