policy/clamp.git
3 years agoOrganising tosca files references to an examples folder 77/127477/2
adheli.tavares [Fri, 25 Feb 2022 15:06:49 +0000 (15:06 +0000)]
Organising tosca files references to an examples folder

Issue-ID: POLICY-3945
Change-Id: If013bba1288ed9f5778ea796161d42d617909728
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
3 years agoMerge "Accept only Whitelisted Repos from Tosca Template"
Liam Fallon [Wed, 2 Mar 2022 00:05:32 +0000 (00:05 +0000)]
Merge "Accept only Whitelisted Repos from Tosca Template"

3 years agoAccept only Whitelisted Repos from Tosca Template 08/127308/3
Lathish [Thu, 24 Feb 2022 13:26:01 +0000 (13:26 +0000)]
Accept only Whitelisted Repos from Tosca Template

Issue-ID: POLICY-3894
Change-Id: Iaffaf3f1243f6070c600a58891899e9e1e326732
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoChanged Incorrect Name for Tosca Service Template Participant Type 12/127312/1
brunomilitzer [Fri, 25 Feb 2022 15:02:09 +0000 (15:02 +0000)]
Changed Incorrect Name for Tosca Service Template Participant Type

Issue-ID: POLICY-3940
Change-Id: Ia66052c4729d117f542069f0fdad8f74fabfe878
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
3 years agoMerge "Fix Schema name to be in consistent with other components"
Liam Fallon [Thu, 24 Feb 2022 13:13:13 +0000 (13:13 +0000)]
Merge "Fix Schema name to be in consistent with other components"

3 years agoFix Schema name to be in consistent with other components 49/127249/1
Lathish [Wed, 23 Feb 2022 10:38:47 +0000 (10:38 +0000)]
Fix Schema name to be in consistent with other components

Issue-ID: POLICY-3944
Change-Id: Ia20a7de1deb0b2282e1dd31c3e7d67da741d438d
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoFix helm exception when there are no repo's configured 19/127219/5
Lathish [Wed, 16 Feb 2022 10:45:25 +0000 (16:15 +0530)]
Fix helm exception when there are no repo's configured

Issue-ID: POLICY-3874
Change-Id: I6734654049abeeb391b58df566992ab102a2894c
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoRename TOSCA Control Loop to ACM 57/127057/8
liamfallon [Tue, 25 Jan 2022 19:55:43 +0000 (19:55 +0000)]
Rename TOSCA Control Loop to ACM

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>
3 years agoMerge "Add Hibernate support in runtime-controlloop"
Ajith Sreekumar [Thu, 17 Feb 2022 15:51:55 +0000 (15:51 +0000)]
Merge "Add Hibernate support in runtime-controlloop"

3 years agoMerge "Remove Clamp GUI from Clamp Repo"
Liam Fallon [Thu, 17 Feb 2022 09:02:50 +0000 (09:02 +0000)]
Merge "Remove Clamp GUI from Clamp Repo"

3 years agoAdd Hibernate support in runtime-controlloop 16/127016/2
FrancescoFioraEst [Fri, 3 Dec 2021 13:43:41 +0000 (13:43 +0000)]
Add Hibernate support in runtime-controlloop

Issue-ID: POLICY-3841
Change-Id: Ie958a4a4ab35c8bc4d6829128e39a2458d67a7a5
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoMerge "Disable the helm endpoints by default in clamp"
Liam Fallon [Wed, 16 Feb 2022 11:27:40 +0000 (11:27 +0000)]
Merge "Disable the helm endpoints by default in clamp"

3 years agoDisable the helm endpoints by default in clamp 31/127131/4
Lathish [Tue, 15 Feb 2022 12:31:45 +0000 (18:01 +0530)]
Disable the helm endpoints by default in clamp

Issue-ID: POLICY-3894
Change-Id: I81548c77fe0f9030c3bc7e8a72e113b234ff9010
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoFix Policy Participant to create and deploy the policies in Passive state 06/127106/2
Lathish [Mon, 14 Feb 2022 13:48:37 +0000 (19:18 +0530)]
Fix Policy Participant to create and deploy the policies in Passive state

Issue-ID: POLICY-3874
Change-Id: If8a8a85dcb61389114a14c207c29ca55ba73161f
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoRemove Clamp GUI from Clamp Repo 79/127079/2
FrancescoFioraEst [Mon, 7 Feb 2022 17:03:19 +0000 (17:03 +0000)]
Remove Clamp GUI from Clamp Repo

