From: HuabingZhao Date: Thu, 26 Oct 2017 05:59:09 +0000 (+0800) Subject: Change the url of activiti workflow engine service X-Git-Tag: 1.0.0-Amsterdam~81^2~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=0c7f29ae19970a0161573af7e591be6f11c27e1d;hp=e844f8546761abb71c125bac08022cdc5671405c;p=demo.git Change the url of activiti workflow engine service Issue-Id: MSB-83 Change-Id: I5ecc5e2ecf81de837880f1f992b69834f7babe98 Signed-off-by: HuabingZhao --- diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh index da98f42a..b80267cd 100644 --- a/boot/msb_vm_init.sh +++ b/boot/msb_vm_init.sh @@ -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"