aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-28 16:13:59 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-28 16:14:04 +0800
commita61046f9ae9639b666f734c4334bc4bf97bf076d (patch)
tree60e4969b782d1da721decccacf1ff844df344eb2 /boot
parent47979314fae92d6967685ebb421f4f6a8966dd97 (diff)
Register ONAP Services to MSB
Register UUI service and UI. Issue-Id: MSB-83 Change-Id: Iae8e0a07f6b40ec7684cab7f59a7671db4a81a75 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'boot')
-rw-r--r--boot/msb_vm_init.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh
index e3bf8ad6..f6a27ba5 100644
--- a/boot/msb_vm_init.sh
+++ b/boot/msb_vm_init.sh
@@ -111,4 +111,9 @@ curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "workflow",
curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "catalog", "version": "v1", "url": "/api/catalog/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8806"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "emsdriver", "version": "v1", "url": "/api/emsdriver/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8206"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" \ No newline at end of file
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "emsdriver", "version": "v1", "url": "/api/emsdriver/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8206"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+#UUI
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "usecaseui", "version": "v1", "url": "/api/usecaseui/server/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8901"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "usecaseui-gui", "version": "v1", "url": "/iui/usecaseui","path": "/iui/usecaseui","protocol": "UI", "nodes": [ {"ip": "'$OPENO_IP'","port": "8900"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" \ No newline at end of file