From: HuabingZhao Date: Fri, 1 Sep 2017 07:55:22 +0000 (+0800) Subject: add service endpoint annotation for aai X-Git-Tag: 2.0.0-ONAP~687^2~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oom.git;a=commitdiff_plain;h=d510144fff4875aab873c32de0a103d17d00d37e add service endpoint annotation for aai Issue-Id: OOM-221 Change-Id: Ia85682652ed9f489377d6614a61cce91cd77f162 Signed-off-by: HuabingZhao --- diff --git a/kubernetes/aai/templates/all-services.yaml b/kubernetes/aai/templates/all-services.yaml index 93fbf1999c..ac709d997b 100644 --- a/kubernetes/aai/templates/all-services.yaml +++ b/kubernetes/aai/templates/all-services.yaml @@ -32,6 +32,123 @@ metadata: namespace: "{{ .Values.nsPrefix }}-aai" labels: app: aai-service + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "aai-cloudInfrastructure", + "version": "v1", + "url": "/cloud-infrastructure", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + }, + { + "serviceName": "aai-cloudInfrastructure-deprecated", + "version": "v1", + "url": "/cloud-infrastructure", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + "path":"/cloud-infrastructure" + }, + { + "serviceName": "aai-business", + "version": "v1", + "url": "/business", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + }, + { + "serviceName": "aai-business-deprecated", + "version": "v1", + "url": "/business", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + "path":"/business" + }, + { + "serviceName": "aai-search", + "version": "v1", + "url": "/search", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + }, + { + "serviceName": "aai-search-deprecated", + "version": "v1", + "url": "/search", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + "path":"/search" + }, + { + "serviceName": "aai-actions", + "version": "v1", + "url": "/actions", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + }, + { + "serviceName": "aai-actions-deprecated", + "version": "v1", + "url": "/actions", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + "path":"/actions" + }, + { + "serviceName": "aai-service-design-and-creation", + "version": "v1", + "url": "/service-design-and-creation", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + }, + { + "serviceName": "aai-service-design-and-creation-deprecated", + "version": "v1", + "url": "/service-design-and-creation", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + "path":"/service-design-and-creation" + }, + { + "serviceName": "aai-network", + "version": "v1", + "url": "/network", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + }, + { + "serviceName": "aai-network-deprecated", + "version": "v1", + "url": "/network", + "protocol": "REST" + "port": "8443", + "enable_ssl":"True" + "visualRange":"1" + "path":"/network" + } + ]' spec: ports: - name: "aai-service-port-8443"