summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-09Convert controlloop runtime to springboot frameworkFrancescoFioraEst48-1769/+1467
Issue-ID: POLICY-3355 Change-Id: Ie1667b749eed28b7e526cd4695f45d8ed736c4e7 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-07-09Merge "Add swagger models for swagger endpoint generation"Liam Fallon3-9/+9
2021-07-07Merge "Add ONAP standard Control Loop Element types"Jim Hahn6-4/+263
2021-07-07Add swagger models for swagger endpoint generationliamfallon3-9/+9
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-07-07Merge "Fixed failing camel endpoint test"Jim Hahn1-1/+1
2021-07-06Merge "Convert clamp-common unit tests to JUnit 5"Jim Hahn3-7/+7
2021-07-06Merge "Convert clamp-models unit tests to JUnit 5"Jim Hahn28-145/+145
2021-07-06Fixed failing camel endpoint testsaul.gill1-1/+1
Previously passed integration test failing Simple fix of the URL in the route Issue-ID: POLICY-3440 Change-Id: Icd1fcd3e27c3ec632ee07c2ae1bdb2126342cf16 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-07-06Merge "Add Junits for kubernetes participant module"Liam Fallon22-32/+1194
2021-07-05Merge "Added ITs for Commissioning Camel Endpoints"Liam Fallon10-144/+167
2021-07-05Add ONAP standard Control Loop Element typesliamfallon6-4/+263
The Policy, DCAE, HTTP, Kubernetes, and CDS Control Loop Elements run on participants delivered with and packaged with ONAP. These TOSCA files define the properties for Control Loop Elements on these participants as TOSCA node types. Developers who wish to run Control Loop Elements on these participants write a TOSCA Topology Template, which uses the Control Loop Element Node Types defined in these files. These Node type definitions should be preloaded into the Runtime database, which will be done in a future review. Issue-ID: POLICY-3341 Change-Id: Icc565bdfa1a59e1c1c551f13c48348ee6a8a4e27 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-07-02Added ITs for Commissioning Camel Endpointssaul.gill10-144/+167
Changed emulator to deal with new endpoint tests Added spring property to deal with camel endpoint issue Fixed lingering checkstyle violations Issue-ID: POLICY-3440 Change-Id: I5810913c4418e7893f3ad848618deec1b1a85a0f Signed-off-by: saul.gill <saul.gill@est.tech>
2021-07-02Convert clamp-models unit tests to JUnit 5liamfallon28-145/+145
JUnit 4 tests do not fire when JUnit 5 is activated. Issue-ID: POLICY-3452 Change-Id: I5efb8ee996b06dc7f57107b8f77408adc1a4f22f Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-07-02Convert clamp-common unit tests to JUnit 5liamfallon3-7/+7
JUnit 4 tests do not fire when JUnit 5 is activated. Issue-ID: POLICY-3452 Change-Id: I82396f918c69d9c27d0a00fa0e97b3e6b138e951 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-07-01Add Junits for kubernetes participant modulerameshiyer2722-32/+1194
Overall coverage for the module: 85% Issue-ID: POLICY-3241 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I00c7866ae598b9768d1616468a4c9bfe4cc76166
2021-07-01Restore swagger generation in CLAMPliamfallon7-131847/+21
THis patch restores the Swagger generation in CLAMP. It changes the target directory for the swagger generation to be the target directory rather than storing the generated Swagger files in the source repository. The reason for this is that it avolds the swagger.json, the swagger.html, and the swagger.pdf files being generated each time a build is done and being checked in multiple times. The swagger files will be produced as an artifact from the build in a later review when all the swagger documentation for CLAMP is consolidated. Issue-ID: POLICY-3209 Change-Id: I6ccb446d01509232bbd4230b76bd7950858e1437 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-30Update CLAMP: checkstyle 8.43/Spring dependenciesliamfallon22-831/+610
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-29Merge "Convert Intermediary Participant to Spring and refactor Participants"Jim Hahn31-445/+318
2021-06-29Merge "Refactor participant event handling"Ajith Sreekumar14-167/+191
2021-06-28Convert Intermediary Participant to Spring and refactor ParticipantsFrancescoFioraEst31-445/+318
Issue-ID: POLICY-3370 Change-Id: I1541fc47b35c91f9ec86ab768bc3cec2cd78647c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-25Refactor participant event handlingFrancescoFioraEst14-167/+191
Issue-ID: POLICY-3268 Change-Id: I02b03fd9f9f4399e045e766baace203f42e678cf Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-25Merge "Add Fundamental TOSCA Types for Control Loops"Liam Fallon1-0/+65
2021-06-25Merge "Move parameters from config Json file to application.yaml"Liam Fallon75-2320/+957
2021-06-24Add Fundamental TOSCA Types for Control Loopsliamfallon1-0/+65
This file contains the fundamental concepts that must exist in the TOSCA universe in order for a Control Loop to be defined in TOSCA Issue-ID: POLICY-3341 Change-Id: I4c1be9162b84f42388e56fea051a07f901bf92a6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-24Merge "Increase code coverage in clamp-common"Ajith Sreekumar3-1/+87
2021-06-24Merge "Added Camel Endpoint for Tosca Instantiation"Liam Fallon2-0/+58
2021-06-23Move parameters from config Json file to application.yamlFrancescoFioraEst75-2320/+957
Issue-ID: POLICY-3343 Change-Id: Id78c00a5a241337f684a70feeee543f3a88fc01c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-23Increase code coverage in clamp-commonwaynedunican3-1/+87
Issue-ID: POLICY-3403 Change-Id: Ic66b52da8a6256d2a65c2c2767b939e94a417875 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-06-22Create test jar for CL exampleswaynedunican19-1/+27
Files under /main/resources/ have moved to /test/resources/ Issue-ID: POLICY-3242 Change-Id: I96fa71e1af2c026bfb08db889de8608fe8acbd18 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-06-22Added Camel Endpoint for Tosca Instantiationbrunomilitzer2-0/+58
Endpoint redirects GET to runtime instantiation Issue-ID: POLICY-3357 Change-Id: Idf733c2803be2f6ab5cc681d583c1c6b46b2ce96 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-06-22Merge "Re clean up clamp project properties and dependencies"Liam Fallon6-102/+47
2021-06-21Merge "Added Camel Endpoint for Tosca Template Upload"Jim Hahn6-3018/+4161
2021-06-20Merge "Clean up CLAMP Sonar and checkstyle issues"Liam Fallon94-1095/+1060
2021-06-18Re clean up clamp project properties and dependenciesryanSheehan7-118/+47
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-17Added Camel Endpoint for Tosca Template Uploadsaul.gill6-3018/+4161
Endpoint redirects a POST to runtime commissiong API Tosca Service Template is written to the database Issue-ID: POLICY-3222 Change-Id: I9ca6b0b3fdbef4bf9a182795112de5280ec7f9ff Signed-off-by: saul.gill <saul.gill@est.tech>
2021-06-17Clean up CLAMP Sonar and checkstyle issuesliamfallon94-1095/+1060
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-17Prepare controlloop docker imagesSirisha_Manchikanti28-198/+1246
Generate runtime, policy-participant and dcae-participant docker images. Issue-ID: POLICY-3320 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I310fd2a098aa48a6a50a9bf6bd2bcb55328f4973
2021-06-17Merge "Fix CLAMP build failure and kub-participant module startup issue."Liam Fallon5-16/+42
2021-06-16Fix CLAMP build failure and kub-participant module startup issue.rameshiyer275-16/+42
Initialising ParticipantK8sParameters in the constructor to fix Null pointer Exception in kub-participant module. Constructor cannot use autowired properties. Updated pfDao getFiltered method signature to align with latest code in policy models. Issue-ID: POLICY-3240 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I9405c1e050b31b153ee53829ffece9f4be27818e
2021-06-16Merge "Remove duplicate properties in clamp repo"Liam Fallon2-40/+13
2021-06-15Merge "Make policy participant interact with Policy API"Jim Hahn7-60/+228
2021-06-15Merge "Convert Participant Simulator to SpringBoot Application"Jim Hahn35-1568/+1146
2021-06-15Merge "Create camel endpoint to get tosca from runtime"Liam Fallon10-118/+63637
2021-06-14Convert Participant Simulator to SpringBoot ApplicationFrancescoFioraEst35-1568/+1146
Issue-ID: POLICY-3246 Change-Id: I0e5220be826531cf0338d5cad7018d06bda3daf5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-11Make policy participant interact with Policy APIERIMROB7-60/+228
Change the policy participant from interacting directly with the database, into participant interacting with policy API instead Issue-ID: POLICY-3330 Change-Id: I02420b1e43f1b18e337b00ebd300f03bb9b7412d Signed-off-by: ERIMROB <robertas.rimkus@est.tech>
2021-06-11Create camel endpoint to get tosca from runtimesaul.gill10-118/+63637
Endpoint points to Runtime Tosca Service Template endpoint Added new authorization role for control loop Credentials in configuration file Issue-ID: POLICY-3222 Change-Id: I86f8cc5751547abfa15e10903d7e2fb2854f1ece Signed-off-by: saul.gill <saul.gill@est.tech>
2021-06-10Eliminate two fromAuthorative() calls in providersliamfallon6-139/+95
The current implementation of the providers makes two calls to the expensive fromAuthorative() method. This change changes the implementation to make a single call. Issue-ID: POLICY-3319 Change-Id: I6b7e016e91b07f567973d9e2af68514de0affddd Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-10Merge "Initial commit for kubernetes participant in CLAMP"Jim Hahn20-3/+1668
2021-06-10Remove duplicate properties in clamp reporyanSheehan2-40/+13
Removes properties, dependency and plugin versioning duplication from dcae-participant and runtime, future reviews will handle other participants like kubernetes Issue-Id: POLICY-3308 Change-Id: I98f9a36e9f984766b469c862f3298ca9120657e4 Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
2021-06-09Merge "Convert Policy Participant to SpringBoot Application"Ram Krishna Verma17-919/+317