FrancescoFioraEst [Wed, 23 Nov 2022 10:04:55 +0000 (10:04 +0000)]
Add model to save ToscaServiceTemplate as Json in ACM
Issue-ID: POLICY-4462
Change-Id: I81a5a8922b0e980143a8da4b6d0572767620fb36
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Tue, 15 Nov 2022 17:03:34 +0000 (17:03 +0000)]
Link the existing CommissioningController with the generated code
Link the existing CommissioningController
endpoint implementation code with the generated code in Acm.
Issue-ID: POLICY-4454
Change-Id: Ie10296b6af8c8bfdbfa7f54714b22ca4804a2eef
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Wed, 16 Nov 2022 15:28:44 +0000 (15:28 +0000)]
Update participans to swagger v3
Participant Kubernetes Rest Controller is enabled only for testing
and ACM Element is an application for testing,
so they not need yaml endpoints definition and Contract testing.
Issue-ID: POLICY-4459
Change-Id: Ibdab1b1fb6522e615eba182e8e3a332dec5b96fc
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Ramesh Murugan Iyer [Tue, 15 Nov 2022 12:37:49 +0000 (12:37 +0000)]
Merge "Remove redundant endpoints in ACM"
Liam Fallon [Mon, 14 Nov 2022 20:12:42 +0000 (20:12 +0000)]
Merge "Modify OpenAPI yaml to fix swagger editor errors"
Ramesh Murugan Iyer [Mon, 14 Nov 2022 16:40:01 +0000 (16:40 +0000)]
Merge "Add AutomationCompositionDefinition model"
FrancescoFioraEst [Mon, 14 Nov 2022 10:49:34 +0000 (10:49 +0000)]
Remove redundant endpoints in ACM
Remove redundant endpoints in ACM
not present in the new generated Api code.
Issue-ID: POLICY-4453
Change-Id: I4b843c2637e934f8a29f71d8031bdfe903ff20dc
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
liamfallon [Fri, 11 Nov 2022 13:43:16 +0000 (13:43 +0000)]
Modify OpenAPI yaml to fix swagger editor errors
Using this approach for schemas fixes the errors in the online Swagger
Editor and the code generation still obeys the import mappings and uses
the Java classes.
Issue-ID: POLICY-4450
Change-Id: Ifc3064f8258c4281c9e6bfde16a812ffccd125c1
Signed-off-by: liamfallon <liam.fallon@est.tech>
FrancescoFioraEst [Thu, 10 Nov 2022 12:58:30 +0000 (12:58 +0000)]
Add AutomationCompositionDefinition model
Add AutomationCompositionDefinition model
for Commissioned Automation Composition endpoints.
Issue-ID: POLICY-4452
Change-Id: I73fc5b06cb75ed578a40ea618f1f5a0eec616b08
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Thu, 10 Nov 2022 11:52:31 +0000 (11:52 +0000)]
Align Code Generation to Commissioned Automation Composition endpoints
Issue-ID: POLICY-4450
Change-Id: Ic1bbc83611c2fb743f71d1d7ddb735756a37a6e6
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Thu, 10 Nov 2022 13:02:56 +0000 (13:02 +0000)]
Merge "Remove clamp-backend url forwarding support"
liamfallon [Wed, 9 Nov 2022 18:10:03 +0000 (18:10 +0000)]
Remove clamp-backend url forwarding support
The functionality to forward the requests from the UI to the other
microservices has been moved to the gui-server microservice.
Issue-ID: POLICY-4138
Change-Id: I3120e54894ab51194b20098c4c4d63679c15b06f
Signed-off-by: liamfallon <liam.fallon@est.tech>
lapentafd [Wed, 9 Nov 2022 11:05:52 +0000 (11:05 +0000)]
Fix typo in ACM swagger
Added code error 406 for POST, and fix typo
Issue-ID: POLICY-4430
Change-Id: I8328830d87cdc98a8b6caa222c062a90583d2912
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
lapentafd [Wed, 26 Oct 2022 15:43:00 +0000 (16:43 +0100)]
Add Maven Build for Code Generation
Issue-ID: POLICY-4159
Change-Id: I51b1dd182c878a44e1b3f8c205221ae434459f5a
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Liam Fallon [Tue, 8 Nov 2022 09:15:47 +0000 (09:15 +0000)]
Merge "Add ACM OpenApi Specifications"
lapentafd [Wed, 2 Nov 2022 10:08:16 +0000 (10:08 +0000)]
Add ACM OpenApi Specifications
Commissioning and Instantiation endpoints
Issue-ID: POLICY-4430
Change-Id: I69d8525615c165dc450da7d5bfcc4953e2d7b3bc
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
FrancescoFioraEst [Mon, 29 Aug 2022 09:15:45 +0000 (10:15 +0100)]
Add Prometheus metric messages for ACM participants
Issue-ID: POLICY-4433
Change-Id: I625c9ee26bb2451e0dcfbb4bbf7288dcc0effb50
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Fri, 28 Oct 2022 09:10:33 +0000 (10:10 +0100)]
Remove old implementation of statistics in ACM models
The old implementation of statistics in ACM
can be removed due the Prometheus metrics support.
Issue-ID: POLICY-4422
Change-Id: Ia2681b9a3ca59d532cd5c0d1ce4edd3e8f9f98e3
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Sun, 30 Oct 2022 20:31:34 +0000 (20:31 +0000)]
Merge "Remove old implementation of statistics in ACM participants"
FrancescoFioraEst [Wed, 26 Oct 2022 15:29:50 +0000 (16:29 +0100)]
Remove old implementation of statistics in ACM participants
The old implementation of statistics in ACM-participants
can be removed due the Prometheus metrics support.
Issue-ID: POLICY-4420
Change-Id: I0785b269614aba51f94e71a3fe931541c1918b0c
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Wed, 26 Oct 2022 13:34:46 +0000 (14:34 +0100)]
Remove old implementation of statistics in ACM-runtime
The old implementation of statistics in ACM-runtime
can be removed due the Prometheus metrics support.
Issue-ID: POLICY-4419
Change-Id: Idecad04b4a5dd32ce2ebc1149eb99e4fdc6f0db1
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
liamfallon [Fri, 21 Oct 2022 16:45:53 +0000 (17:45 +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-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic5dba007602ae27989cc20ef59f512b1e06fa892
liamfallon [Fri, 21 Oct 2022 09:50:41 +0000 (10:50 +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-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I230f8695c7a87f4bbffdcc3102c1922e6354f804
liamfallon [Fri, 21 Oct 2022 09:19:11 +0000 (10:19 +0100)]
Release docker images for policy/clamp: 6.3.1
This commit releases docker images for repo policy/clamp.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I5d882daf43e9983690b7f10f5f056abdf778a75e
liamfallon [Fri, 21 Oct 2022 08:38:17 +0000 (09:38 +0100)]
Release policy/clamp: 6.3.1
This commit releases repo policy/clamp.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I29a2ed13ac8ce3178e9fb049dda42dea4fc51a5c
liamfallon [Fri, 21 Oct 2022 07:06:07 +0000 (08:06 +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-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I1bc7f5544d7d479ed844a74c72a618cfe19e4a42
liamfallon [Fri, 14 Oct 2022 12:07:36 +0000 (13:07 +0100)]
Clean up dependencies in CLAMP POMs
External dependencies should in general be in the root POMs of repos and
internal dependencies only in child POMs. There are exceptions whare a
child modle is dealing with a specific technology. This commit tidies up
the CLAMP POMs.
Issue-ID: POLICY-4289
Change-Id: I0493daf1d737222bd724333ab8baab9226da6121
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 11 Oct 2022 18:21:12 +0000 (19:21 +0100)]
Use spring-boot-starter-actuator managed version
Issue-ID: POLICY-4393
Change-Id: I31399942e603b2f29921c38c7dc1b9ab18be0d09
Signed-off-by: liamfallon <liam.fallon@est.tech>
rameshiyer27 [Mon, 10 Oct 2022 14:12:40 +0000 (15:12 +0100)]
Make the ACM REST endpoint preamble configurable via spring
ACM REST endpoint preamble "/onap/policy/clamp/acm/" needs to be
configurable by the user via spring boot properties file.
Issue-ID: POLICY-4381
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I1a82b22bb7b06f856d09089204d79dcfccb528a8
FrancescoFioraEst [Wed, 28 Sep 2022 12:24:50 +0000 (13:24 +0100)]
Increase code coverage in runtime-acm
Issue-ID: POLICY-4370
Change-Id: If017da7bfe555dcbc9c7be62628751dbf9707623
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Tue, 27 Sep 2022 22:26:36 +0000 (22:26 +0000)]
Merge "Add Kafka dependency"
Liam Fallon [Tue, 27 Sep 2022 17:34:49 +0000 (17:34 +0000)]
Merge "Increase code coverage in Acm element"
Liam Fallon [Tue, 27 Sep 2022 17:34:41 +0000 (17:34 +0000)]
Merge "Improve code coverage on policy-participant module in clamp"
FrancescoFioraEst [Mon, 26 Sep 2022 15:47:07 +0000 (16:47 +0100)]
Increase code coverage in Acm element
Issue-ID: POLICY-4367
Change-Id: I63e1bede019c102b7f448935f63eb9991e54e128
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
rameshiyer27 [Tue, 27 Sep 2022 06:40:02 +0000 (07:40 +0100)]
Improve code coverage on policy-participant module in clamp
Added junits for handler and policy client classes which improves the
overall module covergae from 38.8% to 92%
Issue-ID: POLICY-4365
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I0a860cff870b77a29a66f04645c64fdd8cf66313
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
FrancescoFioraEst [Mon, 26 Sep 2022 08:42:40 +0000 (09:42 +0100)]
Refactor Mock Server in httpParticipant Unit Tests
Replace MockServerRest, that failing and causing all tests ignored.
Issue-ID: POLICY-4366
Change-Id: Icc86cf26f4cd329b0d24b3dd05b85143e6621517
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
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
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>
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
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
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>
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>
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
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
Liam Fallon [Fri, 2 Sep 2022 17:32:13 +0000 (17:32 +0000)]
Merge "Refactor Element ACM for prometheus configuration"
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
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>
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>
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>
Liam Fallon [Mon, 29 Aug 2022 20:42:38 +0000 (20:42 +0000)]
Merge "Add new topic for publishing events in Acm Element Impl"
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>
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
Ramesh Murugan Iyer [Thu, 25 Aug 2022 16:55:23 +0000 (16:55 +0000)]
Merge "Create Unit Tests for Message Handler and Activator"
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>
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
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>
Ramesh Murugan Iyer [Fri, 5 Aug 2022 08:40:27 +0000 (08:40 +0000)]
Merge "Create Dockerfile 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"
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>
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>
Ramesh Murugan Iyer [Fri, 29 Jul 2022 16:06:19 +0000 (16:06 +0000)]
Merge "Add module for AC Element implementation"
Liam Fallon [Fri, 29 Jul 2022 15:32:35 +0000 (15:32 +0000)]
Merge "Update docker base image to snapshot"
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
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>
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
Liam Fallon [Mon, 18 Jul 2022 13:39:22 +0000 (13:39 +0000)]
Merge "Remove usage of jackson libraries from clamp runtime acm"
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>
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
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
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
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
Liam Fallon [Fri, 1 Jul 2022 09:11:53 +0000 (09:11 +0000)]
Merge "Fix CSIt failure in CLAMP test case"
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
Liam Fallon [Thu, 30 Jun 2022 10:11:14 +0000 (10:11 +0000)]
Merge "OCI image spec labels for clamp backend"
Liam Fallon [Thu, 30 Jun 2022 10:10:24 +0000 (10:10 +0000)]
Merge "OCI image spec labels for ACM and participants"
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
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
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
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
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"
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
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
Jorge Hernandez [Wed, 15 Jun 2022 15:44:52 +0000 (15:44 +0000)]
Merge "Enable Java logging on CLAMP ACM images"
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>
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>
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>
Liam Fallon [Fri, 3 Jun 2022 13:17:11 +0000 (13:17 +0000)]
Merge "Remove old clamp frontend 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"
Liam Fallon [Fri, 3 Jun 2022 13:14:27 +0000 (13:14 +0000)]
Merge "OpenSuse docker file for policy-clamp-backend"
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
Liam Fallon [Thu, 2 Jun 2022 08:07:57 +0000 (08:07 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"
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>
Jorge Hernandez [Wed, 1 Jun 2022 21:25:34 +0000 (21:25 +0000)]
Merge "Fix HTTP handling in CLAMP ACM"
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>
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
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
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>
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>
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