fix location of certs for aai statuses scripts 31/19731/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 19 Oct 2017 13:11:02 +0000 (15:11 +0200)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 19 Oct 2017 13:11:02 +0000 (15:11 +0200)
Change-Id: I8a47a6e97997daf9aeb289ba27fc0ac1e566242a
Issue-ID: OOM-366
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-search-data-service-health.json
kubernetes/config/docker/init/src/config/consul/consul-agent-config/certs/client-cert-onap.crt.pem [moved from kubernetes/config/docker/init/src/config/consul/consul-agent-config/bin/client-cert-onap.crt.pem with 100% similarity]
kubernetes/config/docker/init/src/config/consul/consul-agent-config/certs/client-cert-onap.key.pem [moved from kubernetes/config/docker/init/src/config/consul/consul-agent-config/bin/client-cert-onap.key.pem with 100% similarity]
kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/search-data-service-availability.sh

index c74fe8a..b1877c7 100644 (file)
@@ -18,7 +18,7 @@
       {
         "id": "search-data-service-availability",
         "name": "Search Data Service Availability",
-        "script": "curl -k  --cert /consul/config/bin/client-cert-onap.crt.pem --cert-type PEM --key /consul/config/bin/client-cert-onap.key.pem --key-type PEM https://search-data-service.onap-aai:9509/services/search-data-service/v1/jaxrsExample/jaxrs-services/echo/up 2>&1 | grep 'Up'",
+        "script": "curl -k  --cert /consul/config/certs/client-cert-onap.crt.pem --cert-type PEM --key /consul/config/bin/client-cert-onap.key.pem --key-type PEM https://search-data-service.onap-aai:9509/services/search-data-service/v1/jaxrsExample/jaxrs-services/echo/up 2>&1 | grep 'Up'",
         "interval": "15s"
       },
       {
index e5cf5cf..fc0b04a 100644 (file)
@@ -9,8 +9,8 @@ INDEX_URL="https://$SEARCH_SERVICE_NAME:$SEARCH_SERVICE_PORT/services/search-dat
 INDEX_SCHEMA="{\"fields\":[{\"name\": \"field1\", \"data-type\": \"string\"}]}"
 
 
-SEARCH_CERT_FILE="/consul/config/client-cert-onap.crt.pem"
-SEARCH_KEY_FILE="/consul/config/client-cert-onap.key.pem"
+SEARCH_CERT_FILE="/consul/config/certs/client-cert-onap.crt.pem"
+SEARCH_KEY_FILE="/consul/config/certs/client-cert-onap.key.pem"
 
 
 ## Try to create an index via the Search Data Service API.