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>
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