summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy
AgeCommit message (Collapse)AuthorFilesLines
2022-04-22[POLICY] Increase hikari connection pool size for PAP & APIPrakhar Pandey2-0/+4
We saw some bottlenecks during S3P testing of API component due to the default connection pool size of 10. Setting it to 20 based on the number of parallel threads used for performance tests. The change is required because prior to spring boot migration (Istanbul and earlier), the default connection size was 32 so it was never a problem for running load tests. Issue-ID: POLICY-4007 Change-Id: Iaaa573d5fce0298e3aff05a27c2e845840a6cb06 Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca>
2022-04-19[POLICY] Enhance liveness probes and metricsjhh7-10/+75
- added logback prometheus support for xacml and drools. - enabled enhanced healthchecks. - enabled enhanced liveness probes for drools pdp to detect stuck PDP application and restart it. - add prometheus servicemonitor for drools. - set latest docker image versions for drools-applications and xacml Issue-ID: POLICY-3386 Issue-ID: POLICY-4089 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0ffd9bf93452f8a7a63deb33f2103f9b80476d07 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-04-13[POLICY] Rename from TOSCA Control Loop to ACMFrancescoFioraEst37-116/+304
Update CLAMP OOM Configuration for rename from TOSCA Control Loop to ACM Issue-ID: POLICY-3942 Change-Id: I2044dfb68f22dc27d701c7bea1e2a2eab69cb28d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-03-31[POLICY] Enable cluster role for k8s-ppntrameshiyer271-2/+26
Cluster role is required for the k8s-ppnt to perform helm deployments on the cluster Issue-ID: POLICY-3748 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ib916803d22f6ecf0ed16e8c75fe52b4e567069ca
2022-03-29[POLICY] Update CLAMP OOM Configuration for Remove Clamp frontendFrancescoFioraEst12-509/+0
Remove clamp-frontend code, as this is moved to policy-gui Issue-ID: POLICY-3358 Change-Id: Id6402815ead572e8cec9f1743709d6de6f28b79c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-03-22[POLICY] OOM Jakarta changes for PAP,API & PDPsa.sreekumar15-199/+263
This review contains the below changes: 1) PAP config changes for spring boot migration 2) savePdpStatistics flag is disabled by default 3) DMaaP connectivity added to PAP consolidated healthcheck 4) Improve PAP & API readiness probe from TCP to HTTP GET based healthcheck api 5) API config changes for springboot migration 6) Update the docker image versions for Jakarta. Change-Id: I8dfc821b1245cd4ef6bdedad7802deb4ac3297e3 Issue-ID: POLICY-3750 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-03-22Merge "[POLICY] Enable prometheus integration for policy fwk"Sylvain Desbureaux10-0/+230
2022-03-21[POLICY] Enable prometheus integration for policy fwkRashmi Pujar10-0/+230
1. Define serviceMonitor for policy components 2. Changes to common serviceMonitor tpl file to include tls params in authentication config, and to provide ability to overrride labels. Issue-ID: POLICY-3779 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I79441958698271d9118efb78cfd121433e201ebd
2022-03-18[POLICY] Accept Permit list repositoriesLathish1-2/+10
- K8s participant to accept only permitted and secured repositories Issue-ID: POLICY-3894 Change-Id: If602ecc35384d66990a81fd470d24d76e95725fd Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-25Merge "[POLICY] Disable helm endpoints by default in k8s participant"Sylvain Desbureaux1-1/+18
2022-02-23[POLICY] Disable helm endpoints by default in k8s participantLathish1-1/+18
- Disable all helm operations through REST endpoints. - Add the context path Issue-ID: POLICY-3894 Change-Id: Ib4b375ab8d52e06a112a005b60832545a95d62e7 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-07[POLICY] Fix SSL Failure in Clamp BackendLathish1-1/+1
- Call the HTTPS of ControlLoop Runtime Issue-ID: POLICY-3874 Change-Id: I4ec6ef19e779096393cfb5812832f924dde63596 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-01-12Merge "[POLICY] Update docker images to latest versions"Sylvain Desbureaux14-14/+25
2022-01-12Merge "[POLICY] Dbmigrator image definition corrected"Sylvain Desbureaux1-1/+1
2022-01-11[POLICY] Update docker images to latest versionsliamfallon14-14/+25
The image versions in policy values.yaml files have been updated and the CLAMP runtime configuration has been updated to use Spring style configuration *** This commit is generated by a PF release script *** Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I220773eb7728d8f5cff36faad388970e1732f12c Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-10[POLICY] Dbmigrator image definition correctedAndreas Geissler1-1/+1
image definition in job.yaml must use repositoryGenerator Issue-ID: OOM-2906 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I5b708d9e1509b333cb494aa4417e7f1715da4ec8
2022-01-10[POLICY] Fix missing PF dependecniesefiacor1-0/+8
Missed PF dependencies after apiV2 migration Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I15af70176f304a1642898edcc776a0386b521203 Issue-ID: OOM-2912
2022-01-05[MARIADB] Downgrade mariadb versionSylvain Desbureaux1-1/+1
Use version 10.6.5-debian-10-r28 instead of 10.6.5. Also align clamp and so to use the same version as the other ones Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ie1db09b03daa1bb7792ee0ff6a73bd3483213e75
2021-12-14[POLICY] Change API and PAP usernamesadheli.tavares8-13/+13
- change references of healthcheck to policyadmin regarding API and PAP auth - add robot variables to accommodate the referred changes. Issue-ID: POLICY-3815 Change-Id: I318b7f44d9e7f554d98d845abd80cc6512831b78 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-12-07[GLOBAL] Migrate to helm v3efiacor32-548/+298
Move all Chart.yaml to use apiVersion: 2 Move dependencies from requirements.yaml to Chart.yaml Changes to all makeFiles Changes to helm deploy plugin Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I03c5290eee9e40f76eacbf171e774204cf5fb1c0 Issue-ID: OOM-2845
2021-11-10[POLICY] Fix https connection in policy-ppntsaul.gill1-2/+2
Changed https to useHttps in configured connections to api and pap Issue-ID: POLICY-3817 Change-Id: Id96899d39e1f8233bf7f32f54ef4253fe6dbb58a Signed-off-by: saul.gill <saul.gill@est.tech>
2021-10-31[POLICY] Add helm chart for http participantrameshiyer2710-0/+450
Added helm chart for http participant in CLAMP Issue-ID: POLICY-3593 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I7cd529b891b0bc1d97b4ffa993492d1e8414ee00
2021-10-31Merge "[POLICY] Add helm chart for policy participant"Sylvain Desbureaux12-6/+534
2021-10-30[POLICY] Add helm chart for policy participantrameshiyer2712-6/+534
Added policy participant helm chart in CLAMP Issue-ID: POLICY-3593 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I8c4f14a8448a0850a0da303a929dd86b43c8370d
2021-10-27[POLICY] Update core images/config for RC istanbulliamfallon12-12/+12
Updated images for all components. Issue-ID: POLICY-3696 Change-Id: Idf598cc4d59c7a67327fe470121b004c890343cc Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-22[POLICY] Altered helm chart for policy-clamp-besaul.gill4-232/+267
Added runtime-controlloop url and creds to application.properties Added new image to values Fixed SpringBoot issue where config could not be found Issue-ID: POLICY-3593 Change-Id: Ie54b4b10b3df428f6d6f72f2f53d6384f24c00cc Signed-off-by: saul.gill <saul.gill@est.tech>
2021-10-21Merge "[COMMON] Fix trailing blanks found by pre-commit"Sylvain Desbureaux2-2/+1
2021-10-20[COMMON] Fix trailing blanks found by pre-commitguillaume.lambert2-2/+1
pre-commit is now enforced by the CI chain. Meanwhile, trailing blanks were introduced in the code base and must be fixed so that gate pass. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I54daa27a1fdf019a6777e9b90274d0ef4f1ba08e
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux26-73/+99
Use version 9.0.0 for Istanbul Also update the doc. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I03e11799bf487226784c98b04116f005c89d1e70
2021-10-10[POLICY] Add helm chart for cl-runtime componentsaul.gill12-1/+624
Added controlloop-runtime chart Issue-ID: POLICY-3593 Change-Id: I4b948f7c12637b0c339eb966e2f93a3b864bcf44 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-10-04[POLICY] Add helm chart for policy-guiktimoney13-0/+573
Added helm chart for policy gui Issue-ID: POLICY-3593 Change-Id: I8e0e1b7a31258bb860b304a1635f785517b443ae Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-10-04Merge "[POLICY] Add helm chart for k8s participant"Sylvain Desbureaux11-0/+546
2021-09-29[POLICY] Add helm chart for k8s participantrameshiyer2711-0/+546
Added helm chart for k8s participant in CLAMP Issue-ID: POLICY-3593 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I766d500866c2ab1608d3f68a2af7d6d82d41dc59
2021-09-22[POLICY] Updated policy-clamp-fe imagesaul.gill1-1/+1
Updated policy-clamp-fe image for Istanbul helm chart Issue-ID: POLICY-3593 Change-Id: I1b8c9e8c2dd8e152e8eb369b95a663a72d49108d Signed-off-by: saul.gill <saul.gill@est.tech>
2021-09-17[POLICY] Update core images/config for m4 istanbuljhh20-102/+168
New images and configuration for api, pap, distribution, pdpd, pdpx, pdpa and db components. Issue-ID: POLICY-3199 Issue-ID: POLICY-3456 Issue-ID: POLICY-3593 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4572a3aeb8481d8d2ea671f67e105a05fc6ce1b8 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Signed-off-by: Jim Hahn <jrh3@att.com> Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Signed-off-by: Jim Hahn <jrh3@att.com> Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-07-20[POLICY] Update chart with service accountfarida azmy30-0/+99
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2725 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Co-authored-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I67c689d65ff004c3919256449d0bfaf976514a93
2021-07-19[POLICY] Added imagePullSecrets to common template filesandreas-geissler2-0/+4
Added the missing definition for imagePullSecrets in the job.yaml (policy, clamp-be) to support the registryGenerator Issue-ID: OOM-2793 Signed-off-by: andreas-geissler <andreas-geissler@telekom.de> Change-Id: I482564ad13cbb6736520a887ced344bbb95d1fba
2021-05-11[POLICY] Release Policy-clamp 6.1.1sebdet5-13/+22
Update the version to 6.1.1 + required config changes due to Camel & Spring upgrades & Sonar fixes Issue-ID: POLICY-3224 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I7cf2caff461b88326d3ec90c9eea0fd6711f16e5
2021-05-06[POLICY] Add force to clamp-be db scriptsebdet1-1/+1
Add a force flag so that clamp can be mounted even if the db already exists Issue-ID: POLICY-3161 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I784c354378fbad3281b9adc55ff7aa0bc2ef3510
2021-05-02[POLICY] Simplify cert retrieval scriptSylvain Desbureaux8-28/+4
As retrieving values is now done via a generic script, let's clean a little bit cert retrieval in order to remove unneeded part. Issue-ID: OOM-2688 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ieec9fe0ba23c7d7125086e0882a20a038c25a128
2021-04-13[POLICY] Add date to logging timestampjhh6-10/+16
Policy components log the current time to stdout but not the actual date. This patch adds the date in UTC format Issue-ID: POLICY-3177 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If86cad58115d9124e09a953c0aa807644830ad4b Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-03-25Merge "[DOC][COMMON] Prepare Honolulu release"Krzysztof Opasiak20-48/+48
2021-03-24[POLICY] Update RC0 released versionsjhh8-10/+11
apex image: onap/policy-apex-pdp:2.5.1 api image: onap/policy-api:2.4.1 distribution image: onap/policy-distribution:2.5.1 pdpd-cl image: onap/policy-pdpd-cl:1.8.1 pap image: onap/policy-pap:2.4.1 xacml-pdp image: onap/policy-xacml-pdp:2.4.1 policy-clamp-backend image: onap/policy-clamp-backend:6.0.2 policy-clamp-frontend image: onap/policy-clamp-frontend:6.0.2 Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1381c9f310adb0b310262cd242ed4883388fcbc3 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux20-48/+48
Updating the documentation and bumping version to 8.0.0 Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6f942f1466fed64264c44fb8fc0e1ffc93a98f18
2021-03-09Merge "[POLICY] Update released versions"Sylvain Desbureaux9-17/+18
2021-03-03[COMMON] Get rid of a few bashismsGuillaume Lambert1-1/+1
The built-in command source is a bashism. Profiles script must be dotted and not sourced when possible. Issue-ID: OOM-2688 OOM-2158 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Id7cad0d499129fa3b7ea020e906748243b1b3ace
2021-02-26[POLICY] Update released versionsjhh9-17/+18
Update released versions for M3 Honolulu Issue-ID: POLICY-3032 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If87afd9a00e444265b91372d1f7201415284f6b5 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-02-16Add target-db property for OOM xacmlJim Hahn1-0/+1
The new version of eclipselink does not recognize mariadb by default. Added a property to make it work with xacml-pdp. None of the other policy components need an additional property (as far as I can tell). Issue-ID: POLICY-3005 Change-Id: I050ac85fd23c887009a095b08a9d6ef603b6de36 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-11[POLICY] Migration of clamp to policy areasebdet28-1/+1469
Creation of the clamp subcharts + fusion of the clamp database to policy mariadb Issue-ID: POLICY-2951 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8192f82bc393e3fc8d5884d6ab73912a0466edcd Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-12-17Merge "[COMMON][MARIADB] Upgrade Mariadb DB galera version"Krzysztof Opasiak1-16/+16