summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-15 04:58:43 -0400
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-15 20:34:34 -0400
commit19f78a77d385dd130947e8642581d78a93bebe82 (patch)
tree304890e2ff3b71da3fdfbad5743cadc1eda15b01 /kubernetes/sdc
parentc58618069e4c0cff6b0f8489cffeacd40a8bec7d (diff)
Add service endpoint annotation for SDC
Issue-Id: OOM-223 Change-Id: Ie1ad56e163bc00b91465e25359d272122ae8ebfd Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/sdc')
-rw-r--r--kubernetes/sdc/templates/all-services.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/kubernetes/sdc/templates/all-services.yaml b/kubernetes/sdc/templates/all-services.yaml
index 88cbe8eeb8..2cd895b45a 100644
--- a/kubernetes/sdc/templates/all-services.yaml
+++ b/kubernetes/sdc/templates/all-services.yaml
@@ -54,6 +54,26 @@ metadata:
app: sdc-be
name: sdc-be
namespace: "{{ .Values.nsPrefix }}-sdc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "sdc",
+ "version": "v1",
+ "url": "/sdc/v1",
+ "protocol": "REST",
+ "port": "8080",
+ "visualRange":"1"
+ },
+ {
+ "serviceName": "sdc-deprecated",
+ "version": "v1",
+ "url": "/sdc/v1",
+ "protocol": "REST",
+ "port": "8080",
+ "visualRange":"1",
+ "path":"/sdc/v1"
+ }
+ ]'
spec:
ports:
- name: sdc-be-port-8443
@@ -73,6 +93,17 @@ metadata:
app: sdc-fe
name: sdc-fe
namespace: "{{ .Values.nsPrefix }}-sdc"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "sdc-gui",
+ "version": "v1",
+ "url": "/sdc1",
+ "protocol": "UI",
+ "port": "8181",
+ "visualRange":"0|1"
+ }
+ ]'
spec:
ports:
- name: sdc-fe-port-9443