aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy
AgeCommit message (Collapse)AuthorFilesLines
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-17Update legacy PAP released imagejhh1-1/+1
Issue-ID: POLICY-1892 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I9fa307bac87fd59156dba7af17a7a8e3c18c4b13
2019-09-17Merge "Update policy/distribution config & image version"Brian Freeman4-5/+29
2019-09-17Update policy/distribution config & image versionramverma4-5/+29
Updating the config file of distribution chart as per the new code changes done in El Alto release. Adding changes for policy-engine as well. Issue-ID: POLICY-1892 Change-Id: I21d971ff76f06dd1d74884481c81801422a3971c Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-09-12Merge "Update charts with policy latest released images"Brian Freeman4-4/+4
2019-09-12Merge "refactor drools chart to allow customizations"Mike Elliott13-221/+177
2019-09-11Update charts with policy latest released imagesjhh4-4/+4
Issue-ID: POLICY-2045 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idb074c7d4239be1c225f9e89f6672288fd658227
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-09-03Add policy-api to xacml-pdp config for OOMJim Hahn1-0/+8
Updated xacml-pdp config to add parameters so that it can connect to policy-api to retrieve policy types. Change-Id: Ib2fbd1523936a5b7c080e806b66eb0d31cb50365 Issue-ID: POLICY-2021 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-29Move Policy Storage to RWOSylvain Desbureaux2-2/+2
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 changesjhh18-82/+50
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 Elliott2-2/+2
2019-07-11Moving Helm Chart version for El AltoMike Elliott24-24/+24
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-27brmsgw config not pointing to released artifcatsPamela Dragosh1-2/+2
These should be pointing to released artifacts. Issue-ID: POLICY-1872 Change-Id: I08323704159864c636cb9d23e0563e05c7c932d6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-26nexus+mariadb upgrade to latest patch versionsjhh2-2/+2
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-06-10Fix typo in naming policyMarco Platania1-1/+1
Change-Id: If3306aaf5d13d8a92269d06a4a6b2cbf6fc3cda2 Issue-ID: OOM-1838 Signed-off-by: Marco Platania <platania@research.att.com>
2019-05-23Bump image versions to new releasesjhh7-7/+7
Change-Id: Ibbe2169bbebc7df1fe628760fb1980cf92aeff9e Issue-ID: POLICY-1700 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-23Merge "Use constant type instead of nf-role in naming policy"Brian Freeman1-1/+1
2019-05-22Use constant type instead of nf-role in naming policyMarco Platania1-1/+1
Change-Id: Ic1e5d773629c4c973a78075faf8b7f601f28321d Issue-ID: OOM-1838 Signed-off-by: Marco Platania <platania@research.att.com>
2019-05-21Change portal-rest-url to internal cluster portjhh1-1/+1
Change-Id: I9d42bd57b3c0c989fdbd91d284dbc7d5f2d9d658 Issue-ID: POLICY-1766 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-16Disable external ports and update versionsjhh19-35/+57
Change-Id: I1d781ad6d0177d6a103986b10f39e36453516e9f Issue-ID: POLICY-1756 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-09Change to fix db connection issues in xacml-pdpMichael Mokry1-0/+53
Added xacml.properties file with proper jdbc url that includes the {{ .Values.global.mariadb.nameOverride }} value This is only half the fix, please reference review for xacml-pdp repo for full fix. Change-Id: Ic73864439b9437e812c135f24a093ba9f969b6ee Issue-ID: POLICY-1760 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-05-08Add Portal suggested parameters to consolejhh2-8/+8
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-05-06Create generic VNF naming policy in policy configMarco Platania1-54/+6
Change-Id: Idf736a963c57ecd27a5ffae079ed1f1e03e732ec Issue-ID: OOM-1838 Signed-off-by: Marco Platania <platania@research.att.com>
2019-05-02Changing xacml replicaCount to 1ramverma1-1/+1
Changing replicaCount of xacml to 1 to keep in sync with other Pdp's. Change-Id: Ie63eb8fc02de9859959bcec5bb2b0ee4bc4af82e Issue-ID: POLICY-1723 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-30Change Policy PAP & API to https by defaultramverma4-5/+9
1) Changing policy PAP & API components to start in https mode by default. 2) Changing supportedPolicyTypes for apex to fix the ineterference between apex & drools for legacy operational policies. 3) Changing the replicaCount of xacml to 3 so that we have enough instances of it running to support controlloop, monitoring & optimization PdpGroups. Change-Id: I5271878db4c4adebc418ef63ecb09880c02082ff Issue-ID: POLICY-1693 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-18Switch policy/api rest port from cluster to nodejhh1-1/+1
Change-Id: I6748018f19d1af27974dd5926447adac66a5a835 Issue-ID: POLICY-1663 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-17Merge "Updated policy/xacml-pdp Charts"Alexis de Talhouët4-10/+50
2019-04-16Changes to support onappf PDP-Aa.sreekumar5-5/+45
Adding configuration files and changes to support onap policy framework PDP-A. Change-Id: I4ccbb172185f7abbf6392f790de9411e45697100 Issue-ID: POLICY-1632 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-15Merge "Fix policy/api charts"Mike Elliott2-1/+25
2019-04-15Merge "Adding configurations & fixing policy/pap charts"Mike Elliott5-3/+59
2019-04-15Updated policy/xacml-pdp ChartsMichael Mokry4-10/+50
1. Added DB configurations 2. Added dmaap topic.properties 3. Updated charts for dmaap topics 4. Updated charts for db configurations Change-Id: I42d9ed05d342273304c7065438651bba28ff3ffe Issue-ID: POLICY-1640 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-04-14Change default maven path in brmsgw containerjhh2-13/+2
remove section that assumes that there is only one dependency version in the brmsgw. There are 2 (models and drools-applications) as this has changed in dublin. Change-Id: Ib9c14d79b0a8c00f78c0dff84deb978ae5fcb6c8 Issue-ID: POLICY-1611 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-12Adding configurations & fixing policy/pap chartsramverma5-3/+59
1) Adding db configurations. 2) Adding dmaap topic configurations. 3) Adding "policyadmin" db. 4) Updating policy/pap charts. 5) Adding "operationshistory" db. Change-Id: I50b67255cfc1d636d0f370d6c93628a30d6dac26 Issue-ID: POLICY-1640 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-12Fix policy/api chartsChenfei Gao2-1/+25
Add "policyadmin" db into policy-api config.json Issue-ID: POLICY-1640 Change-Id: I9c091b35eaae0a734d4371bcf619ebdfa9dac9d3 Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-03-26Merge "Xacml PDP Helm Charts Added"Alexis de Talhouët7-0/+265
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-25Xacml PDP Helm Charts AddedMichael Mokry7-0/+265
Added the helm charts for xacml-pdp componnent Added nodePort 41 and updated the oom wiki Changed the chart directory name to policy-xacml-pdp Correct image name and usage of port values in service Remove node port usage Change-Id: I8b3fc85053b56eab15103cd748247e75b96e9147 Issue-ID: POLICY-1436 Signed-off-by: Michael Mokry <michael.mokry@att.com> Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-10Merge "Companion changes for Alpine move"Borislav Glozman2-2/+2
2019-03-07Companion changes for Alpine moveJorge Hernandez2-2/+2
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-05Merge "Match pdp-d base.conf against image install vars"Alexis de Talhouët1-0/+10
2019-03-04Add helmchart for policy/api componentChenfei Gao7-0/+272
Added helmchart for policy-api component. Issue-ID: POLICY-1270 Change-Id: I419f6ba38aaa8161199f09a3dfcc892c6a7bb952 Signed-off-by: Chenfei Gao <cgao@research.att.com> 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-25Adding helmchart for policy/pap componentramverma8-0/+301
Change-Id: I134b9731bf5f72bd562d6abc3f759a9ef244bf27 Issue-ID: POLICY-1483 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-02-19Merge "Point policy images to dublin's snapshots"Alexis de Talhouët6-7/+7
2019-02-14Point policy images to dublin's snapshotsJorge Hernandez6-7/+7
Change-Id: Ib23ca0502c5d33e14509a501b5dd9b9577cfd4b8 Issue-ID: POLICY-1520 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-12Fetch policy rules from masterJorge Hernandez1-2/+2
Change-Id: I6f65bcdb0824d8b8b0e51f8d40037306c61b9a0c Issue-ID: POLICY-1517 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-10Update Chart version for Dublin ReleaseMike Elliott18-18/+18
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>