aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-29Updates to participant messagesSirisha_Manchikanti19-76/+336
Updated participant messages according to https://wiki.onap.org/display/DW/The+CLAMP+Control+Loop+Participant+Protocol Issue-ID: POLICY-3416 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Idef19bee05116f11690c7aca0493e731dd128e06
2021-07-26Add Retry and Timeout handlingFrancescoFioraEst17-176/+351
Implementaton of Supervision, Retry and Timeout handling on all Participant messages Issue-ID: POLICY-3455 Change-Id: Idfd53ea0b8f5bb1272703256b983a6cbeeb4fdf4 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-07-23Rename ParticipantControlLoopStateChange messageSirisha_Manchikanti17-77/+77
This commit has no logical changes considered, except renaming ParticipantControlLoopStateChange message to ControlLoopStateChange message. According to following wiki ParticipantControlLoopStateChange message is renamed to ControlLoopStateChange message. 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: I7eaf89ca3fe5ab685b222b604abfd99627776b18
2021-07-23Remove ParticipantStateChange messageSirisha_Manchikanti18-402/+2
ParticipantStateChange message is no longer needed, as Runtime is not allowed to change the state of the participant. Following Wiki doesnot list ParticipantStateChange message https://wiki.onap.org/display/DW/The+CLAMP+Control+Loop+Participant+Protocol Issue-ID: POLICY-3510 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I06382efa52b1131394518c85d7bc6ce50dd2bbb5
2021-07-23Merge "Rename ParticipantControlLoopUpdate message"Liam Fallon17-111/+111
2021-07-22Merge "Add distribution of policies to Policy Participant"Liam Fallon2-3/+8
2021-07-22Merge "Send ParticipantStatus heartbeat messages to controlloop runtime"Liam Fallon14-18/+66
2021-07-21Rename ParticipantControlLoopUpdate messageSirisha_Manchikanti17-111/+111
This commit has no logical changes considered, except renaming ParticipantControlLoopUpdate message to ControlLoopUpdate message. According to following wiki ParticipantControlLoopUpdate message is renamed to ControlLoopUpdate message. https://wiki.onap.org/display/DW/The+CLAMP+Control+Loop+Participant+Protocol Issue-ID: POLICY-3416 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I73f2b6797393e3352f98db2234ab63b833d7f212
2021-07-21Send ParticipantStatus heartbeat messages to controlloop runtimewaynedunican14-18/+66
Issue-ID: POLICY-3418 Change-Id: I957b0ff42ff617fb20ba4134770b43007415a49b Signed-off-by: waynedunican <wayne.dunican@est.tech>
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-21Merge "Replace swagger doc gen with commmon approach"Liam Fallon2-91/+4
2021-07-20Merge "Refactor Control Loop Parameters in Spring"Jim Hahn27-572/+133
2021-07-20Merge "Added Camel Endpoints for decommissioning"Jim Hahn6-23/+284
2021-07-20Refactor Control Loop Parameters in SpringFrancescoFioraEst27-572/+133
Issue-ID: POLICY-3461 Change-Id: I54351d02da9bfa2b775f40fad0a12a4f32994cd9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-07-19Add support for new messages in controloop runtimeSirisha_Manchikanti14-18/+724
Receive ParticipantRegister, ParticipantDeregister and ParticipantUpdateAck messages from participants, Send ParticipantRegisterAck, ParticipantDeregisterAck and ParticipantUpdate from controlloop runtime to participants. Issue-ID: POLICY-3414 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ib5cb7d582974e34e8a226f640747c596ac5b5beb
2021-07-19Added Camel Endpoints for decommissioningsaul.gill6-23/+284
Added endpoint in camel for decommissioning Changed get tosca service template get endpoint to return snake case Added endpoints in camel to retrieve control loop definitions and element definitions Added integration tests Allowed error messages and status codes to come through from runtime-controlloop backend Small refactor of clamp python emulator Issue-ID: POLICY-3443 Change-Id: I2f6103ca0f2058651a43e7ae1e0974cb1d3e69a7 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-07-19Merge "Convert Control Loop components to Spring and Supervision refactor"Jim Hahn30-983/+757
2021-07-19Merge "Add https support for k8s-participant endpoints"Jim Hahn4-31/+6
2021-07-19Merge "Add Camel Endpoint Change State CL Instantiation"Jim Hahn2-0/+68
2021-07-19Merge "Code Coverage on clamp-participant-intermediary-parameters"Jim Hahn2-0/+180
2021-07-19Merge "Handle participant register,deregister,update messages"Jim Hahn22-54/+591
2021-07-16Code Coverage on clamp-participant-intermediary-parameterslapentafd2-0/+180
Issue-ID: POLICY-3452 Change-Id: I2cfeaabb6bf232e193430c724434a9669b889bad Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-07-16Merge "Fix CL participant docker images missing in Nexus"Liam Fallon1-0/+1
2021-07-16Add Camel Endpoint Change State CL Instantiationbrunomilitzer2-0/+68
Issue-ID: POLICY-3425 Change-Id: Ie8c5a5c169e3b24b2b74590e13539167d59f9545 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-07-16Add https support for k8s-participant endpointsrameshiyer274-31/+6
Removed additional http port connector configuration Enabling ssl in Dockerfile Issue-ID: POLICY-3334 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I229052f557b95b9aa565dbcf54c3dde30514b6ad
2021-07-15Handle participant register,deregister,update messagesSirisha_Manchikanti22-54/+591
Send ParticipantRegister, ParticipantDeregister and ParticipantUpdateAck from participant to controlloop runtime Receive ParticipantRegisterAck, ParticipantDeregisterAck and ParticipantUpdate messages from controlloop runtime Issue-ID: POLICY-3414 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ifb3c4fa64bdd2d50ec2302b35f342847f4994c5d
2021-07-15Convert Control Loop components to Spring and Supervision refactorFrancescoFioraEst30-983/+757
Issue-ID: POLICY-3463 Change-Id: Icc5b2ea576dbbe4cf954b51b8074f91884e93f56 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-07-15Merge "Support override parameters for k8s-participant"Jim Hahn16-127/+469
2021-07-15Replace swagger doc gen with commmon approachliamfallon2-91/+4
The swagger documentation generation is moved to policy-parent. This commit removes the CLAMP swagger document generation and replaces it with the common handling. It also fixes the following bug: The current CLAMP build generates the swagger.json file using a unit test case. That file is used later in the build to generate a swagger.pdf and swagger.html file. If the tests are skipped, the swagger.json file is not generated and the build fails on the PDF/html generation step. This change adds a profile to the build that only does the PDF/html generation when the skipTests flag is off. Issue-ID: POLICY-3424 Change-Id: Id195fc600d8fca7bfa5d9003272520d57414d646 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-07-15Fix CL participant docker images missing in Nexusrameshiyer271-0/+1
Issue-ID: POLICY-3411 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I70b09ae056391f2d0008e8c7e59102c2736ca46f
2021-07-14Support override parameters for k8s-participantrameshiyer2716-127/+469
Add support for helm chart override parameters in TOSCA. Add support for monitoring Pod status after deployment. Note: ONAP Helm charts from OOM repository needs a global master password to be provided along with the helm command. Looking for suggestions here to avoid passing clear text password in TOSCA (KubernetesHelm.yaml). Thanks Issue-ID: POLICY-3433 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibcbe79d07caa9bff12de341c3d88c36a144796bc
2021-07-14Merge "Code Coverage on clamp-participant-dcae"Jim Hahn4-1/+61
2021-07-14Merge "Added get json schema endpoints"Jim Hahn7-129/+361
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-13Added get json schema endpointssaul.gill7-129/+361
Added runtime-controlloop endpoint to return Json Schema Schema returned can be for specified type within Tosca Service Template Added Camel in runtime endpoint to proxy the Schema endpoint Dependency added to pom for the json schema generation Issue-ID: POLICY-3439 Change-Id: I2a98ce16dfb3761a174c90f4b965d1a37a0d8576 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-07-13Merge "Update CL TOSCA definitions, Add Guidance UC"Liam Fallon9-32/+258
2021-07-13Merge "Add docker image for kubernetes participant"Liam Fallon4-0/+157
2021-07-12Merge "Add models for register,deregister and update"Jim Hahn22-13/+934
2021-07-12Merge "Convert controlloop runtime to springboot framework"Jim Hahn48-1769/+1467
2021-07-12Merge "Add Camel Endpoint ControlLoop Instantiation"Jim Hahn2-0/+68
2021-07-10Add docker image for kubernetes participantrameshiyer274-0/+157
Issue-ID: POLICY-3411 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: If139d34f70f626e45a7865b7a8e9e3dae0a61daf
2021-07-09Convert controlloop runtime to springboot frameworkFrancescoFioraEst48-1769/+1467
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-09Merge "Add swagger models for swagger endpoint generation"Liam Fallon3-9/+9
2021-07-09Add models for register,deregister and updateSirisha_Manchikanti22-13/+934
This commit adds models for ParticipantRegister, ParticipantDeregister and ParticipantUpdate messages. Handling of these messages will be taken care in a later commit. Issue-ID: POLICY-3414 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I622b98b03df09eecaac160ba564c8a21b449c642
2021-07-08Add Camel Endpoint ControlLoop Instantiationbrunomilitzer2-0/+68
Added Camel Endpoint so that it connects with the ControlLoop Rest endpoint to create a new instantiation. Issue-ID: POLICY-3436 Change-Id: Idf3bda8a6226f57836d887f9d7a7b66327446858 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-07-07Merge "Add ONAP standard Control Loop Element types"Jim Hahn6-4/+263
2021-07-07Add swagger models for swagger endpoint generationliamfallon3-9/+9
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-07Merge "Fixed failing camel endpoint test"Jim Hahn1-1/+1
2021-07-06Merge "Convert clamp-common unit tests to JUnit 5"Jim Hahn3-7/+7