aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2021-11-29Update snapshot of policy/clamp to 6.2.1-SNAPSHOTliamfallon1-1/+1
*** This commit is generated by a PF release script *** policy/clamp is update from 6.2.0-SNAPSHOT to 6.2.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I17a89cf934c6319392d2a9304f10763d29cca8bd
2021-11-18Added Camel Unit Testsbrunomilitzer6-11/+11
Added Camel Unit Tests to test creation of instance properties Updated credentials for Rest End point Issue-ID: POLICY-3565 Change-Id: I0899d3052588822f02a8a003eb4bc406bc887713 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-11-09Code Coverage clamp commonlapentafd4-2/+264
Code Coverage and Sonar issue in CommonUtils.java implicit public constructor Issue-ID: POLICY-3452 Change-Id: I55ab96ac7bdd098d7ad4daeb8e89a108e0ab6c4b Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-10-29Merge "Move code to common, avoid duplication"Liam Fallon2-0/+158
2021-10-27Fix duplciates reported by sonar cloudSirisha_Manchikanti2-0/+143
Fixes for the removal of duplicate code blocks reported by sonar cloud Issue-ID: POLICY-3792 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I8943f625cd940e7d1f9dd04b0dff2dd838879431
2021-10-27Move code to common, avoid duplicationSirisha_Manchikanti2-0/+158
This commit moves duplicate code from runtime and participant to common Issue-ID: POLICY-3542 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ia7cea1d2c88031c72af77338e242f8981e536c21
2021-10-14Bump policy/clamp to Jakarta 6.2.0-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I4dfc0532e30106478c89182f7c2cd573c168a634 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/clamp to 6.1.4-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: Icef72d76b53fa09c0f88d71431ae5a13d441c787 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Update parent/common/models/docker referencesliamfallon3-0/+504
Issue-ID: POLICY-3696 Change-Id: If01447c94e5f86144cbf3e244f2c1f977e931a32 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-21Merge "Fix common properties constraint and add startDelay"Jorge Hernandez1-5/+14
2021-09-21Fix common properties constraint and add startDelayliamfallon1-5/+14
The constraiont for greater or equal (>=) should be greater_or_equal, not greater-or-equal. Also, we need a startDelay parameter in order to synchronize the control loop element starts. Issue-ID: POLICY-3676 Change-Id: I20ecbafb1205c8af5364e75ac36a2cb879b9fe47 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-17Enable SSL connectionFrancescoFioraEst1-7/+24
Enable SSL connection in Rest Api and SSL connection to DMaap. Issue-ID: POLICY-3649 Change-Id: I48db31d3f30d580cea0cfdc385d2c763c212e330 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-15Bump policy-clamp snapshot version to 6.1.3-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: Ie3e6aba3a2dd64f36fcf5cbd860fe9b63ee4e8aa Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Add policy deployment/undeployment to policy-participantwaynedunican1-0/+4
Add policy deployment and undeployment to the policy-participant Allow user to specify pdpGroup and pdpdType as part of the deployment or undeployment of policies Change-Id: I8b37ee96305d35db0784cde3e4564150feaf477d Issue-ID: POLICY-3584 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2021-09-07Add postman collection for http, k8s participantsrameshiyer273-0/+762
Issue-ID: POLICY-3629 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ic8213e2fd420a284ca4cc81f33e875f59c8906b8
2021-09-01Verify alignment with Definition of TOSCA Control Loop TypesFrancescoFioraEst3-10/+34
Issue-ID: POLICY-3612 Change-Id: I818f80cdc1db98752a7791ef4aba7377add66516 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-18Updated ControlLoop component messagesSirisha_Manchikanti1-1/+1
Updated controlloop messages (ParticipantUpdate, ControlLoopUpdate, ParticipantStatus) according to the following Wiki and added implementation for the corresponding updates in runtime-controlloop and participant components https://wiki.onap.org/display/DW/The+CLAMP+Control+Loop+Participant+Protocol Issue-ID: POLICY-3417 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I80d96a7553a89ca47de2aa35e09df5a5c792acfa
2021-07-21Add distribution of policies to Policy Participantliamfallon2-3/+8
Currently, the Policy Participant only stores the policy to policy-api. It does not distribute the policy. This commit adds a parameter for the PDP group to the Policy Framework Control Loop Element metadata. Issue-ID: POLICY-3508 Change-Id: Ia182b4ea08ac1d3aec9cca4509f8e33723c80fc5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-07-20Refactor Control Loop Parameters in SpringFrancescoFioraEst1-2/+2
Issue-ID: POLICY-3461 Change-Id: I54351d02da9bfa2b775f40fad0a12a4f32994cd9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-07-15Convert Control Loop components to Spring and Supervision refactorFrancescoFioraEst4-237/+0
Issue-ID: POLICY-3463 Change-Id: Icc5b2ea576dbbe4cf954b51b8074f91884e93f56 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-07-13Merge "Update CL TOSCA definitions, Add Guidance UC"Liam Fallon9-32/+258
2021-07-09Convert controlloop runtime to springboot frameworkFrancescoFioraEst3-23/+1
Issue-ID: POLICY-3355 Change-Id: Ie1667b749eed28b7e526cd4695f45d8ed736c4e7 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-07-09Update CL TOSCA definitions, Add Guidance UCliamfallon9-32/+258
This patch makes some minor updates to the TOSCA definitions, mainly the introduction of common parameters. It also introduces the first draft of a "Gentle Guidance" control loop that can be used for testing, verification, documenting and explaining the TOSCA control loop framework. Issue-ID: POLICY-3341 Change-Id: Ie2d5379bd362f088d7c500402f83745cc7e6aca3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-07-07Merge "Add ONAP standard Control Loop Element types"Jim Hahn6-4/+263
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-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-06-30Update CLAMP: checkstyle 8.43/Spring dependenciesliamfallon1-1/+0
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-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 Fallon1-4/+10
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 Sreekumar2-1/+81
2021-06-23Move parameters from config Json file to application.yamlFrancescoFioraEst1-4/+10
Issue-ID: POLICY-3343 Change-Id: Id78c00a5a241337f684a70feeee543f3a88fc01c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-23Increase code coverage in clamp-commonwaynedunican2-1/+81
Issue-ID: POLICY-3403 Change-Id: Ic66b52da8a6256d2a65c2c2767b939e94a417875 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-06-22Create test jar for CL exampleswaynedunican18-1/+19
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-20Merge "Clean up CLAMP Sonar and checkstyle issues"Liam Fallon2-7/+10
2021-06-17Clean up CLAMP Sonar and checkstyle issuesliamfallon2-7/+10
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_Manchikanti1-21/+1
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-05-26Transfer tosca-poc onto masterliamfallon29-0/+11813
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_Manchikanti1-0/+36
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>