diff options
author | LiZi <li.zi30@zte.com.cn> | 2018-03-12 18:51:47 +0800 |
---|---|---|
committer | 00164331 <li.zi30@zte.com.cn> | 2018-03-12 18:51:47 +0800 |
commit | 6810f31fefd8e6cc3e69e318012004415f7e1e96 (patch) | |
tree | 21e58d0eb6ed3350f5bb5c23c26e1f91c4d5b5e7 /boot/msb_vm_init.sh | |
parent | 0aac10bdbaac9972bd0fbf09fa6eee55223b42d5 (diff) |
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 <li.zi30@zte.com.cn>
Diffstat (limited to 'boot/msb_vm_init.sh')
-rw-r--r-- | boot/msb_vm_init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |