From: YuanHu Date: Wed, 28 Mar 2018 06:57:42 +0000 (+0800) Subject: Update MSB Registration Info. X-Git-Tag: v1.2.0~115 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F39459%2F4;p=demo.git Update MSB Registration Info. Update MSB Registration Info. Issue-ID: SDC-1128 Change-Id: I8718de9dbef9dcbfe4de2889facbef8ae9e0c322 Signed-off-by: YuanHu --- diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh index 1439d2a5..dfc3b867 100644 --- a/boot/msb_vm_init.sh +++ b/boot/msb_vm_init.sh @@ -174,6 +174,8 @@ curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "activiti", curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "workflow", "version": "v1", "url": "/api/workflow/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8805"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" +curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "workflow-modeler", "version": "v1", "url": "/api/workflow-modeler/v1","protocol": "REST", "nodes": [ {"ip": "'$SDC_IP'","port": "9527"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" + 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"