FrancescoFioraEst [Mon, 9 Aug 2021 15:27:25 +0000 (16:27 +0100)]
Fix serialization of messages in Control Loop and Participants
Issue-ID: POLICY-3536
Change-Id: I72207ba8b3894238412bf19c32b799b661a23c21
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Ajith Sreekumar [Mon, 9 Aug 2021 12:50:31 +0000 (12:50 +0000)]
Merge "Use slf4j instead of EELFLogger in Clamp"
Ram Krishna Verma [Fri, 6 Aug 2021 14:00:39 +0000 (14:00 +0000)]
Merge "Handle Exceptions in Rest Control Loop Runtime"
Ram Krishna Verma [Fri, 6 Aug 2021 14:00:14 +0000 (14:00 +0000)]
Merge "Support for Retry and Timeout handling on ParticipantStatus"
Taka Cho [Tue, 27 Jul 2021 20:36:13 +0000 (16:36 -0400)]
Use slf4j instead of EELFLogger in Clamp
replace EELF with slf4j logback
using slf4j Marker from common repo
Issue-ID: POLICY-3087
Change-Id: I56b43584b1603d9eba642c1cd6ef6190526d078b
Signed-off-by: Taka Cho <takamune.cho@att.com>
FrancescoFioraEst [Tue, 3 Aug 2021 15:54:30 +0000 (16:54 +0100)]
Handle Exceptions in Rest Control Loop Runtime
POLICY-3462: Handle Exceptions in Rest Control Loop Runtime
Change-Id: I586f6f6d85f9253cb2a29c70df38c49ca26c5852
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Sirisha_Manchikanti [Tue, 3 Aug 2021 16:49:00 +0000 (17:49 +0100)]
Update controlloop messages
Updated controlloop messages according to
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: Ied32ea5bb63a6b69286d03f1a7b2b86e3acad7a7
FrancescoFioraEst [Wed, 28 Jul 2021 15:38:54 +0000 (16:38 +0100)]
Support for Retry and Timeout handling on ParticipantStatus
POLICY-3464: Support for Retry and Timeout handling on ParticipantStatus
Change-Id: Iecf8bc9921cb92987bc75b6938efc543350a1543
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Jim Hahn [Fri, 30 Jul 2021 19:20:37 +0000 (19:20 +0000)]
Merge "Implement http participant in CLAMP"
Jim Hahn [Fri, 30 Jul 2021 13:28:11 +0000 (13:28 +0000)]
Merge "Updates to participant messages"
Jim Hahn [Fri, 30 Jul 2021 13:27:07 +0000 (13:27 +0000)]
Merge "Added endpoint for common or instance properties"
rameshiyer27 [Tue, 20 Jul 2021 06:57:41 +0000 (07:57 +0100)]
Implement http participant in CLAMP
Issue-ID: POLICY-3449
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ibfe23a6e98fb760a930b6080dc2291113b3cb4fa
saul.gill [Fri, 23 Jul 2021 09:48:25 +0000 (10:48 +0100)]
Added endpoint for common or instance properties
Runtime-controlloop and Camel endpoionts added
Flag common can be used - true common props - false - instance props
Changed getServiceTemplate endpoint to return less
Added creation of controlloop db to clamp scripts
Issue-ID: POLICY-3439
Change-Id: I9d189ca030868b47b46a2e0bc5e731c23fba2a61
Signed-off-by: saul.gill <saul.gill@est.tech>
Ajith Sreekumar [Thu, 29 Jul 2021 08:18:46 +0000 (08:18 +0000)]
Merge "Replace JSON properties files to Yaml from docker images"
Sirisha_Manchikanti [Tue, 27 Jul 2021 16:24:44 +0000 (17:24 +0100)]
Updates to participant messages
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
FrancescoFioraEst [Fri, 23 Jul 2021 14:53:46 +0000 (15:53 +0100)]
Replace JSON properties files to Yaml from docker images
POLICY-3469: Replace JSON properties files to Yaml from docker images
Change-Id: I23fbd9d84640286725440453d464c397e3144662
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Tue, 20 Jul 2021 14:49:57 +0000 (15:49 +0100)]
Add Retry and Timeout handling
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>
Sirisha_Manchikanti [Wed, 21 Jul 2021 16:25:13 +0000 (17:25 +0100)]
Rename ParticipantControlLoopStateChange message
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
Sirisha_Manchikanti [Wed, 21 Jul 2021 14:57:24 +0000 (15:57 +0100)]
Remove ParticipantStateChange message
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
Liam Fallon [Fri, 23 Jul 2021 08:23:27 +0000 (08:23 +0000)]
Merge "Rename ParticipantControlLoopUpdate message"
Liam Fallon [Thu, 22 Jul 2021 12:12:48 +0000 (12:12 +0000)]
Merge "Add distribution of policies to Policy Participant"
Liam Fallon [Thu, 22 Jul 2021 10:51:32 +0000 (10:51 +0000)]
Merge "Send ParticipantStatus heartbeat messages to controlloop runtime"
Sirisha_Manchikanti [Wed, 21 Jul 2021 15:45:11 +0000 (16:45 +0100)]
Rename ParticipantControlLoopUpdate message
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
waynedunican [Wed, 7 Jul 2021 07:01:31 +0000 (08:01 +0100)]
Send ParticipantStatus heartbeat messages to controlloop runtime
Issue-ID: POLICY-3418
Change-Id: I957b0ff42ff617fb20ba4134770b43007415a49b
Signed-off-by: waynedunican <wayne.dunican@est.tech>
liamfallon [Wed, 21 Jul 2021 10:31:14 +0000 (11:31 +0100)]
Add distribution of policies to Policy Participant
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>
Liam Fallon [Wed, 21 Jul 2021 07:18:41 +0000 (07:18 +0000)]
Merge "Replace swagger doc gen with commmon approach"
Jim Hahn [Tue, 20 Jul 2021 15:23:12 +0000 (15:23 +0000)]
Merge "Refactor Control Loop Parameters in Spring"
Jim Hahn [Tue, 20 Jul 2021 13:45:35 +0000 (13:45 +0000)]
Merge "Added Camel Endpoints for decommissioning"
FrancescoFioraEst [Tue, 13 Jul 2021 09:30:02 +0000 (10:30 +0100)]
Refactor Control Loop Parameters in Spring
Issue-ID: POLICY-3461
Change-Id: I54351d02da9bfa2b775f40fad0a12a4f32994cd9
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Sirisha_Manchikanti [Wed, 14 Jul 2021 22:48:53 +0000 (23:48 +0100)]
Add support for new messages in controloop runtime
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
saul.gill [Thu, 15 Jul 2021 10:45:02 +0000 (11:45 +0100)]
Added Camel Endpoints for decommissioning
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>
Jim Hahn [Mon, 19 Jul 2021 13:24:46 +0000 (13:24 +0000)]
Merge "Convert Control Loop components to Spring and Supervision refactor"
Jim Hahn [Mon, 19 Jul 2021 13:23:55 +0000 (13:23 +0000)]
Merge "Add https support for k8s-participant endpoints"
Jim Hahn [Mon, 19 Jul 2021 13:23:34 +0000 (13:23 +0000)]
Merge "Add Camel Endpoint Change State CL Instantiation"
Jim Hahn [Mon, 19 Jul 2021 13:22:31 +0000 (13:22 +0000)]
Merge "Code Coverage on clamp-participant-intermediary-parameters"
Jim Hahn [Mon, 19 Jul 2021 13:22:07 +0000 (13:22 +0000)]
Merge "Handle participant register,deregister,update messages"
lapentafd [Wed, 14 Jul 2021 10:16:48 +0000 (11:16 +0100)]
Code Coverage on clamp-participant-intermediary-parameters
Issue-ID: POLICY-3452
Change-Id: I2cfeaabb6bf232e193430c724434a9669b889bad
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Liam Fallon [Fri, 16 Jul 2021 12:33:09 +0000 (12:33 +0000)]
Merge "Fix CL participant docker images missing in Nexus"
brunomilitzer [Wed, 14 Jul 2021 11:01:47 +0000 (12:01 +0100)]
Add Camel Endpoint Change State CL Instantiation
Issue-ID: POLICY-3425
Change-Id: Ie8c5a5c169e3b24b2b74590e13539167d59f9545
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
rameshiyer27 [Fri, 16 Jul 2021 06:27:16 +0000 (07:27 +0100)]
Add https support for k8s-participant endpoints
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
Sirisha_Manchikanti [Wed, 14 Jul 2021 22:20:30 +0000 (23:20 +0100)]
Handle participant register,deregister,update messages
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
FrancescoFioraEst [Tue, 13 Jul 2021 10:18:01 +0000 (11:18 +0100)]
Convert Control Loop components to Spring and Supervision refactor
Issue-ID: POLICY-3463
Change-Id: Icc5b2ea576dbbe4cf954b51b8074f91884e93f56
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Jim Hahn [Thu, 15 Jul 2021 15:15:14 +0000 (15:15 +0000)]
Merge "Support override parameters for k8s-participant"
liamfallon [Wed, 14 Jul 2021 16:52:12 +0000 (17:52 +0100)]
Replace swagger doc gen with commmon approach
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>
rameshiyer27 [Thu, 15 Jul 2021 08:36:26 +0000 (09:36 +0100)]
Fix CL participant docker images missing in Nexus
Issue-ID: POLICY-3411
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I70b09ae056391f2d0008e8c7e59102c2736ca46f
rameshiyer27 [Wed, 7 Jul 2021 19:37:54 +0000 (20:37 +0100)]
Support override parameters for k8s-participant
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
Jim Hahn [Wed, 14 Jul 2021 14:39:17 +0000 (14:39 +0000)]
Merge "Code Coverage on clamp-participant-dcae"
Jim Hahn [Wed, 14 Jul 2021 14:37:52 +0000 (14:37 +0000)]
Merge "Added get json schema endpoints"
lapentafd [Fri, 9 Jul 2021 10:52:54 +0000 (11:52 +0100)]
Code Coverage on clamp-participant-dcae
Added assertions to existing tests
Issue-ID: POLICY-3452
Change-Id: I653b899f31595ef2bd1164e6caa6a736399c947a
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
saul.gill [Fri, 9 Jul 2021 11:10:46 +0000 (12:10 +0100)]
Added get json schema endpoints
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>
Liam Fallon [Tue, 13 Jul 2021 09:36:13 +0000 (09:36 +0000)]
Merge "Update CL TOSCA definitions, Add Guidance UC"
Liam Fallon [Tue, 13 Jul 2021 08:26:43 +0000 (08:26 +0000)]
Merge "Add docker image for kubernetes participant"
Jim Hahn [Mon, 12 Jul 2021 18:34:13 +0000 (18:34 +0000)]
Merge "Add models for register,deregister and update"
Jim Hahn [Mon, 12 Jul 2021 18:33:50 +0000 (18:33 +0000)]
Merge "Convert controlloop runtime to springboot framework"
Jim Hahn [Mon, 12 Jul 2021 18:32:49 +0000 (18:32 +0000)]
Merge "Add Camel Endpoint ControlLoop Instantiation"
rameshiyer27 [Wed, 7 Jul 2021 07:02:55 +0000 (08:02 +0100)]
Add docker image for kubernetes participant
Issue-ID: POLICY-3411
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: If139d34f70f626e45a7865b7a8e9e3dae0a61daf
FrancescoFioraEst [Mon, 5 Jul 2021 09:36:42 +0000 (10:36 +0100)]
Convert controlloop runtime to springboot framework
Issue-ID: POLICY-3355
Change-Id: Ie1667b749eed28b7e526cd4695f45d8ed736c4e7
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
liamfallon [Wed, 7 Jul 2021 19:08:41 +0000 (20:08 +0100)]
Update CL TOSCA definitions, Add Guidance UC
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>
Liam Fallon [Fri, 9 Jul 2021 10:44:34 +0000 (10:44 +0000)]
Merge "Add swagger models for swagger endpoint generation"
Sirisha_Manchikanti [Fri, 2 Jul 2021 07:53:07 +0000 (08:53 +0100)]
Add models for register,deregister and update
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
brunomilitzer [Thu, 8 Jul 2021 11:44:06 +0000 (12:44 +0100)]
Add Camel Endpoint ControlLoop Instantiation
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>
Jim Hahn [Wed, 7 Jul 2021 14:55:24 +0000 (14:55 +0000)]
Merge "Add ONAP standard Control Loop Element types"
liamfallon [Tue, 6 Jul 2021 08:53:17 +0000 (09:53 +0100)]
Add swagger models for swagger endpoint generation
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>
Jim Hahn [Wed, 7 Jul 2021 12:29:13 +0000 (12:29 +0000)]
Merge "Fixed failing camel endpoint test"
Jim Hahn [Tue, 6 Jul 2021 14:18:56 +0000 (14:18 +0000)]
Merge "Convert clamp-common unit tests to JUnit 5"
Jim Hahn [Tue, 6 Jul 2021 14:18:42 +0000 (14:18 +0000)]
Merge "Convert clamp-models unit tests to JUnit 5"
saul.gill [Tue, 6 Jul 2021 08:57:28 +0000 (09:57 +0100)]
Fixed failing camel endpoint test
Previously passed integration test failing
Simple fix of the URL in the route
Issue-ID: POLICY-3440
Change-Id: Icd1fcd3e27c3ec632ee07c2ae1bdb2126342cf16
Signed-off-by: saul.gill <saul.gill@est.tech>
Liam Fallon [Tue, 6 Jul 2021 08:37:12 +0000 (08:37 +0000)]
Merge "Add Junits for kubernetes participant module"
Liam Fallon [Mon, 5 Jul 2021 07:54:46 +0000 (07:54 +0000)]
Merge "Added ITs for Commissioning Camel Endpoints"
liamfallon [Fri, 2 Jul 2021 13:42:06 +0000 (14:42 +0100)]
Add ONAP standard Control Loop Element types
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>
saul.gill [Tue, 29 Jun 2021 11:57:29 +0000 (12:57 +0100)]
Added ITs for Commissioning Camel Endpoints
Changed emulator to deal with new endpoint tests
Added spring property to deal with camel endpoint issue
Fixed lingering checkstyle violations
Issue-ID: POLICY-3440
Change-Id: I5810913c4418e7893f3ad848618deec1b1a85a0f
Signed-off-by: saul.gill <saul.gill@est.tech>
liamfallon [Fri, 2 Jul 2021 10:24:51 +0000 (11:24 +0100)]
Convert clamp-models unit tests to JUnit 5
JUnit 4 tests do not fire when JUnit 5 is activated.
Issue-ID: POLICY-3452
Change-Id: I5efb8ee996b06dc7f57107b8f77408adc1a4f22f
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Fri, 2 Jul 2021 10:08:47 +0000 (11:08 +0100)]
Convert clamp-common unit tests to JUnit 5
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>
rameshiyer27 [Thu, 1 Jul 2021 06:50:45 +0000 (07:50 +0100)]
Add Junits for kubernetes participant module
Overall coverage for the module: 85%
Issue-ID: POLICY-3241
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I00c7866ae598b9768d1616468a4c9bfe4cc76166
liamfallon [Wed, 30 Jun 2021 18:46:09 +0000 (19:46 +0100)]
Restore swagger generation in CLAMP
THis patch restores the Swagger generation in CLAMP. It changes the
target directory for the swagger generation to be the target directory
rather than storing the generated Swagger files in the source
repository.
The reason for this is that it avolds the swagger.json, the
swagger.html, and the swagger.pdf files being generated each time a
build is done and being checked in multiple times. The swagger files
will be produced as an artifact from the build in a later review when
all the swagger documentation for CLAMP is consolidated.
Issue-ID: POLICY-3209
Change-Id: I6ccb446d01509232bbd4230b76bd7950858e1437
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 29 Jun 2021 16:13:09 +0000 (17:13 +0100)]
Update CLAMP: checkstyle 8.43/Spring dependencies
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>
Jim Hahn [Tue, 29 Jun 2021 15:17:11 +0000 (15:17 +0000)]
Merge "Convert Intermediary Participant to Spring and refactor Participants"
Ajith Sreekumar [Tue, 29 Jun 2021 08:38:16 +0000 (08:38 +0000)]
Merge "Refactor participant event handling"
FrancescoFioraEst [Mon, 21 Jun 2021 15:45:27 +0000 (16:45 +0100)]
Convert Intermediary Participant to Spring and refactor Participants
Issue-ID: POLICY-3370
Change-Id: I1541fc47b35c91f9ec86ab768bc3cec2cd78647c
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Thu, 24 Jun 2021 15:30:23 +0000 (16:30 +0100)]
Refactor participant event handling
Issue-ID: POLICY-3268
Change-Id: I02b03fd9f9f4399e045e766baace203f42e678cf
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Fri, 25 Jun 2021 12:34:25 +0000 (12:34 +0000)]
Merge "Add Fundamental TOSCA Types for Control Loops"
Liam Fallon [Fri, 25 Jun 2021 12:34:04 +0000 (12:34 +0000)]
Merge "Move parameters from config Json file to application.yaml"
liamfallon [Thu, 24 Jun 2021 18:25:34 +0000 (19:25 +0100)]
Add Fundamental TOSCA Types for Control Loops
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>
Ajith Sreekumar [Thu, 24 Jun 2021 12:48:56 +0000 (12:48 +0000)]
Merge "Increase code coverage in clamp-common"
Liam Fallon [Thu, 24 Jun 2021 08:35:43 +0000 (08:35 +0000)]
Merge "Added Camel Endpoint for Tosca Instantiation"
FrancescoFioraEst [Tue, 15 Jun 2021 15:01:31 +0000 (16:01 +0100)]
Move parameters from config Json file to application.yaml
Issue-ID: POLICY-3343
Change-Id: Id78c00a5a241337f684a70feeee543f3a88fc01c
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
waynedunican [Fri, 18 Jun 2021 14:06:29 +0000 (15:06 +0100)]
Increase code coverage in clamp-common
Issue-ID: POLICY-3403
Change-Id: Ic66b52da8a6256d2a65c2c2767b939e94a417875
Signed-off-by: waynedunican <wayne.dunican@est.tech>
waynedunican [Tue, 15 Jun 2021 11:40:46 +0000 (12:40 +0100)]
Create test jar for CL examples
Files under /main/resources/ have moved to /test/resources/
Issue-ID: POLICY-3242
Change-Id: I96fa71e1af2c026bfb08db889de8608fe8acbd18
Signed-off-by: waynedunican <wayne.dunican@est.tech>
brunomilitzer [Fri, 18 Jun 2021 15:11:11 +0000 (16:11 +0100)]
Added Camel Endpoint for Tosca Instantiation
Endpoint redirects GET to runtime instantiation
Issue-ID: POLICY-3357
Change-Id: Idf733c2803be2f6ab5cc681d583c1c6b46b2ce96
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Liam Fallon [Tue, 22 Jun 2021 11:07:50 +0000 (11:07 +0000)]
Merge "Re clean up clamp project properties and dependencies"
Jim Hahn [Mon, 21 Jun 2021 15:51:23 +0000 (15:51 +0000)]
Merge "Added Camel Endpoint for Tosca Template Upload"
Liam Fallon [Sun, 20 Jun 2021 19:39:39 +0000 (19:39 +0000)]
Merge "Clean up CLAMP Sonar and checkstyle issues"
ryanSheehan [Fri, 18 Jun 2021 15:47:38 +0000 (16:47 +0100)]
Re clean up clamp project properties and dependencies
Remove version duplication from clamp projects runtime, dcae
kubernetes, policy participant and simulator
Issue-ID: POLICY-3308
Change-Id: I316b3b0313608c5d17c9692f44d653afabc2d596
Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
saul.gill [Thu, 17 Jun 2021 15:28:22 +0000 (16:28 +0100)]
Added Camel Endpoint for Tosca Template Upload
Endpoint redirects a POST to runtime commissiong API
Tosca Service Template is written to the database
Issue-ID: POLICY-3222
Change-Id: I9ca6b0b3fdbef4bf9a182795112de5280ec7f9ff
Signed-off-by: saul.gill <saul.gill@est.tech>
liamfallon [Wed, 16 Jun 2021 11:08:01 +0000 (12:08 +0100)]
Clean up CLAMP Sonar and checkstyle issues
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>
Sirisha_Manchikanti [Tue, 1 Jun 2021 15:48:25 +0000 (16:48 +0100)]
Prepare controlloop docker images
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
Liam Fallon [Thu, 17 Jun 2021 07:31:03 +0000 (07:31 +0000)]
Merge "Fix CLAMP build failure and kub-participant module startup issue."
rameshiyer27 [Tue, 15 Jun 2021 17:22:04 +0000 (18:22 +0100)]
Fix CLAMP build failure and kub-participant module startup issue.
Initialising ParticipantK8sParameters in the constructor to fix Null pointer Exception in kub-participant module.
Constructor cannot use autowired properties.
Updated pfDao getFiltered method signature to align with latest code in policy models.
Issue-ID: POLICY-3240
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I9405c1e050b31b153ee53829ffece9f4be27818e
Liam Fallon [Wed, 16 Jun 2021 08:21:45 +0000 (08:21 +0000)]
Merge "Remove duplicate properties in clamp repo"
Jim Hahn [Tue, 15 Jun 2021 13:43:54 +0000 (13:43 +0000)]
Merge "Make policy participant interact with Policy API"