X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Faai%2Ftemplates%2Fall-services.yaml;h=39739de72385654b53609d3f848c5aaccdee1a0a;hb=e04b2feb855e5ab20e28c867d2bd7f89f6b8c425;hp=77f7dc1f9bb8690bd768bfccf1fcd5843aa661e2;hpb=a5cc84e3e09c859ba1ad12fef70fa1af539355c1;p=oom.git diff --git a/kubernetes/aai/templates/all-services.yaml b/kubernetes/aai/templates/all-services.yaml index 77f7dc1f9b..39739de723 100644 --- a/kubernetes/aai/templates/all-services.yaml +++ b/kubernetes/aai/templates/all-services.yaml @@ -1,9 +1,23 @@ +# Copyright © 2017 Amdocs, Bell Canada +# +# 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. + #{{ if not .Values.disableAaiHbase }} apiVersion: v1 kind: Service metadata: name: hbase - namespace: "{{ .Values.nsPrefix }}-aai" + namespace: "{{ .Values.nsPrefix }}" labels: app: hbase spec: @@ -32,145 +46,9 @@ apiVersion: v1 kind: Service metadata: name: aai-service - namespace: "{{ .Values.nsPrefix }}-aai" + namespace: "{{ .Values.nsPrefix }}" labels: app: aai-service - annotations: - msb.onap.org/service-info: '[ - { - "serviceName": "aai-cloudInfrastructure", - "version": "v11", - "url": "/aai/v11/cloud-infrastructure", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1" - }, - { - "serviceName": "aai-cloudInfrastructure-deprecated", - "version": "v11", - "url": "/aai/v11/cloud-infrastructure", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1", - "path": "/aai/v11/cloud-infrastructure" - }, - { - "serviceName": "aai-business", - "version": "v11", - "url": "/aai/v11/business", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1" - }, - { - "serviceName": "aai-business-deprecated", - "version": "v11", - "url": "/aai/v11/business", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1", - "path": "/aai/v11/business" - }, - { - "serviceName": "aai-search", - "version": "v11", - "url": "/aai/v11/search", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1" - }, - { - "serviceName": "aai-search-deprecated", - "version": "v11", - "url": "/aai/v11/search", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1", - "path": "/aai/v11/search" - }, - { - "serviceName": "aai-actions", - "version": "v11", - "url": "/aai/v11/actions", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1" - }, - { - "serviceName": "aai-actions-deprecated", - "version": "v11", - "url": "/aai/v11/actions", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1", - "path": "/aai/v11/actions" - }, - { - "serviceName": "aai-service-design-and-creation", - "version": "v11", - "url": "/aai/v11/service-design-and-creation", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1" - }, - { - "serviceName": "aai-service-design-and-creation-deprecated", - "version": "v11", - "url": "/aai/v11/service-design-and-creation", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1", - "path": "/aai/v11/service-design-and-creation" - }, - { - "serviceName": "aai-network", - "version": "v11", - "url": "/aai/v11/network", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1" - }, - { - "serviceName": "aai-network-deprecated", - "version": "v11", - "url": "/aai/v11/network", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1", - "path": "/aai/v11/network" - }, - { - "serviceName": "aai-externalSystem", - "version": "v11", - "url": "/aai/v11/external-system", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1" - }, - { - "serviceName": "aai-externalSystem-deprecated", - "version": "v11", - "url": "/aai/v11/external-system", - "protocol": "REST", - "port": "8443", - "enable_ssl": true, - "visualRange": "1", - "path": "/aai/v11/external-system" - } - ]' spec: ports: - name: "aai-service-port-8443" @@ -192,7 +70,7 @@ apiVersion: v1 kind: Service metadata: name: model-loader-service - namespace: "{{ .Values.nsPrefix }}-aai" + namespace: "{{ .Values.nsPrefix }}" labels: app: model-loader-service spec: @@ -212,7 +90,7 @@ apiVersion: v1 kind: Service metadata: name: gremlin - namespace: "{{ .Values.nsPrefix }}-aai" + namespace: "{{ .Values.nsPrefix }}" labels: app: gremlin spec: @@ -227,16 +105,16 @@ spec: apiVersion: v1 kind: Service metadata: - name: elasticsearch - namespace: "{{ .Values.nsPrefix }}-aai" + name: aai-elasticsearch + namespace: "{{ .Values.nsPrefix }}" labels: - app: elasticsearch + app: aai-elasticsearch spec: ports: - - name: "elasticsearch-port" + - name: "aai-elasticsearch-port" port: 9200 selector: - app: elasticsearch + app: aai-elasticsearch clusterIP: None #{{ end }} #{{ if not .Values.disableAaiSearchDataService }} @@ -245,7 +123,7 @@ apiVersion: v1 kind: Service metadata: name: search-data-service - namespace: "{{ .Values.nsPrefix }}-aai" + namespace: "{{ .Values.nsPrefix }}" labels: app: search-data-service spec: @@ -262,7 +140,7 @@ apiVersion: v1 kind: Service metadata: name: aai-traversal - namespace: "{{ .Values.nsPrefix }}-aai" + namespace: "{{ .Values.nsPrefix }}" labels: app: aai-traversal spec: @@ -281,7 +159,7 @@ apiVersion: v1 kind: Service metadata: name: aai-resources - namespace: "{{ .Values.nsPrefix }}-aai" + namespace: "{{ .Values.nsPrefix }}" labels: app: aai-resources spec: @@ -300,7 +178,7 @@ apiVersion: v1 kind: Service metadata: name: sparky-be - namespace: "{{ .Values.nsPrefix }}-aai" + namespace: "{{ .Values.nsPrefix }}" labels: app: sparky-be spec: @@ -310,4 +188,4 @@ spec: selector: app: sparky-be clusterIP: None -#{{ end }} \ No newline at end of file +#{{ end }}