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: Ic82aa5737269b52b1c96e6a2d70353d92b6c64e6
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "usecaseui-ui", "version": "v1", "url": "/usecase-ui","path": "/iui/usecaseui","protocol": "UI", "nodes": [ {"ip": "'$OPENO_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+# CLAMP
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "clamp", "version": "v1", "url": "/restservices/clds/v1","protocol": "REST", "visualRange":"1", "nodes": [ {"ip": "'$CLAMP_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"