From: LiZi Date: Mon, 12 Mar 2018 10:51:47 +0000 (+0800) Subject: Register esr to MSB with enable_ssl. X-Git-Tag: v1.2.0~134 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=6810f31fefd8e6cc3e69e318012004415f7e1e96;p=demo.git Register esr to MSB with enable_ssl. The rest API with http protocal of esr has been changed into https. So register esr to MSB with enable_ssl. Change-Id: I538a3c11414ae94a12d9e53bf4a98c28d451fced Issue-ID: AAI-853 Signed-off-by: 00164331 --- diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh index 0a087b04..78f31652 100644 --- a/boot/msb_vm_init.sh +++ b/boot/msb_vm_init.sh @@ -57,7 +57,7 @@ curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-extern curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-externalSystem-deprecated", "version": "v11", "url": "/aai/v11/external-system","path": "/aai/v11/external-system","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" -curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-esr-server", "version": "v1", "url": "/api/aai-esr-server/v1","protocol": "REST", "visualRange":"1", "nodes": [ {"ip": "'$OPENO_IP'","port": "9518"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" +curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-esr-server", "version": "v1", "url": "/api/aai-esr-server/v1","protocol": "REST", "enable_ssl":"true", "visualRange":"1", "nodes": [ {"ip": "'$OPENO_IP'","port": "9518"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-esr-gui", "version": "v1", "url": "/esr-gui","path": "/iui/aai-esr-gui","protocol": "UI", "nodes": [ {"ip": "'$OPENO_IP'","port": "9519"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"