Remove Clamp GUI code from CLAMP repo,
as this is moved to a common policy GUI repo

Issue-ID: POLICY-3358
Change-Id: Idcdc60086c448e1de0b00626337b51b599a8d08d
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoFix K8s State change from Uninitialized to Passive only when pod deployment is succe... 42/126942/2
Lathish [Wed, 2 Feb 2022 15:01:32 +0000 (20:31 +0530)]
Fix K8s State change from Uninitialized to  Passive only when pod deployment is successful

Issue-ID: POLICY-3874
Change-Id: Ib2ca3a5df8b15a0fa544fea8d0cbe794292d3d09
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoFix K8s participant Error when helm repo is not configured 15/126915/2
Lathish [Tue, 1 Feb 2022 09:58:14 +0000 (15:28 +0530)]
Fix K8s participant Error when helm repo is not configured

Issue-ID: POLICY-3874
Change-Id: Ib28e427b6f498c89b8ab5b1f5bf6c88e6c9fc919
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoMerge "Fix for authorization error on clamp be"
Liam Fallon [Fri, 28 Jan 2022 09:08:41 +0000 (09:08 +0000)]
Merge "Fix for authorization error on clamp be"

3 years agoFix for authorization error on clamp be 99/126799/1
saul.gill [Thu, 27 Jan 2022 13:30:01 +0000 (13:30 +0000)]
Fix for authorization error on clamp be

Issue where requests from policy-gui were intermittently rejected
toscaControlLoop path was not registered cadi filter

Issue-ID: CLAMP-1029
Change-Id: I142ecdc255b0b917202e4ec3471199bf7992928d
Signed-off-by: saul.gill <saul.gill@est.tech>
3 years agoFix HTTP Participant Status Change on API Failure 93/126793/2
Lathish [Wed, 26 Jan 2022 12:15:24 +0000 (17:45 +0530)]
Fix HTTP Participant Status Change on API Failure

Issue-ID: POLICY-3874
Change-Id: Id5eb4529942e36ead245d28151ffccd4dcb21486
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoAdded CreateInstanceProperties JUnit Tests 68/126168/1
brunomilitzer [Thu, 9 Dec 2021 15:28:53 +0000 (15:28 +0000)]
Added CreateInstanceProperties JUnit Tests

Issue-Id: POLICY-3564
Change-Id: Ic7b7f3debc9712419aca213f43dd4bf78e3c07c7
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
3 years agoAdd Delete JUnit Tests 06/126106/4
brunomilitzer [Mon, 6 Dec 2021 10:53:26 +0000 (10:53 +0000)]
Add Delete JUnit Tests

Added Delete InstanceProperties Tests
Added Change OrderState Tests

Included Issue-Id: POLICY-3570

Issue-Id: POLICY-3567
Change-Id: I7cf72f78bf1a0d0e695a1721c1a8423a02cf61af
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
3 years agoMerge "Add support transaction"
Liam Fallon [Tue, 7 Dec 2021 15:21:40 +0000 (15:21 +0000)]
Merge "Add support transaction"

3 years agoAdd support transaction 41/126041/1
FrancescoFioraEst [Fri, 19 Nov 2021 15:59:54 +0000 (15:59 +0000)]
Add support transaction

Add support transaction in CommissioningProvider
and ControlLoopInstantiationProvider

Issue-ID: POLICY-3802
Change-Id: I8ddba4814547e335b7b27342189a3fc5d9dc4582
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoUpdate snapshot and/or references of policy/clamp to latest snapshots 37/126037/1
liamfallon [Thu, 2 Dec 2021 15:54:17 +0000 (15:54 +0000)]
Update snapshot and/or references of policy/clamp to latest snapshots

*** This commit is generated by a PF release script ***

policy/clamp updated to its latest own and reference snapshots

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I69be2767649041ba01a78b6c9fdae2ed6ad145eb

3 years agoMerge "Add support transaction in CL and ServiceTemplate Providers"
Liam Fallon [Thu, 2 Dec 2021 14:50:10 +0000 (14:50 +0000)]
Merge "Add support transaction in CL and ServiceTemplate Providers"

3 years agoUpdate snapshot of policy/clamp to 6.2.1-SNAPSHOT 58/125958/1
liamfallon [Mon, 29 Nov 2021 11:33:53 +0000 (11:33 +0000)]
Update snapshot of policy/clamp to 6.2.1-SNAPSHOT

