X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=boot%2Fmsb_vm_init.sh;h=938a3d6d5a6f7fe5c65582b2158a0618fcbb4b29;hb=913bdef5b9fed11b7131584ae092bade71771c2a;hp=f84412b18eb5d1e3c95d898c81ee95d13860d0b8;hpb=abc658e46583a13d59b7dbcb402b682b6cd8558c;p=demo.git diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh index f84412b1..938a3d6d 100644 --- a/boot/msb_vm_init.sh +++ b/boot/msb_vm_init.sh @@ -105,6 +105,8 @@ curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "_aai-query #named-query curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-named-query", "url": "/aai/search","protocol": "REST", "enable_ssl":"true", "lb_policy":"ip_hash", "nodes": [ {"ip": "'$AAI_IP1'","port": "8446"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "_aai-named-query", "url": "/aai/search","path": "/aai/search","protocol": "REST", "enable_ssl":"true", "lb_policy":"ip_hash", "nodes": [ {"ip": "'$AAI_IP1'","port": "8446"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" +#search +curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-search", "version": "v11", "url": "/aai/v11/search","protocol": "REST", "enable_ssl":"True", "lb_policy":"round-robin","nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" # esr (not deployed together with AAI