Merge "Add new RMR routes for e2term and e2mgr"
authorLusheng Ji <lji@research.att.com>
Tue, 27 Aug 2019 02:07:01 +0000 (02:07 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Tue, 27 Aug 2019 02:07:01 +0000 (02:07 +0000)
182 files changed:
RECIPE_EXAMPLE/RIC_AUX_RECIPE_EXAMPLE
ric-aux/80-Auxiliary-Functions/bin/install
ric-aux/80-Auxiliary-Functions/bin/uninstall
ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/appconfig.yaml
ric-aux/80-Auxiliary-Functions/helm/dashboard/values.yaml
ric-aux/85-Ext-Services/helm/extsvcaux/templates/services-helm.yaml
ric-aux/85-Ext-Services/helm/extsvcaux/templates/services-ric.yaml
ric-common/Common-Template/helm/ric-common/templates/_ingresscontroller.tpl
ric-infra/00-Kubernetes/etc/infra.rc
ric-infra/00-Kubernetes/heat/scripts/k8s_vm_install.sh
ric-infra/25-tiller/helm/.helmignore [moved from ric-aux/80-Auxiliary-Functions/helm/kong/.helmignore with 100% similarity]
ric-infra/25-tiller/helm/kong/.helmignore [moved from ric-platform/50-RIC-Platform/helm/kong/.helmignore with 100% similarity]
ric-infra/25-tiller/helm/kong/Chart.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/Chart.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/.helmignore [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/.helmignore with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/Chart.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/Chart.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/README.md [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/README.md with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/.helmignore [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/.helmignore with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/Chart.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/Chart.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/README.md [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/README.md with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/sample/create-storage-gce.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/sample/create-storage-gce.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/templates/NOTES.txt [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/templates/NOTES.txt with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/templates/_helpers.tpl [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/templates/_helpers.tpl with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/templates/backup/cronjob.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/templates/backup/cronjob.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/templates/backup/rbac.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/templates/backup/rbac.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/templates/configmap.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/templates/configmap.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/templates/pdb.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/templates/pdb.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/templates/service.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/templates/service.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/templates/statefulset.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/templates/statefulset.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/cassandra/values.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/cassandra/values.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/.helmignore [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/.helmignore with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/Chart.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/Chart.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/README.md [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/README.md with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/files/README.md [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/files/README.md with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/files/conf.d/README.md [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/files/conf.d/README.md with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/files/docker-entrypoint-initdb.d/README.md [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/files/docker-entrypoint-initdb.d/README.md with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/NOTES.txt [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/NOTES.txt with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/_helpers.tpl [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/_helpers.tpl with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/configmap.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/configmap.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/extended-config-configmap.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/extended-config-configmap.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/initialization-configmap.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/initialization-configmap.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/metrics-svc.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/metrics-svc.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/networkpolicy.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/networkpolicy.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/secrets.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/secrets.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/statefulset-slaves.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/statefulset-slaves.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/statefulset.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/statefulset.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/svc-headless.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/svc-headless.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/svc-read.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/svc-read.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/templates/svc.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/templates/svc.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/values-production.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/values-production.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/charts/postgresql/values.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/charts/postgresql/values.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/ci/cassandra.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/ci/cassandra.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/ci/dbless.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/ci/dbless.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/ci/default-values.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/ci/default-values.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/ci/ingressController-values.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/ci/ingressController-values.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/ci/loadbalancer-values.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/ci/loadbalancer-values.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/requirements.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/requirements.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/NOTES.txt [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/NOTES.txt with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/_helpers.tpl [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/_helpers.tpl with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/controller-cluster-role.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/controller-cluster-role.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/controller-deployment.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/controller-deployment.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/controller-rbac-cluster-role-binding.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/controller-rbac-cluster-role-binding.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/controller-rbac-role-binding.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/controller-rbac-role-binding.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/controller-rbac-role.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/controller-rbac-role.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/controller-service-account.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/controller-service-account.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/crd-kongconsumer.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/crd-kongconsumer.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/crd-kongcredential.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/crd-kongcredential.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/crd-kongingress.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/crd-kongingress.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/crd-kongplugins.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/crd-kongplugins.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/deployment.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/deployment.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/ingress-admin.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/ingress-admin.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/ingress-manager.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/ingress-manager.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/ingress-portal-api.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/ingress-portal-api.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/ingress-portal.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/ingress-portal.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/ingress-proxy.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/ingress-proxy.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/migrations-post-upgrade.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/migrations-post-upgrade.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/migrations-pre-upgrade.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/migrations-pre-upgrade.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/migrations.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/migrations.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/service-kong-admin.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/service-kong-admin.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/service-kong-manager.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/service-kong-manager.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/service-kong-portal-api.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/service-kong-portal-api.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/service-kong-portal.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/service-kong-portal.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/templates/service-kong-proxy.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/templates/service-kong-proxy.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/charts/kong/values.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/charts/kong/values.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/requirements.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/requirements.yaml with 100% similarity]
ric-infra/25-tiller/helm/kong/values.yaml [moved from ric-aux/80-Auxiliary-Functions/helm/kong/values.yaml with 100% similarity]
ric-infra/30-Kong/bin/install [new file with mode: 0755]
ric-infra/30-Kong/bin/uninstall [new file with mode: 0755]
ric-infra/30-Kong/etc/kong.conf [moved from ric-infra/25-tiller/etc/tiller.conf with 100% similarity]
ric-infra/30-Kong/helm/.helmignore [new file with mode: 0644]
ric-infra/30-Kong/helm/kong/.helmignore [new file with mode: 0644]
ric-infra/30-Kong/helm/kong/Chart.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/Chart.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/.helmignore [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/.helmignore with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/Chart.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/Chart.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/README.md [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/README.md with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/.helmignore [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/.helmignore with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/Chart.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/Chart.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/README.md [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/README.md with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/sample/create-storage-gce.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/sample/create-storage-gce.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/templates/NOTES.txt [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/templates/NOTES.txt with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/templates/_helpers.tpl [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/templates/_helpers.tpl with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/templates/backup/cronjob.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/templates/backup/cronjob.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/templates/backup/rbac.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/templates/backup/rbac.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/templates/configmap.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/templates/configmap.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/templates/pdb.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/templates/pdb.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/templates/service.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/templates/service.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/templates/statefulset.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/templates/statefulset.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/cassandra/values.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/cassandra/values.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/.helmignore [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/.helmignore with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/Chart.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/Chart.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/README.md [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/README.md with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/files/README.md [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/files/README.md with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/files/conf.d/README.md [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/files/conf.d/README.md with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/files/docker-entrypoint-initdb.d/README.md [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/files/docker-entrypoint-initdb.d/README.md with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/NOTES.txt [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/NOTES.txt with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/_helpers.tpl [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/_helpers.tpl with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/configmap.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/configmap.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/extended-config-configmap.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/extended-config-configmap.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/initialization-configmap.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/initialization-configmap.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/metrics-svc.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/metrics-svc.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/networkpolicy.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/networkpolicy.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/secrets.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/secrets.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/statefulset-slaves.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/statefulset-slaves.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/statefulset.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/statefulset.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/svc-headless.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/svc-headless.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/svc-read.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/svc-read.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/svc.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/templates/svc.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/values-production.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/values-production.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/values.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/charts/postgresql/values.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/ci/cassandra.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/ci/cassandra.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/ci/dbless.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/ci/dbless.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/ci/default-values.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/ci/default-values.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/ci/ingressController-values.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/ci/ingressController-values.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/ci/loadbalancer-values.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/ci/loadbalancer-values.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/requirements.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/requirements.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/NOTES.txt [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/NOTES.txt with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/_helpers.tpl [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/_helpers.tpl with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/controller-cluster-role.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/controller-cluster-role.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/controller-deployment.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/controller-deployment.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/controller-rbac-cluster-role-binding.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/controller-rbac-cluster-role-binding.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/controller-rbac-role-binding.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/controller-rbac-role-binding.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/controller-rbac-role.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/controller-rbac-role.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/controller-service-account.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/controller-service-account.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/crd-kongconsumer.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/crd-kongconsumer.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/crd-kongcredential.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/crd-kongcredential.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/crd-kongingress.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/crd-kongingress.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/crd-kongplugins.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/crd-kongplugins.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/deployment.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/deployment.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/ingress-admin.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/ingress-admin.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/ingress-manager.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/ingress-manager.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/ingress-portal-api.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/ingress-portal-api.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/ingress-portal.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/ingress-portal.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/ingress-proxy.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/ingress-proxy.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-post-upgrade.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/migrations-post-upgrade.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-pre-upgrade.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/migrations-pre-upgrade.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/migrations.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/service-kong-admin.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/service-kong-admin.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/service-kong-manager.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/service-kong-manager.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/service-kong-portal-api.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/service-kong-portal-api.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/service-kong-portal.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/service-kong-portal.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/templates/service-kong-proxy.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/service-kong-proxy.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/charts/kong/values.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/charts/kong/values.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/requirements.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/requirements.yaml with 100% similarity]
ric-infra/30-Kong/helm/kong/values.yaml [moved from ric-platform/50-RIC-Platform/helm/kong/values.yaml with 92% similarity]
ric-infra/45-Tiller/bin/install [moved from ric-infra/25-tiller/bin/install with 100% similarity]
ric-infra/45-Tiller/bin/uninstall [moved from ric-infra/25-tiller/bin/uninstall with 100% similarity]
ric-infra/45-Tiller/docker/Dockerfile [moved from ric-infra/25-tiller/docker/Dockerfile with 100% similarity]
ric-infra/45-Tiller/docker/bin/cert-gen.sh [moved from ric-infra/25-tiller/docker/bin/cert-gen.sh with 100% similarity]
ric-infra/45-Tiller/docker/bin/svcacct-to-kubeconfig.sh [moved from ric-infra/25-tiller/docker/bin/svcacct-to-kubeconfig.sh with 100% similarity]
ric-infra/45-Tiller/docker/bin/tls-secrets.sh [moved from ric-infra/25-tiller/docker/bin/tls-secrets.sh with 100% similarity]
ric-infra/45-Tiller/docker/container-tag.yaml [moved from ric-infra/25-tiller/docker/container-tag.yaml with 100% similarity]
ric-infra/45-Tiller/etc/tiller.conf [new file with mode: 0644]
ric-infra/45-Tiller/helm/ricplt-tiller/Chart.yaml [moved from ric-infra/25-tiller/helm/ricplt-tiller/Chart.yaml with 100% similarity]
ric-infra/45-Tiller/helm/ricplt-tiller/requirements.yaml [moved from ric-infra/25-tiller/helm/ricplt-tiller/requirements.yaml with 100% similarity]
ric-infra/45-Tiller/helm/ricplt-tiller/templates/deployment-tiller.yaml [moved from ric-infra/25-tiller/helm/ricplt-tiller/templates/deployment-tiller.yaml with 100% similarity]
ric-infra/45-Tiller/helm/ricplt-tiller/templates/job-tiller-secrets.yaml [moved from ric-infra/25-tiller/helm/ricplt-tiller/templates/job-tiller-secrets.yaml with 100% similarity]
ric-infra/45-Tiller/helm/ricplt-tiller/values.yaml [moved from ric-infra/25-tiller/helm/ricplt-tiller/values.yaml with 100% similarity]
ric-platform/50-RIC-Platform/bin/install
ric-platform/50-RIC-Platform/bin/uninstall
ric-platform/50-RIC-Platform/helm/a1mediator/templates/deployment.yaml
ric-platform/50-RIC-Platform/helm/a1mediator/values.yaml
ric-platform/55-Ext-Services/helm/extsvcplt/templates/services-aux.yaml
ric-platform/55-Ext-Services/helm/extsvcplt/templates/services-helm.yaml

index 3b95006..8d18a94 100644 (file)
@@ -89,6 +89,9 @@ dashboard:
     portalapi:
       username: username
       password: password
+    metrics:
+      url:
+        ac: http://ric-aux-kibana-server:5601/goto/fedcba9876543210?embed=true
     # key.properties
     cipher.enc.key: AGLDdG4D04BKm2IxIWEr8o==
     # portal.properties
index aaa1bd4..eae092c 100755 (executable)
@@ -59,7 +59,7 @@ else
    COMMON_OVERRIDE=$RIC_COMMON_OVERRIDE
 fi
 
-RICAUX_COMPONENTS="dashboard ves message-router kong"
+RICAUX_COMPONENTS="dashboard ves message-router"
 
 echo "Deploying RIC AUX components [$RICAUX_COMPONENTS]"
 echo "Helm Release Name: $RELEASE_NAME"
index a606d5f..c86e42b 100755 (executable)
@@ -30,7 +30,7 @@ else
    RELEASE_NAME=$RICAUX_RELEASE_NAME
 fi
 
-RICAUX_COMPONENTS="dashboard message-router ves kong"
+RICAUX_COMPONENTS="dashboard message-router ves"
 
 echo "Undeploying RIC AUX components [$RICAUX_COMPONENTS]"
 echo "Helm Release Name: $RELEASE_NAME"
index 68e1925..7640ffb 100644 (file)
@@ -41,6 +41,7 @@ data:
     portalapi.appname  = {{ .Values.dashboard.portalapi.appname  }}
     portalapi.username = {{ .Values.dashboard.portalapi.username }}
     portalapi.password = {{ .Values.dashboard.portalapi.password }}
+    metrics.url.ac     = {{ .Values.dashboard.metrics.url.ac     }}
 
   key.properties: |
     cipher.enc.key     = {{ .Values.dashboard.cipher.enc.key }}
index d0a8817..a4992a0 100644 (file)
@@ -76,3 +76,6 @@ dashboard:
     ecomp_redirect_url: https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm
     ecomp_rest_url: http://portal-app.onap:8989/ONAPPORTAL/auxapi
     ueb_app_key: uebkey
+  metrics:
+    url:
+      ac: http://ric-aux-kibana-server:5601/goto/1234567890abcdef?embed=true
index e1a24b4..cd1fa90 100644 (file)
@@ -39,7 +39,7 @@ subsets:
   - addresses:
       - ip: "{{ .Values.extsvcaux.auxip }}"
     ports:
-      - port: {{ include "common.ingresshttpport.aux" . }}
+      - port: {{ include "common.ingresshttpport" . }}
         name: {{ include "common.ingressurl.helm" . }}-http-ingress-port
-      - port: {{ include "common.ingresshttpsport.aux" . }}
+      - port: {{ include "common.ingresshttpsport" . }}
         name: {{ include "common.ingressurl.helm" . }}-https-ingress-port
index 243853f..7047cd7 100644 (file)
@@ -39,7 +39,7 @@ subsets:
   - addresses:
       - ip: "{{ .Values.extsvcaux.ricip }}"
     ports:
-      - port: {{ include "common.ingresshttpport.ric" . }}
+      - port: {{ include "common.ingresshttpport" . }}
         name: {{ include "common.ingressurl.ric" . }}-http-ingress-port
-      - port: {{ include "common.ingresshttpsport.ric" . }}
+      - port: {{ include "common.ingresshttpsport" . }}
         name: {{ include "common.ingressurl.ric" . }}-https-ingress-port
index 2106fa4..96858a9 100644 (file)
 ## helm charts are not using this common template. We need to make sure that these values  #
 ## agree with the values in the kong helm charts values.yaml files.                        #
 ############################################################################################  
-{{- define "common.ingresshttpport.ric" -}}
-  {{- printf "31080" -}}
-{{- end -}}
-
-{{- define "common.ingresshttpsport.ric" -}}
-  {{- printf "31443" -}}
-{{- end -}}
-
-
-{{- define "common.ingresshttpport.aux" -}}
+{{- define "common.ingresshttpport" -}}
   {{- printf "32080" -}}
 {{- end -}}
 
-{{- define "common.ingresshttpsport.aux" -}}
+{{- define "common.ingresshttpsport" -}}
   {{- printf "32443" -}}
 {{- end -}}
 
index 2678776..81c20e7 100644 (file)
@@ -1,5 +1,5 @@
 # modify below for RIC infrastructure (docker-k8s-helm) component versions
-INFRA_DOCKER_VERSION="18.09.7-0ubuntu1~16.04.4"
+INFRA_DOCKER_VERSION=""
 INFRA_K8S_VERSION="1.13.3"
 INFRA_CNI_VERSION="0.6.0"
 INFRA_HELM_VERSION="2.12.3"
index 25550a1..deb33e5 100644 (file)
@@ -125,6 +125,10 @@ DOCKERVERSION="${DOCKERV}"
 curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
 echo 'deb http://apt.kubernetes.io/ kubernetes-xenial main' > /etc/apt/sources.list.d/kubernetes.list
 
+# tell apt to retry 3 times if failed
+mkdir -p /etc/apt/apt.conf.d
+echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries
+
 # install low latency kernel, docker.io, and kubernetes
 apt-get update
 apt-get install -y virt-what
@@ -133,7 +137,11 @@ if ! echo $(virt-what) | grep "virtualbox"; then
   # install if identifying the VM not being a virtualbox VM.
   apt-get install -y linux-image-4.15.0-45-lowlatency
 fi
-apt-get install -y curl jq netcat docker.io=${DOCKERVERSION}
+if [ -z ${DOCKERVERSION} ]; then
+  apt-get install -y curl jq netcat docker.io
+else
+  apt-get install -y curl jq netcat docker.io=${DOCKERVERSION}
+fi
 apt-get install -y kubernetes-cni=${CNIVERSION}
 apt-get install -y --allow-unauthenticated kubeadm=${KUBEVERSION} kubelet=${KUBEVERSION} kubectl=${KUBEVERSION}
 apt-mark hold docker.io kubernetes-cni kubelet kubeadm kubectl
diff --git a/ric-infra/30-Kong/bin/install b/ric-infra/30-Kong/bin/install
new file mode 100755 (executable)
index 0000000..db2ccda
--- /dev/null
@@ -0,0 +1,85 @@
+#!/bin/bash
+################################################################################
+#   Copyright (c) 2019 AT&T Intellectual Property.                             #
+#   Copyright (c) 2019 Nokia.                                                  #
+#                                                                              #
+#   Licensed under the Apache License, Version 2.0 (the "License");            #
+#   you may not use this file except in compliance with the License.           #
+#   You may obtain a copy of the License at                                    #
+#                                                                              #
+#       http://www.apache.org/licenses/LICENSE-2.0                             #
+#                                                                              #
+#   Unless required by applicable law or agreed to in writing, software        #
+#   distributed under the License is distributed on an "AS IS" BASIS,          #
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
+#   See the License for the specific language governing permissions and        #
+#   limitations under the License.                                             #
+################################################################################
+
+
+OVERRIDEYAML=$1
+
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
+
+source $DIR/../etc/kong.conf
+
+if [ -z "$RICINFRA_RELEASE_NAME" ];then
+   RELEASE_NAME=$helm_release_name
+else
+   RELEASE_NAME=$RICINFRA_RELEASE_NAME
+fi
+# Namespace configuration
+if [ -z "$RICPLT_NAMESPACE" ];then
+   PLT_NAMESPACE=$plt_namespace
+else
+   PLT_NAMESPACE=$RICPLT_NAMESPACE
+fi
+if [ -z "$RICXAPP_NAMESPACE" ];then
+   XAPP_NAMESPACE=$xapp_namespace
+else
+   XAPP_NAMESPACE=$RICXAPP_NAMESPACE
+fi
+if [ -z "$RICAUX_NAMESPACE" ];then
+   AUX_NAMESPACE=$aux_namespace
+else
+   AUX_NAMESPACE=$RICAUX_NAMESPACE
+fi
+if [ -z "$RICINFRA_NAMESPACE" ];then
+   INFRA_NAMESPACE=$infra_namespace
+else
+   INFRA_NAMESPACE=$RICINFRA_NAMESPACE
+fi
+
+if [ -z "$RIC_COMMON_OVERRIDE" ];then
+   COMMON_OVERRIDE="--set global.namespace.platform=$PLT_NAMESPACE --set global.namespace.xapp=$XAPP_NAMESPACE --set global.namespace.aux=$AUX_NAMESPACE --set global.namespace.infra=$INFRA_NAMESPACE"
+else
+   COMMON_OVERRIDE=$RIC_COMMON_OVERRIDE
+fi
+
+
+
+
+RICINFRA_COMPONENTS="kong"
+
+echo "Deploying RIC infra components [$RICINFRA_COMPONENTS]"
+echo "Helm Release Name: $RELEASE_NAME"
+
+
+COMMON_CHART_VERSION=$(cat $DIR/../../../ric-common/Common-Template/helm/ric-common/Chart.yaml | grep version | awk '{print $2}')
+helm package -d /tmp $DIR/../../../ric-common/Common-Template/helm/ric-common
+
+
+
+for component in $RICINFRA_COMPONENTS; do
+
+  mkdir -p $DIR/../helm/$component/charts/
+
+  cp /tmp/ric-common-$COMMON_CHART_VERSION.tgz $DIR/../helm/$component/charts/
+
+  if [ -z $OVERRIDEYAML ]; then
+    helm install --debug --namespace "${INFRA_NAMESPACE}" --name "${RELEASE_NAME}-$component" $COMMON_OVERRIDE $DIR/../helm/$component
+  else
+    helm install -f $OVERRIDEYAML --namespace "${INFRA_NAMESPACE}" --name "${RELEASE_NAME}-$component" $COMMON_OVERRIDE $DIR/../helm/$component
+  fi
+done
diff --git a/ric-infra/30-Kong/bin/uninstall b/ric-infra/30-Kong/bin/uninstall
new file mode 100755 (executable)
index 0000000..01c97e0
--- /dev/null
@@ -0,0 +1,49 @@
+#!/bin/bash
+################################################################################
+#   Copyright (c) 2019 AT&T Intellectual Property.                             #
+#   Copyright (c) 2019 Nokia.                                                  #
+#                                                                              #
+#   Licensed under the Apache License, Version 2.0 (the "License");            #
+#   you may not use this file except in compliance with the License.           #
+#   You may obtain a copy of the License at                                    #
+#                                                                              #
+#       http://www.apache.org/licenses/LICENSE-2.0                             #
+#                                                                              #
+#   Unless required by applicable law or agreed to in writing, software        #
+#   distributed under the License is distributed on an "AS IS" BASIS,          #
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
+#   See the License for the specific language governing permissions and        #
+#   limitations under the License.                                             #
+################################################################################
+
+
+
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
+
+
+source $DIR/../etc/kong.conf
+
+if [ -z "$RICINFRA_RELEASE_NAME" ];then
+   RELEASE_NAME=$helm_release_name
+else
+   RELEASE_NAME=$RICINFRA_RELEASE_NAME
+fi
+
+if [ -z "$RICINFRA_NAMESPACE" ];then
+   INFRA_NAMESPACE=$infra_namespace
+else
+   INFRA_NAMESPACE=$RICINFRA_NAMESPACE
+fi
+
+RICINFRA_COMPONENTS="kong"
+
+echo "Undeploying RIC infra components [$RICINFRA_COMPONENTS]"
+echo "Helm Release Name: $RELEASE_NAME"
+
+
+for component in $RICINFRA_COMPONENTS; do
+  helm delete --purge  "${RELEASE_NAME}-${component}" 
+done
+
+
diff --git a/ric-infra/30-Kong/helm/.helmignore b/ric-infra/30-Kong/helm/.helmignore
new file mode 100644 (file)
index 0000000..50af031
--- /dev/null
@@ -0,0 +1,22 @@
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj
+.vscode/
diff --git a/ric-infra/30-Kong/helm/kong/.helmignore b/ric-infra/30-Kong/helm/kong/.helmignore
new file mode 100644 (file)
index 0000000..50af031
--- /dev/null
@@ -0,0 +1,22 @@
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj
+.vscode/
similarity index 92%
rename from ric-platform/50-RIC-Platform/helm/kong/values.yaml
rename to ric-infra/30-Kong/helm/kong/values.yaml
index 25469eb..2cab0bc 100644 (file)
@@ -14,9 +14,9 @@ kong:
 
   proxy:
     http:
-      nodePort: 31080
+      nodePort: 32080
     tls:
-      nodePort: 31443
+      nodePort: 32443
   # These port numbers MUST matche with what's in
   # ric-common/Common-Template/helm/ric-common/templates/_ingresscontroller.tpl file.
   # If need to change a proxy port here, do not forget to update the 
diff --git a/ric-infra/45-Tiller/etc/tiller.conf b/ric-infra/45-Tiller/etc/tiller.conf
new file mode 100644 (file)
index 0000000..92008b5
--- /dev/null
@@ -0,0 +1,37 @@
+################################################################################
+#   Copyright (c) 2019 AT&T Intellectual Property.                             #
+#   Copyright (c) 2019 Nokia.                                                  #
+#                                                                              #
+#   Licensed under the Apache License, Version 2.0 (the "License");            #
+#   you may not use this file except in compliance with the License.           #
+#   You may obtain a copy of the License at                                    #
+#                                                                              #
+#       http://www.apache.org/licenses/LICENSE-2.0                             #
+#                                                                              #
+#   Unless required by applicable law or agreed to in writing, software        #
+#   distributed under the License is distributed on an "AS IS" BASIS,          #
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
+#   See the License for the specific language governing permissions and        #
+#   limitations under the License.                                             #
+################################################################################
+
+
+# helm_release_name defines the release name helm will use to deploy RIC
+# It will be overrided by RICPLT_RELEASE_NAME
+helm_release_name=r1
+
+# namespace defines the namespace that helm will use to deploy RIC
+# It will be overrided by RICPLT_NAMESPACE
+plt_namespace=ricplt
+
+# namespace defines the namespace that helm will use to deploy RIC
+# It will be overrided by RICXAPP_NAMESPACE
+xapp_namespace=ricxapp
+
+# namespace defines the namespace that helm will use to deploy RIC
+# It will be overrided by RICAUX_NAMESPACE
+aux_namespace=ricaux
+
+# namespace defines the namespace that helm will use to deploy RIC
+# It will be overrided by RICINFRA_NAMESPACE
+infra_namespace=ricinfra
index 4632ec0..ddfeaaf 100755 (executable)
@@ -60,7 +60,7 @@ else
 fi
 
 
-RICPLT_COMPONENTS="appmgr rtmgr dbaas e2mgr e2term a1mediator submgr kong"
+RICPLT_COMPONENTS="appmgr rtmgr dbaas e2mgr e2term a1mediator submgr"
 
 echo "Deploying RIC Platform components [$RICPLT_COMPONENTS]"
 echo "Helm Release Name: $RELEASE_NAME"
index 38f48f5..9baaf5e 100755 (executable)
@@ -30,7 +30,7 @@ else
    RELEASE_NAME=$RICPLT_RELEASE_NAME
 fi
 
-RICPLT_COMPONENTS="appmgr rtmgr dbaas e2mgr e2term a1mediator submgr kong"
+RICPLT_COMPONENTS="appmgr rtmgr dbaas e2mgr e2term a1mediator submgr"
 
 
 echo "Undeploying RIC Platform components [$RICPLT_COMPONENTS]"
index f14d4e2..1d2a49d 100644 (file)
@@ -74,11 +74,11 @@ spec:
               protocol: TCP
           livenessProbe:
             httpGet:
-              path: /healthcheck
+              path: /a1-p/healthcheck
               port: http
           readinessProbe:
             httpGet:
-              path: /healthcheck
+              path: /a1-p/healthcheck
               port: http
       volumes:
         - name: "a1conf"
index 9bebd45..8a58108 100644 (file)
@@ -29,7 +29,7 @@ a1mediator:
 
   image:
     name: ric-plt-a1
-    tag: 0.10.2
+    tag: 0.10.3
 
   # Service ports are now defined in
   # ric-common/Common-Template/helm/ric-common/templates/_ports.tpl file.
index 0605a74..5987322 100644 (file)
@@ -43,8 +43,8 @@ subsets:
   - addresses:
       - ip: "{{ $.Values.extsvcplt.auxip }}"
     ports:
-      - port: {{ include "common.ingresshttpport.aux" $ }}
+      - port: {{ include "common.ingresshttpport" $ }}
         name: {{ include "common.ingressurl.aux" $ }}-http-ingress-port
-      - port: {{ include "common.ingresshttpsport.aux" $ }}
+      - port: {{ include "common.ingresshttpsport" $ }}
         name: {{ include "common.ingressurl.aux" $ }}-https-ingress-port
 {{- end -}}
index 99a44c1..dd6f3e4 100644 (file)
@@ -44,9 +44,9 @@ subsets:
   - addresses:
       - ip: "{{ $.Values.extsvcplt.auxip }}"
     ports:
-      - port: {{ include "common.ingresshttpport.aux" $ }}
+      - port: {{ include "common.ingresshttpport" $ }}
         name: {{ include "common.ingressurl.helm" $ }}-http-ingress-port
-      - port: {{ include "common.ingresshttpsport.aux" $ }}
+      - port: {{ include "common.ingresshttpsport" $ }}
         name: {{ include "common.ingressurl.helm" $ }}-https-ingress-port
 
 {{- end -}}