*** 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

3 years agoRelease docker images for policy/clamp: 6.2.0 41/125941/1
liamfallon [Fri, 26 Nov 2021 12:08:02 +0000 (12:08 +0000)]
Release docker images for policy/clamp: 6.2.0

*** This commit is generated by a PF release script ***

This commit releases the docker images for repo policy/clamp.

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ia70bed5ec48b5618f2d7876ba46339da58ea961c

3 years agoRelease policy/clamp: 6.2.0 32/125932/1
liamfallon [Fri, 26 Nov 2021 10:42:13 +0000 (10:42 +0000)]
Release policy/clamp: 6.2.0

*** Release Phase 8: This commit is generated by a PF release script ***

This is the eigth phase in releasing images, it releases policy/clamp.

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ia585266fee54491c9ada4cf4d40d432395774529

3 years agoMerge "Code Coverage clamp runtime"
Ajith Sreekumar [Fri, 26 Nov 2021 10:05:30 +0000 (10:05 +0000)]
Merge "Code Coverage clamp runtime"

3 years agoUpdate parent and common references 08/125908/2
liamfallon [Thu, 25 Nov 2021 11:41:30 +0000 (11:41 +0000)]
Update parent and common references

*** Release Phase 7: This commit is generated by a PF release script ***

This is the seventh release phase, it updates parent, common and models
references in policy/clamp.

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If9d11a895d57c5421548698bb771519e16b0acf8
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoAdd support transaction in CL and ServiceTemplate Providers 17/125917/1
FrancescoFioraEst [Thu, 11 Nov 2021 14:57:23 +0000 (14:57 +0000)]
Add support transaction in CL and ServiceTemplate Providers

Add support transaction
in ControlLoopProvider and ServiceTemplateProvider

Issue-ID: POLICY-3798
Change-Id: I0ab79f28231e329e06c16e01427775077b3ac994
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoCode Coverage clamp runtime 72/125872/2
lapentafd [Wed, 24 Nov 2021 12:42:31 +0000 (12:42 +0000)]
Code Coverage clamp runtime

Issue-ID: POLICY-3452
Change-Id: I2ef9edd6bbbf5bdf12e9dccfde0d170d01191336
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
3 years agoMerge "Added Camel Unit Tests"
Liam Fallon [Thu, 25 Nov 2021 10:55:10 +0000 (10:55 +0000)]
Merge "Added Camel Unit Tests"

3 years agoMerge "Add support transaction in ParticipantProvider"
Liam Fallon [Thu, 25 Nov 2021 10:54:56 +0000 (10:54 +0000)]
Merge "Add support transaction in ParticipantProvider"

3 years agoMerge "Code coverage clamp"
Liam Fallon [Wed, 24 Nov 2021 09:25:48 +0000 (09:25 +0000)]
Merge "Code coverage clamp"

3 years agoCode coverage clamp 29/125829/1
lapentafd [Mon, 22 Nov 2021 19:40:39 +0000 (19:40 +0000)]
Code coverage clamp

Issue-ID: POLICY-3452
Change-Id: I7ee191e590689e42822614d79a398012c454be42
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
3 years agoAdded Camel Unit Tests 28/125828/1
brunomilitzer [Mon, 22 Nov 2021 17:42:40 +0000 (17:42 +0000)]
Added Camel Unit Tests

Added two camel unit tests related to deleting
tosca instance properties and the other to change
the order state.

Removed name and version paramaters in create instance properties
camel rest endpoint.

Issue-ID: POLICY-3568
Change-Id: I6cec03545263055eb7c6be2798dd5c8fe5a646b6
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
3 years agoMerge "Added Camel Unit Tests"
Liam Fallon [Mon, 22 Nov 2021 09:27:23 +0000 (09:27 +0000)]
Merge "Added Camel Unit Tests"

3 years agoMerge "Align ui-react file in policy-clamp and policy-gui"
Ajith Sreekumar [Fri, 19 Nov 2021 14:03:45 +0000 (14:03 +0000)]
Merge "Align ui-react file in policy-clamp and policy-gui"

3 years agoAdd support transaction in ParticipantProvider 93/125793/1
FrancescoFioraEst [Wed, 10 Nov 2021 14:11:51 +0000 (14:11 +0000)]
Add support transaction in ParticipantProvider

