summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/drools
AgeCommit message (Collapse)AuthorFilesLines
2020-03-27Merge "policy changes pre-1st policy release in frankfurt"Krzysztof Opasiak4-29/+173
2020-03-26[POLICY] Use common secret template in droolsKrzysztof Opasiak4-3/+17
Use common secret template in drools module instead of putting db credentials in a single secret file to allow usage of external secret mechanism. For now db creds are hardcoded but will be remove in further commits. Issue-ID: OOM-2342 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I377b71d76b0b37e919ea841586bb6d5c22107952
2020-03-26policy changes pre-1st policy release in frankfurtjhh4-29/+173
Miscellenous changes to keep up with all necessary oom modifications to support first set of released deliveries. PS1,PS6: PDP-D offline support. PS2: PDP-D PDP Group support. When PDPs register with PAP, they now have to specify their PDP group. Added the default group to the config file. PS3: PDP-A config file changes to add PDP group and native policy type. PS4, PS6: API add new preloaded policy types. PS5: Set snapshot versions for current release testing. PS[7-9]: https dmaap support for pap,pdp-x,distribution,pdp-a. PS10: PAP healthcheck configuration. PS11: Update LICENSE headers. PS12: Preload onap.policies.controlloop.operational.Common operational type. PS13: PDP-D drools base.conf remove JAVA_HOME PS14: add preloaded operational policies for apex in api component, and JDK 11 for legacy engine components. PS15: apex updated supported policy types, and remove duplicate preloaded policy type from api (operational Common). PS16: added api preloaded policy. PS17: distribution + more api preloaded policies PS18: amsterdam.pre.sh point to pdpd-cl-entrypoint.sh PS19: rebase and remove references to amsterdam in drools (deprecated) PS21: replace url with host/port for new actor design PS22: add trailing "/" to context URIs PS23: restore SO_URL as it may be needed for old actors/rules PS24: update to released images PS25: updated brmsgw.conf to latest images Issue-ID: POLICY-2296 Change-Id: I52232f65db19a50dd3c9baf052242c6d79675264 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>
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak7-14/+14
ONAP is too big to be deployed using helm install so we need to use a custom helm plugin helm deploy. This script deloys onap component by component instead of deploying evrything at once. Unfortunately this script also modifies the helm release by appending component name to it. As a result of this behavior our objects are called for example: onap-mariadb-galera-mariadb-galera-0 instead of just being called onap-mariadb-galera-0. This patch simplifies this naming convention by replacing all direct usages of .Release.Name with common.release macro which strips the component specific part from the release name. Issue-ID: OOM-2275 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ia8cead50d305adb00eef666d0a1ace74479b5183
2019-12-09[POLICY] Use global storage templates for PVCSylvain Desbureaux2-10/+4
OOM has now templates in order to create the needed PVC, using: * a PV with a specific class when using a common nfs mount path between nodes (sames as today use) --> is the default behavior today * or a storage class if we want to use dynamic PV. On this case, we use (in order of priority): - persistence.storageClassOverride if set on the chart - global.persistence.storageClass if set globally - persistence.storageClass if set on the chart Change-Id: Iabd5d12196459bb1fce9021857aeab57a757ee12 Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-11-21[Policy] Use common mariadb galera chartSylvain Desbureaux4-6/+6
Instead of using "own" galera chart, reuse chart placed in common part of OOM installation. Will ease move to common galera cluster (which is not done by this commit). Change-Id: I2d7c1e5cdc9289cfb55e288b1697373239ef96e3 Issue-ID: POLICY-1467 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-10-25policy helm changes to override of cert storejhh2-1/+11
Issue-ID: POLICY-2064 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5d9c6b8ea7e13b43b900f07d394b0bc5fb4b0c9f
2019-10-17Supply CDS GRPC endpoint details for policy (drools) to make use ofRashmi Pujar3-0/+15
Issue-ID: POLICY-2088 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Iefcf1ea50cb2d096ff38a0ecf461a2caa6718f22
2019-10-11Upgrade drools cl app imagejhh1-1/+1
Issue-ID: POLICY-2156 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idde12043286d715a1de27d581701a41f7a72739d
2019-09-20Disable AAF for PDP-D telemetry APIjhh1-2/+2
As AAF cadi libraries and Aether libraries (transitively brought in by drools kie-ci functionality seem to interfere with each other, AAF is disabled. There is no side effects to disable AAF for this API as it is not an external API (it is used for diagnostics only). The nexus value change is cosmetic, not really used. Issue-ID: POLICY-2109 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2ccb3b0f08a4d3020e58ca83bd89d2f614a51dca
2019-09-10refactor drools chart to allow customizationsjhh13-221/+177
- move some values out of .conf files to values to avoid building the chart when deploying policy (drools). - move credentials to a single secret file, this is precursor work to deal with confidential info in a better way in future releases. - delete unused files. - generify mounting of configmaps/secrets as volumes to avoid explicitly having to modify statefulset.yaml. - update amsterdam controller with latest version in nexus at container instantiation. - update to the latest released drools image. Issue-ID: POLICY-1371 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1497b61cd210ac4c00b957c2832de5acd01ea4d2 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-08-29Move Policy Storage to RWOSylvain Desbureaux1-1/+1
Today when deploying Policy with OOM, the PersistentVolumeClaim needs the "ReadWriteMany" (or "RWX") capability. According to Kubernetes Documentation (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes), ReadWriteMany stands for "the volume can be mounted as read-write by many nodes". That means that a particular PVC needs to be read and written from many pods. That also means that your code takes that into account and do the work to avoid write at the same place at the same time. An issue on RWX mode is that most "official" storage driver from Kubernetes doesn't support it (13 over the 19 drivers doesn't support it, espacially OpenStack, Amazon and Google storage classes). Policy PVC for Nexus and Policy PVC for mariadb are used only for one POD. Thus we don't need RWX. Change-Id: Idf8a6ba8ef14ce7ca397438c2200c11517d0458e Issue-ID: POLICY-2019 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-08-07El Alto early drop policy changesjhh1-1/+1
Issue-ID: POLICY-1953 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8172897520bd970d447d66e8d7d4734508d1ece7
2019-07-22Merge "nexus+mariadb upgrade to latest patch versions"Mike Elliott1-1/+1
2019-07-11Moving Helm Chart version for El AltoMike Elliott4-4/+4
Updating all helm chart versions to 5.0.0 for the El Alto release. Merge will be co-ordinated with the merge of a separate aai/oom patch. Please do not merge until this coordination has completed. Issue-ID: OOM-1980 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Change-Id: I31daaebeacea33565f13affd2fa28fb15fe948ba
2019-06-26nexus+mariadb upgrade to latest patch versionsjhh1-1/+1
Covers POLICY tasks 1597, and 1598. Change-Id: I3be2ef26e3ddd49fcb02dc7da19f358dfac62697 Issue-ID: POLICY-1597 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-06-14Policy released drools 1.4.2Pamela Dragosh1-1/+1
For bug fixes POLICY-1856 and POLICY-1855 Issue-ID: POLICY-1860 Change-Id: I3e5014da546620367cba5ab1d6fd308a01c4c140 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-23Bump image versions to new releasesjhh1-1/+1
Change-Id: Ibbe2169bbebc7df1fe628760fb1980cf92aeff9e Issue-ID: POLICY-1700 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-16Disable external ports and update versionsjhh3-7/+13
Change-Id: I1d781ad6d0177d6a103986b10f39e36453516e9f Issue-ID: POLICY-1756 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-08Add Portal suggested parameters to consolejhh1-6/+6
Point PAP and PDP default config to new PAP and PDP. Change-Id: Ib0452739f2ff272f97398e568c71268e80517881 Issue-ID: POLICY-1745 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-07Add SDNC URL, Username and password in base.confVidyashree Rama1-3/+3
Request to SDNC failed as SDNC URL, username and password not specified. Change-Id: I05c0cf7edf9027c536de7c044edb58e3fe73b184 Issue-ID: POLICY-1741 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-03-25replace pdpd image with control loop oneJorge Hernandez8-512/+4
removes installation pieces from component initialization. cleans some misconfiguration. modified license headers Change-Id: I8c8558c8e8fa9c2b79d30a84cebd15d662a2af8b Issue-ID: POLICY-1613 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-07Companion changes for Alpine moveJorge Hernandez1-1/+1
Needed to properly set up java home env var with new OS base Change-Id: I87387e0906e472b617d0d50f30a44713b1c4dfdd Issue-ID: POLICY-1551 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-04Match pdp-d base.conf against image install varsJorge Hernandez1-0/+10
Change-Id: Ib34d2d5e7f0e6a1199f4624ef6cef9542cf6fdde Issue-ID: POLICY-1558 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-14Point policy images to dublin's snapshotsJorge Hernandez1-1/+1
Change-Id: Ib23ca0502c5d33e14509a501b5dd9b9577cfd4b8 Issue-ID: POLICY-1520 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-10Update Chart version for Dublin ReleaseMike Elliott4-4/+4
All charts are being bumped from 3.0.0 to 4.0.0 for the Dublin release. In addition the requirement.yaml files have been updated to allow for chart versions that include timestamp suffix. A following on patch will take care of changes to the OOM Makefiles to support injection of the timestamp versions. Change-Id: Ie03d86fad2027e975e8b9106e3a828e4335037cb Issue-ID: OOM-1642 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2019-01-17Merge "global image pull issue Issue-ID: OOM-1563"Borislav Glozman1-1/+1
2019-01-07Match configmap vars with changes in PDP-D imageJorge Hernandez1-10/+10
Change-Id: Ic97c15c781f2b23a094fd6d4da38c298c9206eff Issue-ID: POLICY-1367 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-12-21global image pull issuedkamdocs1-1/+1
Issue-ID: OOM-1563 Change-Id: I383dbec29291ba5b13d613f60d8eb343b9c59dda Signed-off-by: dkamdocs <devesh.kumar@amdocs.com>
2018-11-15Sync docker tags with release manifestGary Wu1-1/+1
Sync docker tags with the release manifest from integration repo commit b37a3cfdaf92c4855660d2f0c1b20eb482b99bd4. Change-Id: Iabb203836d0c0adb5604a9303d4a108142ec6757 Issue-ID: INT-663 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-11-09Update policy released artifactsPamela Dragosh1-2/+2
Released for RC2 Change-Id: I04f6873a6810f17f3bbabb310dfd4102068f684b Issue-ID: POLICY-1229 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-11-07Fix bad port variables in helm drools chart.dgermain1-2/+2
Fix bad port variables in helm drools chart template if not NodePort Change-Id: I7b4aac5c7a9619115b2cc8fec4c022d53e1babbe Issue-ID: POLICY-1253 Signed-off-by: dgermain <daniel.germain@cgi.com>
2018-10-31Replaced /ecomp/mso with /onap/so in URLJim Hahn1-1/+1
Change-Id: Iacb326595143e28367178be1196014046495af66 Issue-ID: POLICY-1238 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-10-26Sync docker tags with release manifestGary Wu1-1/+1
Sync docker tags with the release manifest from integration repo commit 73e35266be6609f1eb59d2de3bf819ebd3cb4a79. Change-Id: I8e79691e9d4cf27cc20082bd2dfbf6ee3bc7eef3 Issue-ID: INT-663 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-10-25Enable AAF at installationJorge Hernandez1-0/+1
Change-Id: Ib2a10b46969c6477ec187fb6665079b367ad1718 Issue-ID: POLICY-1216 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-10-18Sync docker tags with release manifestGary Wu1-1/+1
Sync docker tags with the release manifest. It is assumed that the release manifest is the "single source of truth" and that the versions in the helm charts are out of date. Change-Id: I2902e60b25f57409dd616780a626e63c92d26769 Issue-ID: INT-663 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-10-05OOM Install support for SDNC url/credentialsJorge Hernandez1-0/+6
Change-Id: I5968a5eb9fbaa12054a5b6fb61ac5624ce785c3d Issue-ID: POLICY-1183 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-10-01Make AAF install credentials, the defaultJorge Hernandez3-7/+7
The credentials are defaulted to the demo AAF install accounts. These credentials will be used in the default ONAP installation, regardless AAF being used or not. This will allow external clients not to be reconfigured regardless of AAF being on or off. Change-Id: Ib7660f71793b0318b45469219b3802c1d1208a29 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1156 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-09-25Updating charts to use common resource templateMandeep Khinda2-2/+2
Issue-ID: OOM-1145 Change-Id: I1510339a820802554b6e8b9a201619ef66be17a0 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-25adding unlimited resource limitMandeep Khinda2-2/+4
Adds the ability to turn them off if they are found to cause issues also cleaning up some whitespace Issue-ID: OOM-1145 Change-Id: Idf0ee21f70e1bf65813b7f51ea028f2783a01cf8 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-24removing proxy sampleMandeep Khinda1-4/+4
Issue-ID: OOM-1441 Change-Id: I9c1ed6b96c5d956d0e649fd366ee65850b48d6e4 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-24Update Chart versions to 3.0Mike Elliott4-4/+4
All Chart versions and requirement dependencies have been updated to 3.0 for Casablanca release. Change-Id: Iea57e5da09ea8a8bac0a415b9a6196151cbea10b Issue-ID: OOM-1354 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-09-20Correct namespace in update-vfw-op-policy.shAbdelmuhaimen Seaudi1-2/+2
The namespace in update-vfw-op-policy.sh should be corrected to be "onap" instead of "onap-policy". Issue-ID: POLICY-1098 Change-Id: Ib1b1ff616645635b2779b8ee6b9aab05b01a76be Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2018-09-19aaf configuration in policy chartsJorge Hernandez1-2/+7
Change-Id: Ic3d0cbdf6833c4e74f682c6b8b2b93c7c90c9a42 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1044
2018-09-19Resource Limits for policyvaibhavjayas4-38/+38
Issue-ID: OOM-1158 Change-Id: I862d88df1ffddaf2f1cfd2b37c44f24118984f3b Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
2018-09-12use https for healthchecks and vfw scriptJorge Hernandez1-8/+8
Change-Id: I98f1bd5a354802ebf4be2356b97ec1bbdecce116 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1111
2018-08-30OOM changes to support PE httpsMichael Mokry1-0/+1
Made changes to the conf files and scripts to set installation variables and use https in urls Made changes to push-policies.sh and drools base.conf Change-Id: If06b91c7cd2f26f08dfabc1054b03f2813224ace Issue-ID: POLICY-781 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-08-14License Addition for Dcaegen2,Policy,DmaapDurgpal19-0/+45
Issue-ID: OOM-1305 Change-Id: Idb6ad7004b7a4dc20ffafda72d60c8547eedfb9e Signed-off-by: Durgpal <durgpal@amdocs.com>
2018-07-09update software artifacts: beijing -> casablancaJorge Hernandez1-1/+1
Change-Id: I9b162cd02aa472e16e146518e1294f57de1e306b Issue-ID: POLICY-959 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-06-13Fix Policy Nexus liveness initialDelaySecondsBorislavG1-2/+2
Change-Id: If8715327f0c274f00422c5c6e40ee153204470f1 Issue-ID: OOM-1139 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>