Merge "Modify AAI service endpoints annotation"
[oom.git] / kubernetes / aai / templates / all-services.yaml
index 22d94eb..4fcafd3 100644 (file)
@@ -7,8 +7,20 @@ metadata:
     app: hbase
 spec:
   ports:
-  - name: "hbase-port"
-    port: 8020
+  - name: "hbase-port-1"
+    port: 2181
+  - name: "hbase-port-2"
+    port: 8080
+  - name: "hbase-port-3"
+    port: 8085
+  - name: "hbase-port-4"
+    port: 9090
+  - name: "hbase-port-5"
+    port: 16000
+  - name: "hbase-port-6"
+    port: 16010
+  - name: "hbase-port-7"
+    port: 16201
   selector:
     app: hbase
   clusterIP: None
@@ -20,6 +32,123 @@ metadata:
   namespace: "{{ .Values.nsPrefix }}-aai"
   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"
+      }
+      ]'
 spec:
   ports:
   - name: "aai-service-port-8443"
@@ -52,3 +181,82 @@ spec:
   type: NodePort
   selector:
     app: model-loader-service
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: gremlin
+  namespace: "{{ .Values.nsPrefix }}-aai"
+  labels:
+    app: gremlin
+spec:
+  ports:
+  - name: "gremlin-port"
+    port: 8182
+  selector:
+    app: gremlin
+  clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: elasticsearch
+  namespace: "{{ .Values.nsPrefix }}-aai"
+  labels:
+    app: elasticsearch
+spec:
+  ports:
+  - name: "elasticsearch-port"
+    port: 9200
+  selector:
+    app: elasticsearch
+  clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: search-data-service
+  namespace: "{{ .Values.nsPrefix }}-aai"
+  labels:
+    app: search-data-service
+spec:
+  ports:
+  - name: "search-data-service-port-9509"
+    port: 9509
+  selector:
+    app: search-data-service
+  clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: aai-traversal
+  namespace: "{{ .Values.nsPrefix }}-aai"
+  labels:
+    app: aai-traversal
+spec:
+  ports:
+  - name: "aai-traversal-port-8446"
+    port: 8446
+  - name: aai-traversal-port-debug
+    port: 5005
+  selector:
+    app: aai-traversal
+  clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: aai-resources
+  namespace: "{{ .Values.nsPrefix }}-aai"
+  labels:
+    app: aai-resources
+spec:
+  ports:
+  - name: "aai-resources-port-8447"
+    port: 8447
+  - name: aai-resources-port-debug
+    port: 5005
+  selector:
+    app: aai-resources
+  clusterIP: None
\ No newline at end of file