From a61046f9ae9639b666f734c4334bc4bf97bf076d Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Thu, 28 Sep 2017 16:13:59 +0800 Subject: Register ONAP Services to MSB Register UUI service and UI. Issue-Id: MSB-83 Change-Id: Iae8e0a07f6b40ec7684cab7f59a7671db4a81a75 Signed-off-by: HuabingZhao --- boot/msb_vm_init.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'boot') 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 -- cgit 1.2.3-korg