diff options
author | YuanHu <yuan.hu1@zte.com.cn> | 2018-03-09 17:12:17 +0800 |
---|---|---|
committer | YuanHu <yuan.hu1@zte.com.cn> | 2018-03-12 16:11:18 +0800 |
commit | 91bf52946304bd4f53027a14abb359103e69d572 (patch) | |
tree | b6c14e165c59aea52cb6223ebbcbe2a9bb6319e3 | |
parent | 41c491482386f37ac876717e0f565ba0781e2d8a (diff) |
Register Clamp API to MSB
Register clamp API to MSB while deployed by OOM.
Actual URL of Clamp: http://[CLAMP_IP]:[CLAMP_PORT]/restservices/clds/v1/*
Published URL of MSB: http://[MSB_IP]:[MSB_PORT]/api/clamp/v1/*
Issue-ID: CLAMP-95, OOM-230
Change-Id: I88d6cf47d91fbabcb6fd894e682fd6391634f232
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
-rw-r--r-- | kubernetes/clamp/templates/all-services.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/clamp/templates/all-services.yaml b/kubernetes/clamp/templates/all-services.yaml index b3b9c65f46..c9f4f5ed5f 100644 --- a/kubernetes/clamp/templates/all-services.yaml +++ b/kubernetes/clamp/templates/all-services.yaml @@ -21,6 +21,17 @@ kind: Service metadata: name: clamp namespace: "{{ .Values.nsPrefix }}" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "clamp", + "version": "v1", + "url": "/restservices/clds/v1", + "protocol": "REST", + "port": "8080", + "visualRange":"1" + } + ]' spec: ports: - name: clamp |