Issue-ID: POLICY-3800
Change-Id: I938c2731a30013b5f8e11a23a86d117300c95bff
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoMerge "Code coverage clamp participant"
Liam Fallon [Thu, 18 Nov 2021 17:37:02 +0000 (17:37 +0000)]
Merge "Code coverage clamp participant"

3 years agoAdded Camel Unit Tests 87/125787/2
brunomilitzer [Thu, 18 Nov 2021 10:26:50 +0000 (10:26 +0000)]
Added Camel Unit Tests

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>
3 years agoCode coverage clamp participant 84/125784/1
lapentafd [Wed, 17 Nov 2021 16:51:16 +0000 (16:51 +0000)]
Code coverage clamp participant

Issue-ID: POLICY-3452
Change-Id: I5de10918f91ff2857cf81cc362c9cbecfcb01ec1
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
3 years agoAlign ui-react file in policy-clamp and policy-gui 81/125781/1
liamfallon [Wed, 17 Nov 2021 15:36:40 +0000 (15:36 +0000)]
Align ui-react file in policy-clamp and policy-gui

When the ui-react code was transferred to policy-gui, the white space
was cleaned up and reformatted. This makes it difficult to track the
real functional changes if any between ui-react in policy-clamp and
policy-gui.

This review brings more white space changes into ui-react in policy-clamp
to make file comparisons easier.

Issue-ID: POLICY-3358
Change-Id: I22bc07f795c725097adba20c3dac176a39a54c91
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoMerge "Code coverage in clamp participant-impl"
Liam Fallon [Wed, 17 Nov 2021 15:15:45 +0000 (15:15 +0000)]
Merge "Code coverage in clamp participant-impl"

3 years agoMerge "Added Camel Unit Tests For Monitoring"
Liam Fallon [Wed, 17 Nov 2021 15:15:23 +0000 (15:15 +0000)]
Merge "Added Camel Unit Tests For Monitoring"

3 years agoCode coverage in clamp participant-impl 75/125775/1
lapentafd [Tue, 16 Nov 2021 12:04:56 +0000 (12:04 +0000)]
Code coverage in clamp participant-impl

Issue-ID: POLICY-3452
Change-Id: Iad815f2c0e239356f5e21e2fedd8e7b9e8f523d2
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
3 years agoAdded Camel Unit Tests For Monitoring 61/125761/2
brunomilitzer [Mon, 15 Nov 2021 14:25:59 +0000 (14:25 +0000)]
Added Camel Unit Tests For Monitoring

Issue-ID: POLICY-3562
Change-Id: I2270d4c24988258c3ac3428cd70eff29a873df17
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
3 years agoAlign ui-react file in policy-clamp and policy-gui 59/125759/2
liamfallon [Mon, 15 Nov 2021 15:22:57 +0000 (15:22 +0000)]
Align ui-react file in policy-clamp and policy-gui

When the ui-react code was transferred to policy-gui, the white space
was cleaned up and reformatted. This makes it difficult to track the
real functional changes if any between ui-react in policy-clamp and
policy-gui.

This review brings more white space changes into ui-react in policy-clamp
to make file comparisons easier.

Issue-ID: POLICY-3358
Change-Id: Ie65d5bb664e6f43fe2f8a4342cf679e34ced18b8
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoMerge "Code Coverage Clamp Intermediary"
Liam Fallon [Mon, 15 Nov 2021 14:23:45 +0000 (14:23 +0000)]
Merge "Code Coverage Clamp Intermediary"

3 years agoMerge "Add health check, metrics and prometheus endpoints for CL participants"
Liam Fallon [Mon, 15 Nov 2021 14:23:30 +0000 (14:23 +0000)]
Merge "Add health check, metrics and prometheus endpoints for CL participants"

3 years agoMerge "Add support transaction in Statistics Providers"
Liam Fallon [Mon, 15 Nov 2021 13:08:36 +0000 (13:08 +0000)]
Merge "Add support transaction in Statistics Providers"

3 years agoMerge "Fixed Third Party Proxy File"
Liam Fallon [Mon, 15 Nov 2021 13:06:18 +0000 (13:06 +0000)]
Merge "Fixed Third Party Proxy File"

3 years agoMerge "Align ui-react file in policy-clamp and policy-gui"
Liam Fallon [Mon, 15 Nov 2021 11:53:18 +0000 (11:53 +0000)]
Merge "Align ui-react file in policy-clamp and policy-gui"

