add service endpoint annotation for aai
Issue-Id: OOM-221
Change-Id: Ia85682652ed9f489377d6614a61cce91cd77f162
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
diff --git a/kubernetes/aai/templates/all-services.yaml b/kubernetes/aai/templates/all-services.yaml
index 93fbf19..ac709d9 100644
--- a/kubernetes/aai/templates/all-services.yaml
+++ b/kubernetes/aai/templates/all-services.yaml
@@ -32,6 +32,123 @@
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"