summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/resources
AgeCommit message (Collapse)AuthorFilesLines
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak1-1/+1
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-11-21[Policy] Use common mariadb galera chartSylvain Desbureaux1-0/+24
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-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-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-08Add Portal suggested parameters to consolejhh1-2/+2
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-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-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>
2018-12-04Add CCVPN policy in push-policies.sh scriptVidyashree Rama1-0/+29
Add CCVPN policy in push-policies.sh script Issue-ID: POLICY-1356 Change-Id: Ia29455c13a59069251fbb115b09b6d4849795808 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2018-11-13Fix issue with Guard policiesMichael Mokry1-6/+6
Modified push-policies.sh to fix pre-loaded guard policies Changed ecompName to onapName in createPolicy requests Change-Id: I3fd0b7ba0eb3909e5f37ba233df3f8eee64b191a Issue-ID: POLICY-1257 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2018-11-08Fix VSN policy nameAlexis de Talhouët1-5/+5
Change-Id: Ia8a7553a07090536388e70161906cbd1f11f8e9a Issue-ID: POLICY-983 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-11-07Merge "Add missing naming policy for vFW_NextGen"Mike Elliott1-0/+24
2018-11-07Add missing naming policy for vFW_NextGenAlexis de Talhouët1-0/+24
Change-Id: I3055262c43411462c962c50f22b95a2c86e48dc0 Issue-ID: POLICY-983 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-11-02Re-added requestParams to vDNS policyJim Hahn1-1/+1
Change-Id: I64e70b76ee1d12d181fbb691b0ac327b095ac4b3 Issue-ID: POLICY-1240 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-11-01Merge "Use Casablanca versions for policy"Alexis de Talhouët1-1/+1
2018-10-31Added config params to scale-out policyJim Hahn1-2/+3
Updated license. Removed requestParameters and reverted name. Replaced single quotes with %27. Change-Id: I9aa9825ebfbd5b5469212389c167f81b34ff1faf Issue-ID: POLICY-1240 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-10-31Use Casablanca versions for policyJorge Hernandez1-2/+2
Change-Id: I8b2ab21797c955e477dfb1a38c11261fc948a4b9 Issue-ID: POLICY-1233 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-10-24Resolve policy GUI access from PortalMichael Mokry1-2/+2
Modified conf file to set proper ueb_app_key value in portal.properties Change-Id: I785e9c9406c066f929fe31f1d0b8b2b297392f17 Issue-ID: POLICY-1210 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2018-10-09Modify Portal Property values in console.confMichael Mokry1-2/+2
Updated the ONAP redirect and REST URL variables used for these portal properties Made change to ONAP_REST_URL value after discussion with Sunder Change-Id: I57a76100cd2dc7a9c0f617f84a463db93d9a254a Issue-ID: POLICY-1192 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2018-09-19Preload Guard PoliciesMichael Mokry1-116/+181
Modified the push_policies.sh to create and push Guard Min/Max and Frequency Limiter policies Converted tabs to spaces and trimmed trailing spaces as well Fixed urls in the curl commands Change-Id: I37423fccb8f1f892d5ce4a890c9677fb0ec7cdb0 Issue-ID: POLICY-1010 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-09-19Add Config and CL policies for OOF PCI use caseSaravanan A1-0/+96
Following config policies to be defined for OOF PCI use case for Casablanca: PCI-Handler MS config policy OOF config policy Control loop policy Change-Id: I648357ab90b368a77e84ceba662494eaf3d216a8 Issue-ID: OOM-1403 Signed-off-by: Saravanan A<saravanan.a75@wipro.com>
2018-09-17Provide pre-loaded SDNC Naming policiesMichael Mokry1-1/+55
Added curl commands to create and push SDNC vFW and vPG Naming policies during installation Made changes to satisfy Borislav's review comments. Change-Id: I3c818bbd85062377dcf3a10f9da9f77565cff396 Issue-ID: POLICY-983 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-08-30OOM changes to support PE httpsMichael Mokry4-38/+38
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-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-04disable feature-poolingJorge Hernandez1-1/+1
- reduces replica counts to 1 (still can be scaled out through helm upgrades) for pdp-x and pdp-ds. - disabled feature pooling - forces to get drl template from beijing release. Change-Id: Ifd565ff0fbb7811f78f0fae83080c5398e5de51e Issue-ID: POLICY-879 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-22Update target log directoriesjh73581-2/+2
Updated target log directories for pdplp and paplp to point to /var/log/onap. Repoint path for IntegrityMonitor.log, as we cannot easily move since it's in common. Change-Id: I7828ac66bfa664bafe5e55ac95d15dea32c61923 Issue-ID: POLICY-759 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-17pdp-x range in pap config not to skip -2Jorge Hernandez1-1/+1
Change-Id: Ic06921ee7fd0b5072381fbadc314647fb7df4a49 Issue-ID: POLICY-802 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-17enable pooling and liveness in pdp-dJorge Hernandez1-1/+1
Change-Id: I4b29367fd419f4ae31cf455a21b8df80c231c3fa Issue-ID: POLICY-795 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-07Merge "oom tweaks in pap configuration for pdp-x pooling"Mike Elliott1-1/+1
2018-05-06oom tweaks in pap configuration for pdp-x poolingJorge Hernandez1-1/+1
paplp_1 process is unused and causes intermittent bad behavior when issuing healthchecks. Since it provides no apparent benefit integrity monitor usage has been disabled. preloading policies apis are executed when the PAP come up. The PDP-Xs take longer to come up, therefore the push-policies script causes bad interactions. This operation has to be triggered after all the PDP-Xs are up and properly running, which is difficult to predict. Therefore, it is moved to a manual step execution. In the future, we could think of'how perhaps execute autonomously by some other means. It does not currently work as is, so it is disabled, at least temporarily, there were a couple problems with pap.conf, first the pdps hostname need to be explicitly provided, as PAP keeps a white list of pdp hosts that can connect to it and be served policies. Another limitation is the format, note the change to ";" to separate pdps, instead of ",". Further the automatic configuration sequence is only made for 1 PDP-X, does not work well when multiple PDP-Xs are provided, so for the first PDP-X, the credentials need to be explicitly added, otherwise, it denies access to PDP-Xs. Change-Id: I5d4a9a39822c036db26e97edb594ecaaa27f80d8 Issue-ID: POLICY-768 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-03Fix old references to portalapps servicejmac1-3/+3
Change-Id: Icd3291be17b5c42ac9706e9c7b40ed26c9617300 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-1042
2018-04-26Policy Config CorrectionMahendra Raghuwanshi2-3/+3
Issue-ID: OOM-1011 Change-Id: I85444ebb9df9368d96f55bb968291351c9d286d5 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2018-04-24Make all services independent of helm Release.NameBorislavG2-19/+19
Issue-ID: OOM-906 Change-Id: Ic65127d3981cb0a696c784392cab59fbf06b1e66 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-03-29Correction in policy due to incorrect mergemayankg27034-23/+22
removing cli package change from policy patch Change-Id: I673cfb90f76df877bd9e69f9a185ae7c77ee4b9b Issue-ID: OOM-844 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com> Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-03-28Add Standardized Configuration to POLICYmayankg270329-1257/+479
Change-Id: Iabdb2bba14b5095c08ff2920aec97a213e0acb30 Issue-ID: OOM-745 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com> Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-03-27Add standardized helm chart for logBorislavG1-1/+1
Change-Id: Ic9f0eb567716224893955d9379e9ed9308b9ea79 Issue-ID: OOM-740 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-03-01Run all components in one namespaceBorislavG12-57/+57
Change-Id: I5fcd4d577c1fda4de27842807c7cf7a5d372756e Issue-ID: OOM-722 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-01-25Policy config segreggationvaibhav_16dec25-0/+1670
Issue-ID: OOM-553 Change-Id: I8dab41aea5b0fad1395f6deb47b2faa6f7dcbdbc Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>