policy/clamp.git
2 years agoAdd Kafka dependency 26/131226/1
Sirisha_Manchikanti [Mon, 26 Sep 2022 14:20:11 +0000 (15:20 +0100)]
Add Kafka dependency

Issue-ID: POLICY-4134
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I7e08251a6331f3b47552f2db8bff9cb1ae74933e

2 years agoUpdate snapshot and/or references of policy/clamp to latest snapshots 40/131140/1
liamfallon [Fri, 23 Sep 2022 09:59:06 +0000 (10:59 +0100)]
Update snapshot and/or references of policy/clamp to latest snapshots

policy/clamp updated to its latest own and reference snapshots

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

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

2 years agoRelease docker images for policy/clamp: 6.3.0 30/131130/2
liamfallon [Fri, 23 Sep 2022 08:44:24 +0000 (09:44 +0100)]
Release docker images for policy/clamp: 6.3.0

This commit releases docker images for repo policy/clamp.

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

Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ia3f21de85c78e62650c9fe27cbb4c149c664e950
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoRelease policy/clamp: 6.3.0 21/131121/1
liamfallon [Fri, 23 Sep 2022 06:50:20 +0000 (07:50 +0100)]
Release policy/clamp: 6.3.0

This commit releases repo policy/clamp.

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

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

2 years agoupdate references in policy/clamp pom 13/131113/1
liamfallon [Thu, 22 Sep 2022 22:22:10 +0000 (23:22 +0100)]
update references in policy/clamp pom

updated references in the policy/clamp pom

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

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

2 years agoFix PodStatus Validator failing in K8sParticipant 58/130958/3
FrancescoFioraEst [Tue, 13 Sep 2022 14:54:10 +0000 (15:54 +0100)]
Fix PodStatus Validator failing in K8sParticipant

Fix PodStatus Validator failing in K8sParticipant using service template
for Test and Verification of ACM State Management.

Issue-ID: POLICY-4355
Change-Id: I63f8ed2c4991422dd43749151387ff54ba7d6071
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoFix log of Element container is not visible at Standard Output 26/130726/4
FrancescoFioraEst [Mon, 5 Sep 2022 12:17:59 +0000 (13:17 +0100)]
Fix log of Element container is not visible at Standard Output

Issue-ID: POLICY-4351
Change-Id: I5f06c7158654fc14c2549772f8416eb1fc5bb07b
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoRemove inactive committers from INFO.yaml 33/130833/1
liamfallon [Fri, 9 Sep 2022 09:23:41 +0000 (10:23 +0100)]
Remove inactive committers from INFO.yaml

Remove inactive committers from INFO.yaml

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

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

2 years agoAdd helm chart for test ACM element microservice 29/130529/4
rameshiyer27 [Tue, 30 Aug 2022 21:29:55 +0000 (22:29 +0100)]
Add helm chart for test ACM element microservice

Adding helm chart for the ac element microservice under the examples
directory for testing ACM workflow. This helm chart can be uploaded
to a local helm repository and deployed using kubernetes participant
in ACM. The input configuration is provided in the Tosca service template
for ACM.

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

2 years agoMerge "Refactor Element ACM for prometheus configuration"
Liam Fallon [Fri, 2 Sep 2022 17:32:13 +0000 (17:32 +0000)]
Merge "Refactor Element ACM for prometheus configuration"

2 years agoAllow setting external dockerfiles for clamp 74/130674/1
danielhanrahan [Fri, 2 Sep 2022 12:07:33 +0000 (13:07 +0100)]
Allow setting external dockerfiles for clamp

Added maven properties to allow overriding each dockerfile during build,
for example:
 mvn clean install -Pdocker \
   -Ddocker.clamp-runtime.dockerFile=/path/to/Dockerfile

Issue-ID: POLICY-4334
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I648b83b53cb65a9b6fc762af715ec1b959792992

2 years agoRefactor Element ACM for prometheus configuration 95/130595/3
FrancescoFioraEst [Wed, 31 Aug 2022 13:12:15 +0000 (14:12 +0100)]
Refactor Element ACM for prometheus configuration

Issue-ID: POLICY-4337
Change-Id: Ic8e43748bc8ffc9a9513f7f278afae9f3f393bc9
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoFix Clamp build fails in policy participant module 25/130625/1
FrancescoFioraEst [Thu, 1 Sep 2022 11:03:39 +0000 (12:03 +0100)]
Fix Clamp build fails in policy participant module

