Register esr to MSB with enable_ssl. 77/35177/1
authorLiZi <li.zi30@zte.com.cn>
Mon, 12 Mar 2018 10:51:47 +0000 (18:51 +0800)
committer00164331 <li.zi30@zte.com.cn>
Mon, 12 Mar 2018 10:51:47 +0000 (18:51 +0800)
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 <li.zi30@zte.com.cn>
boot/msb_vm_init.sh

index 0a087b0..78f3165 100644 (file)
@@ -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"