aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-09-27Merge "Improve code coverage on policy-participant module in clamp"Liam Fallon5-10/+354
2022-09-27Improve code coverage on policy-participant module in clamprameshiyer275-10/+354
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
2022-09-26Refactor Mock Server in httpParticipant Unit TestsFrancescoFioraEst3-47/+154
Replace MockServerRest, that failing and causing all tests ignored. Issue-ID: POLICY-4366 Change-Id: Icc86cf26f4cd329b0d24b3dd05b85143e6621517 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-09-23Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon23-26/+26
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
2022-09-23Release docker images for policy/clamp: 6.3.0liamfallon1-0/+18
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>
2022-09-23Release policy/clamp: 6.3.0liamfallon1-0/+5
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
2022-09-22update references in policy/clamp pomliamfallon6-8/+8
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
2022-09-20Fix PodStatus Validator failing in K8sParticipantFrancescoFioraEst6-38/+276
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>
2022-09-12Fix log of Element container is not visible at Standard OutputFrancescoFioraEst7-11/+20
Issue-ID: POLICY-4351 Change-Id: I5f06c7158654fc14c2549772f8416eb1fc5bb07b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-09-09Remove inactive committers from INFO.yamlliamfallon1-12/+11
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
2022-09-06Add helm chart for test ACM element microservicerameshiyer278-0/+324
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
2022-09-02Merge "Refactor Element ACM for prometheus configuration"Liam Fallon8-21/+227
2022-09-02Allow setting external dockerfiles for clampdanielhanrahan3-12/+30
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
2022-09-01Refactor Element ACM for prometheus configurationFrancescoFioraEst8-21/+227
Issue-ID: POLICY-4337 Change-Id: Ic8e43748bc8ffc9a9513f7f278afae9f3f393bc9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-09-01Fix Clamp build fails in policy participant moduleFrancescoFioraEst1-6/+10
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>
2022-08-31Add Prometheus metric messages for ACM runtimeFrancescoFioraEst8-9/+49
Issue-ID: POLICY-4336 Change-Id: I8f89f795625d8802ee6f3836c6fc4b66f0db75db Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-08-29Merge "Add new topic for publishing events in Acm Element Impl"Liam Fallon9-22/+67
2022-08-26Add Prometheus counters for AC elementFrancescoFioraEst6-14/+44
Issue-ID: POLICY-4327 Change-Id: I8d17da711c8ba980e7f42ac611ee9bb858dccea9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-08-26Add new topic for publishing events in Acm Element Implrameshiyer279-22/+67
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
2022-08-25Merge "Create Unit Tests for Message Handler and Activator"Ramesh Murugan Iyer5-0/+356
2022-08-24Create Unit Tests for Message Handler and ActivatorFrancescoFioraEst5-0/+356
Issue-ID: POLICY-4325 Change-Id: I1f91dec71974bd1169e3310d59057a6b96061db9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-08-19Add REST Endpoints for ACM test microservicerameshiyer279-16/+510
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
2022-08-09Create Message Handler and Activator for the test microserviceFrancescoFioraEst13-6/+855
Issue-ID: POLICY-4319 Change-Id: If096467ad717fdeaf70e6a9079c531a201e6cec7 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-08-05Merge "Create Dockerfile for the test microservice"Ramesh Murugan Iyer6-1/+246
2022-08-04Merge "Create concepts models for the test microservice"Ramesh Murugan Iyer4-0/+145
2022-08-02Create Dockerfile for the test microserviceFrancescoFioraEst6-1/+246
Issue-ID: POLICY-4318 Change-Id: Ic7099e9a7fd5839630a6dc5cc4fa2ea2300c9c58 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-07-29Create concepts models for the test microserviceFrancescoFioraEst4-0/+145
Issue-ID: POLICY-4315 Change-Id: I55b5b4e909aa58b7c39fa96e88eca16bad73761d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-07-29Merge "Add module for AC Element implementation"Ramesh Murugan Iyer28-1756/+121
2022-07-29Merge "Update docker base image to snapshot"Liam Fallon4-4/+4
2022-07-29Update docker base image to snapshotliamfallon4-4/+4
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
2022-07-29Remove path from docker image namesliamfallon1-2/+2
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>
2022-07-29Add module for AC Element implementationrameshiyer2728-1756/+121
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
2022-07-18Merge "Remove usage of jackson libraries from clamp runtime acm"Liam Fallon9-270/+32
2022-07-14Remove usage of jackson libraries from clamp runtime acmFrancescoFioraEst9-270/+32
Issue-ID: POLICY-4105 Change-Id: I04488a8a246e4c161e9a9eca86634844aba27872 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-07-13Suppress junk output in k8s participant dockerfiledanielhanrahan2-4/+4
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
2022-07-13Reduce size of docker images for CLAMPdanielhanrahan8-119/+90
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
2022-07-11Upgrade OpenSuse version to 15.4 for clampdanielhanrahan5-5/+5
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I62c7823b6d14c6b3098f5bae6c6c141adbdba425
2022-07-05Fix logging directory mismatch between policy dockerfile and OOMrameshiyer278-8/+8
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
2022-07-01Merge "Fix CSIt failure in CLAMP test case"Liam Fallon1-19/+31
2022-06-30Fix CSIt failure in CLAMP test caserameshiyer271-19/+31
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
2022-06-30Merge "OCI image spec labels for clamp backend"Liam Fallon3-5/+46
2022-06-30Merge "OCI image spec labels for ACM and participants"Liam Fallon9-4/+92
2022-06-29use url resource for docker-tag -- clampdanielhanrahan1-18/+4
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
2022-06-28OCI image spec labels for ACM and participantsdanielhanrahan9-4/+92
Issue-ID: POLICY-4259 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0624ddedb71083956d173d35827543ef4d65f58a
2022-06-28OCI image spec labels for clamp backenddanielhanrahan3-5/+46
Issue-ID: POLICY-4259 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic99842c14f26af5c58ff7000c13a1a5d19077869
2022-06-24Fix participant update list event for multiple AC elementsrameshiyer271-3/+3
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
2022-06-23Merge "Fix K8s participant fails to verify the status of the deployed pods"Jorge Hernandez1-2/+2
2022-06-21Update service template for PMSH usecase with ACMrameshiyer275-488/+132
Issue-ID: POLICY-4240 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I169551637a48bcf5f4f7dc42dadbdc13a769f016
2022-06-20Fix K8s participant fails to verify the status of the deployed podsrameshiyer271-2/+2
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
2022-06-15Merge "Enable Java logging on CLAMP ACM images"Jorge Hernandez4-4/+8