Fix Clamp build fails in policy participant module
while processing policies without topology template.

Issue-ID: POLICY-4339
Change-Id: I94f2f0e0acede233f33668e2b083c58e15181290
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd Prometheus metric messages for ACM runtime 36/130536/1
FrancescoFioraEst [Wed, 31 Aug 2022 09:38:10 +0000 (10:38 +0100)]
Add Prometheus metric messages for ACM runtime

Issue-ID: POLICY-4336
Change-Id: I8f89f795625d8802ee6f3836c6fc4b66f0db75db
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Add new topic for publishing events in Acm Element Impl"
Liam Fallon [Mon, 29 Aug 2022 20:42:38 +0000 (20:42 +0000)]
Merge "Add new topic for publishing events in Acm Element Impl"

2 years agoAdd Prometheus counters for AC element 49/130449/2
FrancescoFioraEst [Wed, 24 Aug 2022 12:30:53 +0000 (13:30 +0100)]
Add Prometheus counters for AC element

Issue-ID: POLICY-4327
Change-Id: I8d17da711c8ba980e7f42ac611ee9bb858dccea9
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd new topic for publishing events in Acm Element Impl 56/130456/2
rameshiyer27 [Fri, 26 Aug 2022 09:56:31 +0000 (10:56 +0100)]
Add new topic for publishing events in Acm Element Impl

Listening and publishing on different topics for better readability of
logs and segregation of events between PDP and AC element.

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

2 years agoMerge "Create Unit Tests for Message Handler and Activator"
Ramesh Murugan Iyer [Thu, 25 Aug 2022 16:55:23 +0000 (16:55 +0000)]
Merge "Create Unit Tests for Message Handler and Activator"

2 years agoCreate Unit Tests for Message Handler and Activator 20/130320/3
FrancescoFioraEst [Wed, 17 Aug 2022 08:52:46 +0000 (09:52 +0100)]
Create Unit Tests for Message Handler and Activator

Issue-ID: POLICY-4325
Change-Id: I1f91dec71974bd1169e3310d59057a6b96061db9
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoAdd REST Endpoints for ACM test microservice 85/130385/2
rameshiyer27 [Fri, 19 Aug 2022 09:08:16 +0000 (10:08 +0100)]
Add REST Endpoints for ACM test microservice

REST APIs for activating, deactivating and fetching the element config.

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

2 years agoCreate Message Handler and Activator for the test microservice 89/130189/4
FrancescoFioraEst [Thu, 4 Aug 2022 09:35:08 +0000 (10:35 +0100)]
Create Message Handler and Activator for the test microservice

Issue-ID: POLICY-4319
Change-Id: If096467ad717fdeaf70e6a9079c531a201e6cec7
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Create Dockerfile for the test microservice"
Ramesh Murugan Iyer [Fri, 5 Aug 2022 08:40:27 +0000 (08:40 +0000)]
Merge "Create Dockerfile for the test microservice"

2 years agoMerge "Create concepts models for the test microservice"
Ramesh Murugan Iyer [Thu, 4 Aug 2022 14:02:45 +0000 (14:02 +0000)]
Merge "Create concepts models for the test microservice"

2 years agoCreate Dockerfile for the test microservice 45/130145/1
FrancescoFioraEst [Tue, 2 Aug 2022 10:53:48 +0000 (11:53 +0100)]
Create Dockerfile for the test microservice

Issue-ID: POLICY-4318
Change-Id: Ic7099e9a7fd5839630a6dc5cc4fa2ea2300c9c58
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoCreate concepts models for the test microservice 76/130076/2
FrancescoFioraEst [Fri, 29 Jul 2022 14:43:16 +0000 (15:43 +0100)]
Create concepts models for the test microservice

Issue-ID: POLICY-4315
Change-Id: I55b5b4e909aa58b7c39fa96e88eca16bad73761d
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Add module for AC Element implementation"
Ramesh Murugan Iyer [Fri, 29 Jul 2022 16:06:19 +0000 (16:06 +0000)]
Merge "Add module for AC Element implementation"

