Register WF Designer UI Service to MSB 47/41647/1
authorYuanHu <yuan.hu1@zte.com.cn>
Mon, 9 Apr 2018 03:18:38 +0000 (11:18 +0800)
committerYuanHu <yuan.hu1@zte.com.cn>
Mon, 9 Apr 2018 03:18:38 +0000 (11:18 +0800)
Register WF Designer UI Service to MSB

Issue-ID: SDC-1128

Change-Id: I0a70d7e52cd7a5c93cfcaa519a6d85cbf1a64736
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
boot/msb_vm_init.sh

index dfc3b86..33cf6cb 100644 (file)
@@ -175,6 +175,7 @@ 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": "workflow-modeler-ui", "version": "v1", "url": "/workflow-modeler","path": "/workflow-modeler","protocol": "UI",  "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"