add service endpoint annotation for aai 95/9895/1
authorHuabingZhao <zhao.huabing@zte.com.cn>
Fri, 1 Sep 2017 07:55:22 +0000 (15:55 +0800)
committerHuabingZhao <zhao.huabing@zte.com.cn>
Fri, 1 Sep 2017 07:55:26 +0000 (15:55 +0800)
Issue-Id: OOM-221
Change-Id: Ia85682652ed9f489377d6614a61cce91cd77f162
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
kubernetes/aai/templates/all-services.yaml

index 93fbf19..ac709d9 100644 (file)
@@ -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"