3 years agoFixed Third Party Proxy File 94/125694/3
brunomilitzer [Thu, 11 Nov 2021 14:45:29 +0000 (14:45 +0000)]
Fixed Third Party Proxy File

Fixed third_party_proxy file which needed to wrap
the content inside print with brackets

Updated gitignore to ignore python enviroment files

Issue-ID: POLICY-3818
Change-Id: I608868b55b693375c69b17eb11aa47bfd9908747
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
3 years agoCode Coverage Clamp Intermediary 86/125686/1
lapentafd [Thu, 11 Nov 2021 12:04:23 +0000 (12:04 +0000)]
Code Coverage Clamp Intermediary

Issue-ID: POLICY-3452
Change-Id: I388a1868fcaa95549f0d48ffb6713ab2526e2ed5
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
3 years agoAdd health check, metrics and prometheus endpoints for CL participants 10/125610/5
rameshiyer27 [Fri, 5 Nov 2021 14:24:02 +0000 (14:24 +0000)]
Add health check, metrics and prometheus endpoints for CL participants

Issue-ID: POLICY-3747
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I9cb1ffcc2f9996c5b0e9f67fec9c706e48cfa800

3 years agoAdd support transaction in Statistics Providers 71/125671/2
FrancescoFioraEst [Tue, 2 Nov 2021 16:08:46 +0000 (16:08 +0000)]
Add support transaction in Statistics Providers

Add support transaction
in ClElementStatisticsProvider and ParticipantStatisticsProvider

Issue-ID: POLICY-3801
Change-Id: Iaf9d55a268627f9d548afdf108476441b19e1413
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoFixed https issue in policy-participant 77/125677/1
saul.gill [Wed, 10 Nov 2021 12:57:03 +0000 (12:57 +0000)]
Fixed https issue in policy-participant

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>
3 years agoAlign ui-react file in policy-clamp and policy-gui 66/125666/2
liamfallon [Tue, 9 Nov 2021 15:22:22 +0000 (15:22 +0000)]
Align ui-react file in policy-clamp and policy-gui

When the ui-react code was transferred to policy-gui, the white space
was cleaned up and reformatted. This makes it difficult to track the
real functional changes if any between ui-react in policy-clamp and
policy-gui.

This review brings the white space changes into ui-react in policy-clamp
to make file comparisons easier.

Issue-ID: POLICY-3358
Change-Id: Ic303e71b341e5c0f7ca0de0ed4c4962ebf2f988a
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoMerge "Code Coverage clamp common"
Liam Fallon [Wed, 10 Nov 2021 08:09:33 +0000 (08:09 +0000)]
Merge "Code Coverage clamp common"

3 years agoMerge "Add Spring Jpa configuration"
Liam Fallon [Wed, 10 Nov 2021 08:06:20 +0000 (08:06 +0000)]
Merge "Add Spring Jpa configuration"

3 years agoMerge "Change links in Readme on policy/clamp roject"
Liam Fallon [Tue, 9 Nov 2021 15:23:14 +0000 (15:23 +0000)]
Merge "Change links in Readme on policy/clamp roject"

3 years agoChange links in Readme on policy/clamp roject 60/125660/1
liamfallon [Tue, 9 Nov 2021 11:40:27 +0000 (11:40 +0000)]
Change links in Readme on policy/clamp roject

Minor changes to update the links in the policy-clamp readme file.

Issue-ID: POLICY-3380
Change-Id: I36ee3204c8aa7c53c8373ab0a20a0ebac56b0a7c
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoCode Coverage clamp common 59/125659/1
lapentafd [Tue, 9 Nov 2021 10:45:04 +0000 (10:45 +0000)]
Code Coverage clamp common

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>
3 years agoMerge "Removed some elements from testing yaml"
Liam Fallon [Tue, 9 Nov 2021 08:53:31 +0000 (08:53 +0000)]
Merge "Removed some elements from testing yaml"

3 years agoAdd Spring Jpa configuration 64/125464/4
FrancescoFioraEst [Thu, 28 Oct 2021 09:19:09 +0000 (10:19 +0100)]
Add Spring Jpa configuration

Issue-ID: POLICY-3795
Change-Id: Ic0955f412bfcd94094c19aceb4f25be8e695099a
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoMerge "Clamp code coverage"
Liam Fallon [Wed, 3 Nov 2021 14:28:22 +0000 (14:28 +0000)]
Merge "Clamp code coverage"