2 years agoMerge "Update docker base image to snapshot"
Liam Fallon [Fri, 29 Jul 2022 15:32:35 +0000 (15:32 +0000)]
Merge "Update docker base image to snapshot"

2 years agoUpdate docker base image to snapshot 72/130072/1
liamfallon [Fri, 29 Jul 2022 14:27:47 +0000 (15:27 +0100)]
Update docker base image to snapshot

Update docker base image to snapshot

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

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

2 years agoRemove path from docker image names 64/130064/2
liamfallon [Fri, 29 Jul 2022 12:07:40 +0000 (13:07 +0100)]
Remove path from docker image names

Having the docker.io path in the image name can cause interference
problems when building the images locally.

Issue-ID: POLICY-4224
Change-Id: I6b606191fb91b64554ddfe471c9fe412a1c86508
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoAdd module for AC Element implementation 54/130054/2
rameshiyer27 [Thu, 28 Jul 2022 10:58:19 +0000 (11:58 +0100)]
Add module for AC Element implementation

Refactored unused participant simulator module to implement AC element
microservice for ACM testing purposes. Empty spring project added.
Business logics will be added as a separate review on top of this structure.

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

2 years agoMerge "Remove usage of jackson libraries from clamp runtime acm"
Liam Fallon [Mon, 18 Jul 2022 13:39:22 +0000 (13:39 +0000)]
Merge "Remove usage of jackson libraries from clamp runtime acm"

2 years agoRemove usage of jackson libraries from clamp runtime acm 46/129946/1
FrancescoFioraEst [Tue, 12 Jul 2022 13:50:18 +0000 (14:50 +0100)]
Remove usage of jackson libraries from clamp runtime acm

Issue-ID: POLICY-4105
Change-Id: I04488a8a246e4c161e9a9eca86634844aba27872
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoSuppress junk output in k8s participant dockerfile 11/129911/1
danielhanrahan [Wed, 13 Jul 2022 14:33:48 +0000 (15:33 +0100)]
Suppress junk output in k8s participant dockerfile

Add 'no-verbose' option to wget to suppress progress meter while
retaining status and error messages.

Issue-ID: POLICY-4286
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I901a4d7aa18b0423097da7d9bf6e759fbc738b8f

2 years agoReduce size of docker images for CLAMP 05/129905/1
danielhanrahan [Mon, 11 Jul 2022 17:14:13 +0000 (18:14 +0100)]
Reduce size of docker images for CLAMP

Avoid creating extra layers when extracting tarball
Remove redundant chown commands
Reduce sizes of Alpine images by 27%
Reduce sizes of OpenSuse images by 20%

Issue-ID: POLICY-4277
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: If772bb944864d404ceba5ff66be7d613128835a1

2 years agoUpgrade OpenSuse version to 15.4 for clamp 70/129870/1
danielhanrahan [Mon, 11 Jul 2022 14:15:40 +0000 (15:15 +0100)]
Upgrade OpenSuse version to 15.4 for clamp

Issue-ID: POLICY-4278
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I62c7823b6d14c6b3098f5bae6c6c141adbdba425

2 years agoFix logging directory mismatch between policy dockerfile and OOM 96/129796/1
rameshiyer27 [Tue, 5 Jul 2022 22:08:44 +0000 (23:08 +0100)]
Fix logging directory mismatch between policy dockerfile and OOM

Error occurs in the rolling of log files in OOM clamp components as the
log directories are mismatchig between the docker file and the oom logback
configuration. Aligning the directories as per the OOM logback config.

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

2 years agoMerge "Fix CSIt failure in CLAMP test case"
Liam Fallon [Fri, 1 Jul 2022 09:11:53 +0000 (09:11 +0000)]
Merge "Fix CSIt failure in CLAMP test case"

2 years agoFix CSIt failure in CLAMP test case 23/129723/2
rameshiyer27 [Thu, 30 Jun 2022 07:54:30 +0000 (08:54 +0100)]
Fix CSIt failure in CLAMP test case

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

2 years agoMerge "OCI image spec labels for clamp backend"
Liam Fallon [Thu, 30 Jun 2022 10:11:14 +0000 (10:11 +0000)]
Merge "OCI image spec labels for clamp backend"

