summaryrefslogtreecommitdiffstats
path: root/participant
AgeCommit message (Collapse)AuthorFilesLines
2022-06-30Fix CSIt failure in CLAMP test caserameshiyer271-19/+31
Policy participant always updates the state of AC element to PASSIVE, irrespective of success/failure scenarios in policy creation and deployment. This causes inconsistency in AC overall state and CSIT validation fails. Verifying the response code from api and pap before updating the AC element state from policy participant. Issue-ID: POLICY-4270 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I0ecf770d9803e520401ba49cd47c22ac6e4f9c17
2022-06-20Fix K8s participant fails to verify the status of the deployed podsrameshiyer271-2/+2
The participant verifies the status of the deployed pods in the cluster with the string name appending the release name and chart id. Verification would fail if the name of the pod doesn't contain the helm release name, hence removing the same. Issue-ID: POLICY-4236 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I1f63452aa1135d59cc4c4daa3f9303a18fe0702d
2022-06-02Fix type version in all tosca_service_template yaml filesFrancescoFioraEst1-7/+7
Issue-ID: POLICY-4225 Change-Id: Ib069dec0acfdd85e45659deffb45398f7eae5e54 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-05-17Add user configurable parameter for permitted helm repo protocolsrameshiyer274-8/+16
User can configure the permitted helm repository protocols http/https based on the requirement. Issue-ID: POLICY-4113 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ib7c91413babd15d0bd22ceffe10cdc1c3a6a0fd0
2022-05-03Set snapshot and/or references of policy/clamp for new releaseliamfallon8-8/+8
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icf5d09aafb4ff088dd9e6c3268859753c0a3c06a Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon8-8/+8
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib28160e231fbfe1124cd49d29ca9e3d538a1cbfd
2022-04-12Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon8-8/+8
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifd4eb766f4070811f8100eb27f58ef2618b1dd22
2022-04-11Rename controlloop to ACMSirisha_Manchikanti5-9/+9
Issue-ID: POLICY-3941 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I3a9d66b5f6be55e722bb15326d0af83a1b698a02
2022-03-22Clean up unit testsadheli.tavares48-1411/+400
- use the unified test reference folder - fix some sonar lint issues Issue-ID: POLICY-3945 Change-Id: I33e30332d911f02c32937316bac6d2d331ac6346 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-03-11Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon8-8/+8
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I45033a8f834d30ce188f122519c56af92ca26847
2022-03-07Fixed Instance Properties Namebrunomilitzer1-1/+1
Fixed issue where the system put append _Instance1 so the end user can put their own custom name Issue-ID: POLICY-3978 Change-Id: I04500148aeee49c64f278ce00daa55d14f964b90 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-03-02Merge "Accept only Whitelisted Repos from Tosca Template"Liam Fallon10-26/+104
2022-03-01Accept only Whitelisted Repos from Tosca TemplateLathish10-27/+105
Issue-ID: POLICY-3894 Change-Id: Iaffaf3f1243f6070c600a58891899e9e1e326732 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-25Changed Incorrect Name for Tosca Service Template Participant Typebrunomilitzer1-2/+2
Issue-ID: POLICY-3940 Change-Id: Ia66052c4729d117f542069f0fdad8f74fabfe878 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-23Fix helm exception when there are no repo's configuredLathish5-21/+56
Issue-ID: POLICY-3874 Change-Id: I6734654049abeeb391b58df566992ab102a2894c Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-18Rename TOSCA Control Loop to ACMliamfallon175-5823/+3733
This commit renames the TOSCA Control Loop functionality in CLAMP to Automation Composition Management. This review is a direct renaming review and, as everything is renamed together it is large. Issue-ID: POLICY-3939 Change-Id: I28f0a6dd889bf3570a4c1365ae9e71fc58db6d6c Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-16Merge "Disable the helm endpoints by default in clamp"Liam Fallon3-4/+12
2022-02-15Disable the helm endpoints by default in clampLathish3-4/+12
Issue-ID: POLICY-3894 Change-Id: I81548c77fe0f9030c3bc7e8a72e113b234ff9010 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-14Fix Policy Participant to create and deploy the policies in Passive stateLathish1-12/+7
Issue-ID: POLICY-3874 Change-Id: If8a8a85dcb61389114a14c207c29ca55ba73161f Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-04Fix K8s State change from Uninitialized to Passive only when pod deployment ↵Lathish2-15/+43
is successful Issue-ID: POLICY-3874 Change-Id: Ib2ca3a5df8b15a0fa544fea8d0cbe794292d3d09 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-01Fix K8s participant Error when helm repo is not configuredLathish2-15/+24
Issue-ID: POLICY-3874 Change-Id: Ib28e427b6f498c89b8ab5b1f5bf6c88e6c9fc919 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-01-27Fix HTTP Participant Status Change on API FailureLathish2-9/+25
Issue-ID: POLICY-3874 Change-Id: Id5eb4529942e36ead245d28151ffccd4dcb21486 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2021-11-29Update snapshot of policy/clamp to 6.2.1-SNAPSHOTliamfallon8-8/+8
*** 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-24Merge "Code coverage clamp"Liam Fallon2-6/+46
2021-11-22Code coverage clamplapentafd2-6/+46
Issue-ID: POLICY-3452 Change-Id: I7ee191e590689e42822614d79a398012c454be42 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-22Merge "Added Camel Unit Tests"Liam Fallon5-8/+8
2021-11-18Merge "Code coverage clamp participant"Liam Fallon3-0/+71
2021-11-18Added Camel Unit Testsbrunomilitzer5-8/+8
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-17Code coverage clamp participantlapentafd3-0/+71
Issue-ID: POLICY-3452 Change-Id: I5de10918f91ff2857cf81cc362c9cbecfcb01ec1 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-16Code coverage in clamp participant-impllapentafd2-0/+200
Issue-ID: POLICY-3452 Change-Id: Iad815f2c0e239356f5e21e2fedd8e7b9e8f523d2 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-15Merge "Code Coverage Clamp Intermediary"Liam Fallon4-18/+282
2021-11-15Merge "Add health check, metrics and prometheus endpoints for CL participants"Liam Fallon19-16/+791
2021-11-11Code Coverage Clamp Intermediarylapentafd4-18/+282
Issue-ID: POLICY-3452 Change-Id: I388a1868fcaa95549f0d48ffb6713ab2526e2ed5 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-11Add health check, metrics and prometheus endpoints for CL participantsrameshiyer2719-16/+791
Issue-ID: POLICY-3747 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I9cb1ffcc2f9996c5b0e9f67fec9c706e48cfa800
2021-11-10Fixed https issue in policy-participantsaul.gill1-2/+2
Changes config files to use "useHttps" instead of "https" Issue-ID: POLICY-3817 Change-Id: Ic945150eff5334cbba77b4da77d72dc1283d4e67 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-11-10Merge "Code Coverage clamp common"Liam Fallon1-1/+0
2021-11-09Code Coverage clamp commonlapentafd1-1/+0
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-11-05Add Spring Jpa configurationFrancescoFioraEst1-0/+6
Issue-ID: POLICY-3795 Change-Id: Ic0955f412bfcd94094c19aceb4f25be8e695099a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-11-03Merge "Clamp code coverage"Liam Fallon2-1/+22
2021-11-02Clamp code coveragelapentafd3-3/+24
Issue-ID: POLICY-3452 Change-Id: I35c10562c5e11698491a5d93adcf417784395534 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-02Remove code smells in controlloop runtimeSirisha_Manchikanti6-10/+30
Remove code-smells reported by sonar cloud https://sonarcloud.io/project/issues?id=onap_policy-clamp&resolved=false Issue-ID: POLICY-3540 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I8ed1c4599e7eeebbc3a31e74cea4148eb0435847
2021-10-29Merge "Refactor policy-participant policy deployment and undeployment"Liam Fallon2-28/+29
2021-10-29Merge "Add support startPhase in all state transitions"Ajith Sreekumar2-27/+61
2021-10-29Merge "Move code to common, avoid duplication"Liam Fallon2-165/+11
2021-10-29Merge "Fix duplciates reported by sonar cloud"Liam Fallon5-148/+6
2021-10-27Fix duplciates reported by sonar cloudSirisha_Manchikanti5-148/+6
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-165/+11
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-27Refactor policy-participant policy deployment and undeploymentwaynedunican2-28/+29
Change the policy-participant to use DeploymentGroups to generate JSON body rather than manual generation Issue-ID: POLICY-3793 Change-Id: I3a049e2be8a677f5a5aeff7ed14e44d7252a2fb7 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2021-10-26Code Coverage in clamp participant intermediarylapentafd4-37/+399
Issue-ID: POLICY-3452 Change-Id: If4fe15d4e74a7f04b77fb1d6dc70f1b7cd32baa6 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-10-22Add support startPhase in all state transitionsFrancescoFioraEst2-27/+61
Issue-ID: POLICY-3785 Change-Id: I1b5821cc42cdbb63e3172596431dc561ced09c55 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>