aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-03-13 03:29:33 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-13 03:29:33 +0000
commit87f0fa861f7b1db7a41274a9734b835bc162267b (patch)
tree6864b2d5d4948ab9a146a8944640f4967082ae89 /boot
parent6810f31fefd8e6cc3e69e318012004415f7e1e96 (diff)
parent89f43cc1354ff3822b7102500f8bd05c84cfbfe7 (diff)
Merge "Register Clamp API to MSB by RESTFul API."
Diffstat (limited to 'boot')
-rw-r--r--boot/msb_vm_init.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh
index 78f31652..3f98acf1 100644
--- a/boot/msb_vm_init.sh
+++ b/boot/msb_vm_init.sh
@@ -132,3 +132,5 @@ curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "usecaseui-
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"