3 years agoClamp code coverage 20/125520/1
lapentafd [Tue, 2 Nov 2021 09:10:54 +0000 (09:10 +0000)]
Clamp code coverage

Issue-ID: POLICY-3452
Change-Id: I35c10562c5e11698491a5d93adcf417784395534
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
3 years agoRemove code smells in controlloop runtime 22/125522/1
Sirisha_Manchikanti [Tue, 2 Nov 2021 05:35:12 +0000 (05:35 +0000)]
Remove code smells in controlloop runtime

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

3 years agoMerge "Refactor policy-participant policy deployment and undeployment"
Liam Fallon [Fri, 29 Oct 2021 10:52:29 +0000 (10:52 +0000)]
Merge "Refactor policy-participant policy deployment and undeployment"

3 years agoMerge "Add support startPhase in all state transitions"
Ajith Sreekumar [Fri, 29 Oct 2021 09:22:33 +0000 (09:22 +0000)]
Merge "Add support startPhase in all state transitions"

3 years agoMerge "Move code to common, avoid duplication"
Liam Fallon [Fri, 29 Oct 2021 08:55:32 +0000 (08:55 +0000)]
Merge "Move code to common, avoid duplication"

3 years agoMerge "Fix duplciates reported by sonar cloud"
Liam Fallon [Fri, 29 Oct 2021 08:55:11 +0000 (08:55 +0000)]
Merge "Fix duplciates reported by sonar cloud"

3 years agoMerge "Code Coverage in clamp participant intermediary"
Liam Fallon [Wed, 27 Oct 2021 14:33:39 +0000 (14:33 +0000)]
Merge "Code Coverage in clamp participant intermediary"

3 years agoFix duplciates reported by sonar cloud 92/125392/2
Sirisha_Manchikanti [Wed, 27 Oct 2021 07:33:41 +0000 (08:33 +0100)]
Fix duplciates reported by sonar cloud

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

3 years agoMove code to common, avoid duplication 93/125393/2
Sirisha_Manchikanti [Wed, 27 Oct 2021 07:24:48 +0000 (08:24 +0100)]
Move code to common, avoid duplication

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

3 years agoRefactor policy-participant policy deployment and undeployment 98/125398/1
waynedunican [Wed, 27 Oct 2021 07:52:32 +0000 (08:52 +0100)]
Refactor policy-participant policy deployment and undeployment

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>
3 years agoCode Coverage in clamp participant intermediary 74/125374/1
lapentafd [Fri, 22 Oct 2021 11:30:32 +0000 (12:30 +0100)]
Code Coverage in clamp participant intermediary

Issue-ID: POLICY-3452
Change-Id: If4fe15d4e74a7f04b77fb1d6dc70f1b7cd32baa6
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
3 years agoPoint to snapshot dependency 48/125348/1
Ram Krishna Verma [Mon, 25 Oct 2021 22:25:05 +0000 (18:25 -0400)]
Point to snapshot dependency

Issue-ID: POLICY-3788
Change-Id: Ibf3659ffb5a6b0564fea120ffa79377cd1ec3c74
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoAdd support startPhase in all state transitions 64/125364/1
FrancescoFioraEst [Fri, 22 Oct 2021 12:52:24 +0000 (13:52 +0100)]
Add support startPhase in all state transitions

Issue-ID: POLICY-3785
Change-Id: I1b5821cc42cdbb63e3172596431dc561ced09c55
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoMerge "Refactor GlobalControllerExceptionHandler"
Liam Fallon [Wed, 20 Oct 2021 08:13:39 +0000 (08:13 +0000)]
Merge "Refactor GlobalControllerExceptionHandler"

3 years agoMerge "Policy Clamp Code Coverage"
Liam Fallon [Wed, 20 Oct 2021 07:16:18 +0000 (07:16 +0000)]
Merge "Policy Clamp Code Coverage"

3 years agoRefactor GlobalControllerExceptionHandler 88/125088/3
FrancescoFioraEst [Mon, 18 Oct 2021 16:12:39 +0000 (17:12 +0100)]
Refactor GlobalControllerExceptionHandler

Issue-ID: POLICY-3530
Change-Id: Ib33daf8491c1bf96460b424e8b0da228d65e571a
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoPolicy Clamp Code Coverage 86/125086/2
lapentafd [Mon, 11 Oct 2021 11:50:24 +0000 (12:50 +0100)]
Policy Clamp Code Coverage

