aboutsummaryrefslogtreecommitdiffstats
path: root/participant
AgeCommit message (Collapse)AuthorFilesLines
2021-07-14Merge "Code Coverage on clamp-participant-dcae"Jim Hahn4-1/+61
2021-07-13Code Coverage on clamp-participant-dcaelapentafd4-1/+61
Added assertions to existing tests Issue-ID: POLICY-3452 Change-Id: I653b899f31595ef2bd1164e6caa6a736399c947a Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-07-07Add swagger models for swagger endpoint generationliamfallon1-2/+0
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-01Add Junits for kubernetes participant modulerameshiyer2721-32/+1190
Overall coverage for the module: 85% Issue-ID: POLICY-3241 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I00c7866ae598b9768d1616468a4c9bfe4cc76166
2021-06-30Update CLAMP: checkstyle 8.43/Spring dependenciesliamfallon8-178/+18
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-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-25Merge "Move parameters from config Json file to application.yaml"Liam Fallon73-2312/+947
2021-06-23Move parameters from config Json file to application.yamlFrancescoFioraEst73-2312/+947
Issue-ID: POLICY-3343 Change-Id: Id78c00a5a241337f684a70feeee543f3a88fc01c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-22Create test jar for CL exampleswaynedunican1-0/+8
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-22Merge "Re clean up clamp project properties and dependencies"Liam Fallon5-65/+32
2021-06-20Merge "Clean up CLAMP Sonar and checkstyle issues"Liam Fallon27-222/+256
2021-06-18Re clean up clamp project properties and dependenciesryanSheehan6-81/+32
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-17Clean up CLAMP Sonar and checkstyle issuesliamfallon27-222/+256
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_Manchikanti3-63/+3
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 Fallon3-12/+12
2021-06-16Fix CLAMP build failure and kub-participant module startup issue.rameshiyer273-12/+12
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 Fallon1-10/+5
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-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-10Merge "Initial commit for kubernetes participant in CLAMP"Jim Hahn19-2/+1668
2021-06-10Remove duplicate properties in clamp reporyanSheehan1-10/+5
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
2021-06-09Initial commit for kubernetes participant in CLAMPliamfallon19-2/+1668
Spring application that exposes REST end points for installing, uninstalling, onboarding and deleting of helm charts to/from local directory. CL runtime can also trigger installation and uninstallation of helm charts from both local and configured helm repositories. Junits will be committed as a separate review. Issue-ID: POLICY-3240 Change-Id: I7633b6fd6ad41fc8fa55d3722e44f1b2ec132e50 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-08Convert DCAE Participant to SpringBoot ApplicationFrancescoFioraEst27-1110/+611
Issue-ID: POLICY-3244 Change-Id: I64cef98a4b1a405160d533983baf7a860f1816f5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-08Convert Policy Participant to SpringBoot ApplicationFrancescoFioraEst17-919/+317
Issue-ID: POLICY-3245 Change-Id: Iadacaba3b2a30c67adbe77b8b17debce2f2abb39 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-05-26Transfer tosca-poc onto masterliamfallon141-0/+17963
This is the third if three commits, this commit makes the content of the master branch the same as the tosca-poc branch. This commit adds the "src" files for TOSCA control loops to the modules in master. Difference between this commit and the current master: ------------------------------------------------------ diff -qr clamp clamp-master |diff_filter.sh Only in clamp/common: src Only in clamp/models: src Files clamp/participant/participant-impl/participant-impl-dcae/pom.xml and clamp-master/participant/participant-impl/participant-impl-dcae/pom.xml differ Only in clamp/participant/participant-impl/participant-impl-dcae: src Only in clamp/participant/participant-impl/participant-impl-policy: src Only in clamp/participant/participant-impl/participant-impl-simulator: src Files clamp/participant/participant-impl/pom.xml and clamp-master/participant/participant-impl/pom.xml differ Only in clamp/participant/participant-intermediary: src Files clamp/participant/pom.xml and clamp-master/participant/pom.xml differ Files clamp/pom.xml and clamp-master/pom.xml differ Files clamp/runtime/pom.xml and clamp-master/runtime/pom.xml differ Only in clamp: runtime-controlloop Difference between this commit and the current tosca-poc branch: ---------------------------------------------------------------- diff -qr clamp clamp-tp |diff_filter.sh Files clamp/INFO.yaml and clamp-tp/INFO.yaml 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/src/main/resources/META-INF/resources/swagger.html and clamp-tp/runtime/src/main/resources/META-INF/resources/swagger.html differ Issue-ID: POLICY-3215 Change-Id: Ica1aa3fe5d6110df2396ea856703102e800fa770 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-05-13Modular structure of clamp including controlloopSirisha_Manchikanti8-0/+292
This commit is the first commit that puts in multi module structure while changing the existing CLAMP code as little as possible. It adds a structure where common, models, participant and runtime are direct children under clamp, and current clamp code is moved under runtime. This runtime directory will host controlloop runtime code in later commits. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7 Signed-off-by: liamfallon <liam.fallon@est.tech>