aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-06-15Fix CSIT configuration for metricsadheli.tavares1-2/+1
Issue-ID: POLICY-4146 Change-Id: I4e416df1074fd5eaddf1076f8328a5c8fe2654a1 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-06-14Enable Java logging on CLAMP ACM imagesliamfallon4-4/+8
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>
2022-06-09Fix configuration for Prometheus metricsadheli.tavares11-79/+101
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>
2022-06-03Merge "Remove old clamp frontend files"Liam Fallon9-264/+1
2022-06-03Merge "Fix type version in all tosca_service_template yaml files"Liam Fallon12-204/+204
2022-06-03Merge "OpenSuse docker file for policy-clamp-backend"Liam Fallon2-2/+66
2022-06-03OpenSuse docker files for ACM and participantsdanielhanrahan14-10/+268
Issue-ID: POLICY-4191 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iad508532fd1c9ed99cbc906e7ae40e77eabf15e8
2022-06-02Merge "Add Ramesh Murugan Iyer as a committer"Liam Fallon1-0/+8
2022-06-02Fix type version in all tosca_service_template yaml filesFrancescoFioraEst12-204/+204
Issue-ID: POLICY-4225 Change-Id: Ib069dec0acfdd85e45659deffb45398f7eae5e54 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-06-01Merge "Fix HTTP handling in CLAMP ACM"Jorge Hernandez9-42/+20
2022-06-01Add Ramesh Murugan Iyer as a committerliamfallon1-0/+8
Issue-ID: POLICY-4228 Change-Id: I1f173f6d3bb92b8040f2c7999233bb57708c82c2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-01OpenSuse docker file for policy-clamp-backenddanielhanrahan2-2/+66
Issue-ID: POLICY-4191 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ifba7377f64006c434c635c6439345a1cd4ce0729
2022-06-01Remove old clamp frontend filesdanielhanrahan9-265/+2
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