2 years agoMerge "OCI image spec labels for ACM and participants"
Liam Fallon [Thu, 30 Jun 2022 10:10:24 +0000 (10:10 +0000)]
Merge "OCI image spec labels for ACM and participants"

2 years agouse url resource for docker-tag -- clamp 19/129719/1
danielhanrahan [Wed, 29 Jun 2022 10:21:27 +0000 (11:21 +0100)]
use url resource for docker-tag -- clamp

use groovy url resource from docker repo
to identify the tag for docker.

Issue-ID: POLICY-3378
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I4cf830b52fd6ad561271edc966f4f4735756337a

2 years agoOCI image spec labels for ACM and participants 13/129713/1
danielhanrahan [Tue, 28 Jun 2022 15:55:46 +0000 (16:55 +0100)]
OCI image spec labels for ACM and participants

Issue-ID: POLICY-4259
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I0624ddedb71083956d173d35827543ef4d65f58a

2 years agoOCI image spec labels for clamp backend 12/129712/1
danielhanrahan [Tue, 28 Jun 2022 15:04:58 +0000 (16:04 +0100)]
OCI image spec labels for clamp backend

Issue-ID: POLICY-4259
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ic99842c14f26af5c58ff7000c13a1a5d19077869

2 years agoFix participant update list event for multiple AC elements 81/129681/1
rameshiyer27 [Fri, 24 Jun 2022 13:47:25 +0000 (14:47 +0100)]
Fix participant update list event for multiple AC elements

If multiple AC elements are mapped to a single participant, the update
list event from runtime includes only a single element by overriding the
previous entries from the update list. Removed the immutable list that causes the issue.

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

2 years agoMerge "Fix K8s participant fails to verify the status of the deployed pods"
Jorge Hernandez [Thu, 23 Jun 2022 12:58:40 +0000 (12:58 +0000)]
Merge "Fix K8s participant fails to verify the status of the deployed pods"

2 years agoUpdate service template for PMSH usecase with ACM 52/129652/2
rameshiyer27 [Mon, 20 Jun 2022 09:45:28 +0000 (10:45 +0100)]
Update service template for PMSH usecase with ACM

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

2 years agoFix K8s participant fails to verify the status of the deployed pods 51/129651/1
rameshiyer27 [Mon, 20 Jun 2022 07:52:20 +0000 (08:52 +0100)]
Fix K8s participant fails to verify the status of the deployed pods

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

2 years agoMerge "Enable Java logging on CLAMP ACM images"
Jorge Hernandez [Wed, 15 Jun 2022 15:44:52 +0000 (15:44 +0000)]
Merge "Enable Java logging on CLAMP ACM images"

2 years agoFix CSIT configuration for metrics 27/129627/1
adheli.tavares [Wed, 15 Jun 2022 13:27:49 +0000 (14:27 +0100)]
Fix CSIT configuration for metrics

Issue-ID: POLICY-4146
Change-Id: I4e416df1074fd5eaddf1076f8328a5c8fe2654a1
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoEnable Java logging on CLAMP ACM images 17/129617/2
liamfallon [Tue, 14 Jun 2022 10:37:47 +0000 (11:37 +0100)]
Enable Java logging on CLAMP ACM images

The ajva logging config file is not passed to the CLAMP ACM images,
meaning that logging cannot be configured on the images.

Issue-ID: POLICY-4238
Change-Id: If71900b57c09ef3a1d1bc6ddcc39425c9b3d4315
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoFix configuration for Prometheus metrics 83/129583/1
adheli.tavares [Thu, 9 Jun 2022 09:03:13 +0000 (10:03 +0100)]
Fix configuration for Prometheus metrics

JVM related metrics were not being exposed due to spring boot bug
when loading beans configuration.

Issue-ID: POLICY-4146
Change-Id: I334c60b0c0d087c63b28bf44704aa3e909eca646
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoMerge "Remove old clamp frontend files"
Liam Fallon [Fri, 3 Jun 2022 13:17:11 +0000 (13:17 +0000)]
Merge "Remove old clamp frontend files"

2 years agoMerge "Fix type version in all tosca_service_template yaml files"
Liam Fallon [Fri, 3 Jun 2022 13:16:40 +0000 (13:16 +0000)]
Merge "Fix type version in all tosca_service_template yaml files"