Participant Handler Test Cases

Issue-ID: POLICY-3452
Change-Id: I8325206fdfbfbc199f593f7e058e28fa0ef2a649
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
3 years agoBump policy/clamp to Jakarta 6.2.0-SNAPSHOT 83/124983/1
liamfallon [Thu, 14 Oct 2021 11:40:54 +0000 (12:40 +0100)]
Bump policy/clamp to Jakarta 6.2.0-SNAPSHOT

Issue-ID: POLICY-3696
Change-Id: I4dfc0532e30106478c89182f7c2cd573c168a634
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoBump policy/clamp to 6.1.4-SNAPSHOT 62/124962/1
liamfallon [Thu, 14 Oct 2021 10:13:08 +0000 (11:13 +0100)]
Bump policy/clamp to 6.1.4-SNAPSHOT

Issue-ID: POLICY-3696
Change-Id: Icef72d76b53fa09c0f88d71431ae5a13d441c787
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoRelease policy/clamp 6.1.3 docker images 47/124947/1
liamfallon [Thu, 14 Oct 2021 09:03:55 +0000 (10:03 +0100)]
Release policy/clamp 6.1.3 docker images

Issue-ID: POLICY-3696
Change-Id: I8cc84f9dcbc8eed1eb7187e1f574be278775b0cd
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoRelease policy/clamp 6.1.3 22/124922/1
liamfallon [Wed, 13 Oct 2021 23:24:27 +0000 (00:24 +0100)]
Release policy/clamp 6.1.3

Issue-ID: POLICY-3696
Change-Id: I50d756a083ddda8a3f0d1920aef4f331ded83702
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoMerge "Add testsuites of tosca controlloop"
Liam Fallon [Wed, 13 Oct 2021 18:36:21 +0000 (18:36 +0000)]
Merge "Add testsuites of tosca controlloop"

3 years agoMerge "Update parent/common/models/docker references"
Liam Fallon [Wed, 13 Oct 2021 18:10:42 +0000 (18:10 +0000)]
Merge "Update parent/common/models/docker references"

3 years agoUpdate parent/common/models/docker references 03/124903/1
liamfallon [Wed, 13 Oct 2021 14:31:05 +0000 (15:31 +0100)]
Update parent/common/models/docker references

Issue-ID: POLICY-3696
Change-Id: If01447c94e5f86144cbf3e244f2c1f977e931a32
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoAdd testsuites of tosca controlloop 83/124883/1
Sirisha_Manchikanti [Tue, 5 Oct 2021 15:37:04 +0000 (16:37 +0100)]
Add testsuites of tosca controlloop

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

3 years agoCommit to Test the CLAMP verify/merge Jenkins job 72/124872/2
liamfallon [Wed, 13 Oct 2021 08:19:38 +0000 (09:19 +0100)]
Commit to Test the CLAMP verify/merge Jenkins job

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>
3 years agoRemoved some elements from testing yaml 14/125614/1
saul.gill [Mon, 11 Oct 2021 15:00:49 +0000 (16:00 +0100)]
Removed some elements from testing yaml

Some elements that were being used to test
inherited common/instance properties were removed
Added a policy to the yaml

Issue-ID: POLICY-3673
Change-Id: I5742a4402bf88bb8af34ffef958d3debad4aa5a2
Signed-off-by: saul.gill <saul.gill@est.tech>
3 years agoRemove docs directory from policy/clamp 35/124835/1
liamfallon [Tue, 12 Oct 2021 09:06:23 +0000 (10:06 +0100)]
Remove docs directory from policy/clamp

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>
3 years agoFix delete action in design state 78/124778/3
sebdet [Mon, 11 Oct 2021 08:52:23 +0000 (10:52 +0200)]
Fix delete action in design state

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

3 years agoFix delete instance in Design state 59/124759/1
sebdet [Fri, 8 Oct 2021 11:52:10 +0000 (13:52 +0200)]
Fix delete instance in Design state

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

3 years agoFixed Service Template Parsing 35/124635/3
brunomilitzer [Thu, 30 Sep 2021 16:36:44 +0000 (17:36 +0100)]
Fixed Service Template Parsing

Issue-Id: POLICY-3691
Change-Id: Ie04711cd01e4140b0842e8d0d4ffbbe8e1b83361
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>