aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-11-05Add Spring Jpa configurationFrancescoFioraEst19-185/+241
Issue-ID: POLICY-3795 Change-Id: Ic0955f412bfcd94094c19aceb4f25be8e695099a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-11-03Merge "Clamp code coverage"Liam Fallon3-2/+46
2021-11-02Clamp code coveragelapentafd4-4/+48
Issue-ID: POLICY-3452 Change-Id: I35c10562c5e11698491a5d93adcf417784395534 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-02Remove code smells in controlloop runtimeSirisha_Manchikanti13-39/+48
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 Sreekumar12-85/+470
2021-10-29Merge "Move code to common, avoid duplication"Liam Fallon6-266/+177
2021-10-29Merge "Fix duplciates reported by sonar cloud"Liam Fallon10-152/+12
2021-10-27Merge "Code Coverage in clamp participant intermediary"Liam Fallon4-37/+399
2021-10-27Fix duplciates reported by sonar cloudSirisha_Manchikanti10-152/+12
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_Manchikanti6-266/+177
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-25Point to snapshot dependencyRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: Ibf3659ffb5a6b0564fea120ffa79377cd1ec3c74 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-22Add support startPhase in all state transitionsFrancescoFioraEst12-85/+470
Issue-ID: POLICY-3785 Change-Id: I1b5821cc42cdbb63e3172596431dc561ced09c55 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-20Merge "Refactor GlobalControllerExceptionHandler"Liam Fallon4-20/+105
2021-10-20Merge "Policy Clamp Code Coverage"Liam Fallon2-1/+135
2021-10-19Refactor GlobalControllerExceptionHandlerFrancescoFioraEst4-20/+105
Issue-ID: POLICY-3530 Change-Id: Ib33daf8491c1bf96460b424e8b0da228d65e571a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-19Policy Clamp Code Coveragelapentafd2-1/+135
Participant Handler Test Cases Issue-ID: POLICY-3452 Change-Id: I8325206fdfbfbc199f593f7e058e28fa0ef2a649 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-10-14Bump policy/clamp to Jakarta 6.2.0-SNAPSHOTliamfallon17-18/+18
Issue-ID: POLICY-3696 Change-Id: I4dfc0532e30106478c89182f7c2cd573c168a634 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/clamp to 6.1.4-SNAPSHOTliamfallon17-17/+17
Issue-ID: POLICY-3696 Change-Id: Icef72d76b53fa09c0f88d71431ae5a13d441c787 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Release policy/clamp 6.1.3 docker imagesliamfallon1-0/+18
Issue-ID: POLICY-3696 Change-Id: I8cc84f9dcbc8eed1eb7187e1f574be278775b0cd Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Release policy/clamp 6.1.3liamfallon1-0/+5
Issue-ID: POLICY-3696 Change-Id: I50d756a083ddda8a3f0d1920aef4f331ded83702 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Merge "Add testsuites of tosca controlloop"Liam Fallon9-2/+4772
2021-10-13Merge "Update parent/common/models/docker references"Liam Fallon8-7/+511
2021-10-13Update parent/common/models/docker referencesliamfallon8-7/+511
Issue-ID: POLICY-3696 Change-Id: If01447c94e5f86144cbf3e244f2c1f977e931a32 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Add testsuites of tosca controlloopSirisha_Manchikanti9-2/+4772
This commit will add jmeter files for stability and performance tests of Controlloop components. Issue-ID: POLICY-3659 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I48c206d841d7d3393f469d26fdd4f8d0b66c3478
2021-10-13Commit to Test the CLAMP verify/merge Jenkins jobliamfallon1-1/+1
The last commit to policy/clamp remoed the docs directory, but when that commit was raised, the rtd job still triggered, possibly because the "docs" directory was still in the repo, even though the incoming commit was removing it. This commit is being pushed to check if the RTD jobs are triggered now that the "docs" directory has been removed from master. Issue-ID: POLICY-3337 Change-Id: Ibce02be7debfd8443f80e6b2f5cb25e659e88da2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-12Remove docs directory from policy/clampliamfallon35-1037/+0
All the documentation from policy-clamp is now moved to policy parent and the links from the ONAP root documentaiton to CLAMP are now pointing at the documentation for CLAMP in policy/parent. This all means that the documentation in policy/clamp can now be removed. Issue-ID: POLICY-3337 Change-Id: I9bf99b0dc7a8184dc5a972a207e94fad33e507e2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-11Fix delete action in design statesebdet3-11/+11
It can still happen due to DCAE deployment, so this patch should fix it. + Fix test due to changes done in DCAE camel flows Issue-ID: POLICY-3707 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I0f439fc029354a0632b2b17a452b7811df90492a
2021-10-08Fix delete instance in Design statesebdet4-4/+14
The "delete" flow should not crash when policies have not been deployed yet. + Fix DCAE logs (set to DCAe component) + Fix the STDOUT that should contain the error logs as requested by OOM team Issue-ID: POLICY-3707 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I15951106280f4e781ee2f3140fa72a935d54f241
2021-10-06Fixed Service Template Parsingbrunomilitzer1-2/+10
Issue-Id: POLICY-3691 Change-Id: Ie04711cd01e4140b0842e8d0d4ffbbe8e1b83361 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-10-06Merge "Handle ParticipantRegister"Liam Fallon11-234/+1488
2021-10-06Merge "Code coverage in clamp/models"Liam Fallon4-19/+3480
2021-10-05Handle ParticipantRegisterFrancescoFioraEst11-234/+1488
Send ParticipantUpdate to participant after registration if commissioning has already been created Issue-ID: POLICY-3689 Change-Id: Iccc4fc1c0b95e1f270b6810c5b5f130726f24650 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-05Merge "Register participant in ParticipantRegister message"Liam Fallon2-32/+313
2021-10-05Merge "Fix startPhase delay"Liam Fallon7-115/+141
2021-10-05Code coverage in clamp/modelslapentafd4-19/+3480
Issue-ID: POLICY-3452 Change-Id: I4c24c85edd7a22b05ae81ee7779da13974127164 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-10-04Fix startPhase delayFrancescoFioraEst7-115/+141
Issue-ID: POLICY-3624 Change-Id: Ie7e25ddc3796324246f267dd0c92b9bc1fe15aa2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-04Register participant in ParticipantRegister messageFrancescoFioraEst2-32/+313
Issue-ID: POLICY-3688 Change-Id: I7ac14dace8e936ac4329b55866bfbf8b7c45da63 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-10-01Suppress useless nginx error messages in clamp-fedanielhanrahan1-2/+2
Log only warnings and higher in nginx error log Issue-ID: POLICY-3683 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If5d56ceb4d63381616c747d68e231566d7ecc03c
2021-09-30Merge "Fix continuous sending CONTROL_LOOP_STATE_CHANGE message"Liam Fallon1-2/+2
2021-09-29Merge "Update Participant Status after Commissioning"Liam Fallon1-7/+13
2021-09-29Merge "Added service template to be used for smoke tests"Liam Fallon1-0/+966
2021-09-29Merge "Add Instant Serializer/deserializer"Jorge Hernandez2-7/+43
2021-09-29Fix continuous sending CONTROL_LOOP_STATE_CHANGE messageFrancescoFioraEst1-2/+2
Issue-ID: POLICY-3687 Change-Id: I41f8cd80d0c3441533891e7edc21e1440028b852 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-29Update Participant Status after CommissioningFrancescoFioraEst1-7/+13
Issue-ID: POLICY-3686 Change-Id: Ia9d8c345412c9d4d5017a6931565d57b16ec0c03 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-29Fix CL state change failures on participantsrameshiyer273-4/+32
Issue-ID: POLICY-3685 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibec537d1ab55fd921481294fc3e193d7f1dc7912
2021-09-29Add Instant Serializer/deserializersebdet2-7/+43
In order to decode the PdpGroup Json properly the instant serializer/deserializer must be added. Issue-ID: POLICY-3684 Issue-ID: POLICY-3682 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I25d96fa3293d8338a2cb6073083121c7663f19b4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-09-28Added service template to be used for smoke testssaul.gill1-0/+966
Added K8s types and templates Added pmsh policy types and templates Added examples of common properties Added participant_id as well as participantType Issue-ID: POLICY-3648 Change-Id: I5435f58ada655e988477720dde8ed191cf475e3b Signed-off-by: saul.gill <saul.gill@est.tech>