From 5b8b12a93a137d650fb661db0abdee2adf7db218 Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Fri, 1 Sep 2017 13:03:33 +0800 Subject: service endpoint annotation for so Issue-Id: OOM-226 Change-Id: Iac7bcf795ca9e7a3a51f56ef5b29d55ab4e16251 Signed-off-by: HuabingZhao --- kubernetes/mso/templates/all-services.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'kubernetes') diff --git a/kubernetes/mso/templates/all-services.yaml b/kubernetes/mso/templates/all-services.yaml index a0807d759e..a674adb35e 100644 --- a/kubernetes/mso/templates/all-services.yaml +++ b/kubernetes/mso/templates/all-services.yaml @@ -20,6 +20,26 @@ metadata: namespace: "{{ .Values.nsPrefix }}-mso" labels: app: mso + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "so", + "version": "v1", + "url": "/ecomp/mso/infra", + "protocol": "REST" + "port": "8080", + "visualRange":"1" + }, + { + "serviceName": "so-deprecated", + "version": "v1", + "url": "/ecomp/mso/infra", + "protocol": "REST" + "port": "8080", + "visualRange":"1", + "path":"/ecomp/mso/infra" + } + ]' spec: selector: app: mso -- cgit 1.2.3-korg