aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/main
AgeCommit message (Collapse)AuthorFilesLines
2021-11-09Code Coverage clamp commonlapentafd1-2/+4
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 Fallon1-0/+150
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_Manchikanti1-0/+150
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-13Update parent/common/models/docker referencesliamfallon1-0/+74
Issue-ID: POLICY-3696 Change-Id: If01447c94e5f86144cbf3e244f2c1f977e931a32 Signed-off-by: liamfallon <liam.fallon@est.tech>
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-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-07-21Add distribution of policies to Policy Participantliamfallon1-0/+6
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-15Convert Control Loop components to Spring and Supervision refactorFrancescoFioraEst2-127/+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 Fallon6-23/+82
2021-07-09Convert controlloop runtime to springboot frameworkFrancescoFioraEst1-15/+0
Issue-ID: POLICY-3355 Change-Id: Ie1667b749eed28b7e526cd4695f45d8ed736c4e7 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-07-09Update CL TOSCA definitions, Add Guidance UCliamfallon6-23/+82
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-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-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 Sreekumar1-1/+1
2021-06-23Increase code coverage in clamp-commonwaynedunican1-1/+1
Issue-ID: POLICY-3403 Change-Id: Ic66b52da8a6256d2a65c2c2767b939e94a417875 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-06-22Create test jar for CL exampleswaynedunican16-10601/+0
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-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-05-26Transfer tosca-poc onto masterliamfallon21-0/+11086
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>