summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-01 15:55:22 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-01 15:55:26 +0800
commitd510144fff4875aab873c32de0a103d17d00d37e (patch)
tree4b7d4a907e8e3eacbc70d1ce240832d770b07c4e /kubernetes/aai
parentb473f849cd6d94165f95d7fa181fff0aaae1289e (diff)
add service endpoint annotation for aai
Issue-Id: OOM-221 Change-Id: Ia85682652ed9f489377d6614a61cce91cd77f162 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/aai')
-rw-r--r--kubernetes/aai/templates/all-services.yaml117
1 files changed, 117 insertions, 0 deletions
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"