2 years agoMerge "OpenSuse docker file for policy-clamp-backend"
Liam Fallon [Fri, 3 Jun 2022 13:14:27 +0000 (13:14 +0000)]
Merge "OpenSuse docker file for policy-clamp-backend"

2 years agoOpenSuse docker files for ACM and participants 95/129495/2
danielhanrahan [Wed, 1 Jun 2022 16:34:54 +0000 (17:34 +0100)]
OpenSuse docker files for ACM and participants

Issue-ID: POLICY-4191
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iad508532fd1c9ed99cbc906e7ae40e77eabf15e8

2 years agoMerge "Add Ramesh Murugan Iyer as a committer"
Liam Fallon [Thu, 2 Jun 2022 08:07:57 +0000 (08:07 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"

2 years agoFix type version in all tosca_service_template yaml files 69/129469/1
FrancescoFioraEst [Wed, 1 Jun 2022 12:03:31 +0000 (13:03 +0100)]
Fix type version in all tosca_service_template yaml files

Issue-ID: POLICY-4225
Change-Id: Ib069dec0acfdd85e45659deffb45398f7eae5e54
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2 years agoMerge "Fix HTTP handling in CLAMP ACM"
Jorge Hernandez [Wed, 1 Jun 2022 21:25:34 +0000 (21:25 +0000)]
Merge "Fix HTTP handling in CLAMP ACM"

2 years agoAdd Ramesh Murugan Iyer as a committer 50/129450/1
liamfallon [Wed, 1 Jun 2022 12:28:38 +0000 (13:28 +0100)]
Add Ramesh Murugan Iyer as a committer

Issue-ID: POLICY-4228
Change-Id: I1f173f6d3bb92b8040f2c7999233bb57708c82c2
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoOpenSuse docker file for policy-clamp-backend 52/129452/1
danielhanrahan [Wed, 1 Jun 2022 12:22:29 +0000 (13:22 +0100)]
OpenSuse docker file for policy-clamp-backend

Issue-ID: POLICY-4191
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ifba7377f64006c434c635c6439345a1cd4ce0729

2 years agoRemove old clamp frontend files 53/129453/1
danielhanrahan [Wed, 1 Jun 2022 11:13:21 +0000 (12:13 +0100)]
Remove old clamp frontend files

Delete unused dockerfile, config files, and certs for old clamp frontend
Update README to remove references to old clamp frontend

Issue-ID: POLICY-3358
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I33fa066c921526cdbb210fc576e2de04cb53dc75

2 years agoFix HTTP handling in CLAMP ACM 31/129431/2
liamfallon [Tue, 31 May 2022 10:22:10 +0000 (11:22 +0100)]
Fix HTTP handling in CLAMP ACM

HTTPS is turned on using a Java property in the startup scripts in all
the CLAMP ACM docker images. This means that HTTP cannot be enabled or
HTTPS disabled in configuration. THis commit fixes that bug.

The building of the CLAMP docker images calls each jar app.jar. If all
images are being built locally together, the names collide and the last
image's jar is used for all jars. This commit fixes that bug as well.

Issue-ID: POLICY-4224
Change-Id: If4ba8cdef36f7a8a3665fe60eee31e42159e909b
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoAdded Edit Instance Properties Functionality 19/129319/3
brunomilitzer [Thu, 5 May 2022 14:20:30 +0000 (15:20 +0100)]
Added Edit Instance Properties Functionality

Issue-ID: POLICY-4094
Change-Id: Id52dba3c0912486fa551697be170c05542a0ee22
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
3 years agoAdd user configurable parameter for permitted helm repo protocols 89/129289/1
rameshiyer27 [Tue, 17 May 2022 11:04:03 +0000 (12:04 +0100)]
Add user configurable parameter for permitted helm repo protocols

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

3 years agoSet snapshot and/or references of policy/clamp for new release 52/129052/1
liamfallon [Tue, 3 May 2022 16:22:19 +0000 (17:22 +0100)]
Set snapshot and/or references of policy/clamp for new release

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>
3 years agoUpdate snapshot and/or references of policy/clamp to latest snapshots 74/128974/1
liamfallon [Thu, 28 Apr 2022 15:00:51 +0000 (16:00 +0100)]
Update snapshot and/or references of policy/clamp to latest snapshots

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

3 years agoRelease docker images for policy/clamp: 6.2.3 65/128965/1
liamfallon [Thu, 28 Apr 2022 14:32:52 +0000 (15:32 +0100)]
Release docker images for policy/clamp: 6.2.3

This commit releases docker images for repo policy/clamp.

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

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

3 years agoRelease policy/clamp: 6.2.3 55/128955/1
liamfallon [Thu, 28 Apr 2022 13:40:56 +0000 (14:40 +0100)]
Release policy/clamp: 6.2.3

This commit releases repo policy/clamp.

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

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

3 years agoupdate references in policy/clamp pom 19/128919/1
liamfallon [Wed, 27 Apr 2022 19:55:39 +0000 (20:55 +0100)]
update references in policy/clamp pom

updated references in the policy/clamp pom

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

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

3 years agoFix Issue when serialization into JSON Schema 96/128896/1
FrancescoFioraEst [Wed, 27 Apr 2022 09:32:51 +0000 (10:32 +0100)]
Fix Issue when serialization into JSON Schema

Issue-ID: POLICY-4104
Change-Id: Iab42134820fc547429a988b43a0bd6edb344c3db
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
3 years agoUse policy/parent for dependency management 80/128780/6
liamfallon [Thu, 21 Apr 2022 17:04:38 +0000 (18:04 +0100)]
Use policy/parent for dependency management

We use policy/parent for dependency management so that we can control
the spring and spring boot versions that are pulled in.

Issue-ID: POLICY-4070
Change-Id: I1f8da1f1eb660c748110ecc25ca445c3c9cb202e
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoReplace jackson library usage with GSON 09/128709/3
Sirisha_Manchikanti [Tue, 12 Apr 2022 16:41:14 +0000 (17:41 +0100)]
Replace jackson library usage with GSON

Issue-ID: POLICY-4085
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I6f8f55d2c49495b6efcdc7f58de03c440f72626d

3 years agoUpdate snapshot and/or references of policy/clamp to latest snapshots 28/128528/1
liamfallon [Tue, 12 Apr 2022 20:35:15 +0000 (21:35 +0100)]
Update snapshot and/or references of policy/clamp to latest snapshots

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

3 years agoRelease docker images for policy/clamp: 6.2.2 23/128523/1
liamfallon [Tue, 12 Apr 2022 20:00:30 +0000 (21:00 +0100)]
Release docker images for policy/clamp: 6.2.2

This commit releases docker images for repo policy/clamp.

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

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

3 years agoRelease policy/clamp: 6.2.2 22/128522/1
liamfallon [Tue, 12 Apr 2022 19:12:08 +0000 (20:12 +0100)]
Release policy/clamp: 6.2.2

This commit releases repo policy/clamp.

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

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

3 years agoFix CLAMP staging example dependency 15/128515/1
liamfallon [Tue, 12 Apr 2022 18:37:14 +0000 (19:37 +0100)]
Fix CLAMP staging example dependency

The internal dependencies in CLAMP did not have the dependency from
models and runtime to examples.

Issue-ID: POLICY-4089
Change-Id: I0ce3176b5a346b1a8efdbc65e4773dd5f212b9fd
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoupdate references in policy/clamp pom 05/128505/1
liamfallon [Tue, 12 Apr 2022 17:41:45 +0000 (18:41 +0100)]
update references in policy/clamp pom

updated references in the policy/clamp pom

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

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

3 years agoRename controlloop to ACM 31/128431/3
Sirisha_Manchikanti [Wed, 6 Apr 2022 08:22:17 +0000 (09:22 +0100)]
Rename controlloop to ACM

Issue-ID: POLICY-3941
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I3a9d66b5f6be55e722bb15326d0af83a1b698a02

3 years agoAdd separate version for Jackson annotations 75/128375/3
liamfallon [Thu, 7 Apr 2022 15:36:12 +0000 (16:36 +0100)]
Add separate version for Jackson annotations

Issue-ID: POLICY-4070
Change-Id: I3737728dfdcbd8b5528ae5c9780756a41be3e369
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoRemove hidden .readthedocs.yaml file 33/128433/1
liamfallon [Mon, 11 Apr 2022 11:55:16 +0000 (12:55 +0100)]
Remove hidden .readthedocs.yaml file

The hidden .readthedocs.yaml file causes the documentation job to try to
build the CLAMP documentation, and the documentation build fails because
there is no docs/ directory in CLAMP any more, documents were moved to
policy/parent

Issue-ID: POLICY-4070
Change-Id: Ied421c27c6faef049d7361dd863758e529acf208
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoRename ControlLoop with AutomationComposition in testsuites 92/128092/2
Sirisha_Manchikanti [Wed, 23 Mar 2022 17:34:32 +0000 (17:34 +0000)]
Rename ControlLoop with AutomationComposition in testsuites

Issue-ID: POLICY-4014
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Ia69099a27e9261bf68ac31626f2ec315e2f35436

3 years agoClean up unit tests 64/127964/1
adheli.tavares [Mon, 21 Mar 2022 12:38:52 +0000 (12:38 +0000)]
Clean up unit tests

- 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>
3 years agoClean up of test resources not used by ACM 05/127905/2
adheli.tavares [Tue, 15 Mar 2022 09:38:05 +0000 (09:38 +0000)]
Clean up of test resources not used by ACM

Issue-ID: POLICY-3945
Change-Id: I9d3b47a47288816f7ff3d60b21237a458b14cf68
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
3 years agoMerge "Remove hyphen from database name"
Liam Fallon [Tue, 22 Mar 2022 09:29:35 +0000 (09:29 +0000)]
Merge "Remove hyphen from database name"

3 years agoAdding the TCA example 08/127908/2
adheli.tavares [Mon, 21 Mar 2022 13:19:32 +0000 (13:19 +0000)]
Adding the TCA example

Issue-ID: POLICY-3946
Change-Id: Ia3e5d951198c4e436cc7506b805155ff1c0c9af1
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
3 years agoRemove hyphen from database name 01/127901/1
Sirisha_Manchikanti [Wed, 16 Mar 2022 08:47:30 +0000 (08:47 +0000)]
Remove hyphen from database name

Issue-ID: POLICY-4039
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Icc7a41b3e65c470490a1648726784b9bc60df0f8

3 years agoClean up unit tests 89/127789/1
adheli.tavares [Thu, 10 Mar 2022 10:49:49 +0000 (10:49 +0000)]
Clean up unit tests

- use the unified functional pmsh test case
- fix some sonar lint issues

Issue-ID: POLICY-3945
Change-Id: Ic49ea9494cde88a8e0d37260d1461b9775ec9ed5
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
3 years agoUpdate snapshot and/or references of policy/clamp to latest snapshots 13/127713/1
liamfallon [Fri, 11 Mar 2022 18:03:17 +0000 (18:03 +0000)]
Update snapshot and/or references of policy/clamp to latest snapshots

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

3 years agoRelease docker images for policy/clamp: 6.2.1 01/127701/1
liamfallon [Fri, 11 Mar 2022 14:07:37 +0000 (14:07 +0000)]
Release docker images for policy/clamp: 6.2.1

This commit releases docker images for repo policy/clamp.

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

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

3 years agoRelease policy/clamp: 6.2.1 92/127692/1
liamfallon [Fri, 11 Mar 2022 12:07:54 +0000 (12:07 +0000)]
Release policy/clamp: 6.2.1

This commit releases repo policy/clamp.

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

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

3 years agoupdate references in policy/clamp pom 41/127641/2
liamfallon [Thu, 10 Mar 2022 09:12:44 +0000 (09:12 +0000)]
update references in policy/clamp pom

updated references in the policy/clamp pom

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

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ie6c69a7aa144d6b37c2627b12ef212ecb6ef23a9
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoClean up of unit tests for ACM definitions 82/127582/2
adheli.tavares [Wed, 9 Mar 2022 10:39:29 +0000 (10:39 +0000)]
Clean up of unit tests for ACM definitions

Issue-ID: POLICY-3945
Change-Id: I080e402899d2b2960b46efa06db68041a73f5d2b
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
3 years agoMerge "Fixed Instance Properties Name"
Liam Fallon [Wed, 9 Mar 2022 11:52:20 +0000 (11:52 +0000)]
Merge "Fixed Instance Properties Name"

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 agoFixed Instance Properties Name 33/127533/1
brunomilitzer [Mon, 7 Mar 2022 15:13:02 +0000 (15:13 +0000)]
Fixed Instance Properties Name

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