Change the url of activiti workflow engine service 01/20701/1
authorHuabingZhao <zhao.huabing@zte.com.cn>
Thu, 26 Oct 2017 05:59:09 +0000 (13:59 +0800)
committerHuabingZhao <zhao.huabing@zte.com.cn>
Thu, 26 Oct 2017 05:59:13 +0000 (13:59 +0800)
Issue-Id: MSB-83
Change-Id: I5ecc5e2ecf81de837880f1f992b69834f7babe98
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
boot/msb_vm_init.sh

index da98f42..b80267c 100644 (file)
@@ -119,7 +119,7 @@ curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "vnfres", "
 
 curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "vnfmgr", "version": "v1", "url": "/api/vnfmgr/v1","protocol": "REST",  "nodes": [ {"ip": "'$OPENO_IP'","port": "8803"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
 
-curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "activiti", "version": "v1", "url": "/api/activiti/v1","protocol": "REST",  "nodes": [ {"ip": "'$OPENO_IP'","port": "8804"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "activiti", "version": "v1", "url": "/activiti-rest", "path": "/activiti-rest" "protocol": "REST",  "nodes": [ {"ip": "'$OPENO_IP'","port": "8804"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
 
 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"