Update CnfAdapter Endpoint 20/115320/1
authorLukasz Rajewski <lukasz.rajewski@orange.com>
Tue, 24 Nov 2020 13:34:25 +0000 (14:34 +0100)
committerLukasz Rajewski <lukasz.rajewski@orange.com>
Tue, 24 Nov 2020 13:35:12 +0000 (14:35 +0100)
Update CnfAdapter Endpoint

Change-Id: I26aae1fb3d26edc72e0ddc7985517b9a23a0166f
Issue-ID: SO-3399
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/cnf/CnfAdapterClient.java

index 60ad211..6765999 100644 (file)
@@ -61,7 +61,7 @@ public class CnfAdapterClient {
         try {
             // String uri = env.getRequiredProperty("mso.cnf.adapter.endpoint"); //TODO: This needs to be added as well
             // for configuration
-            String uri = "https://cnf-adapter:8090"; // TODO: What is the correct uri?
+            String uri = "http://cnf-adapter:8090"; // TODO: What is the correct uri?
             String endpoint = UriBuilder.fromUri(uri).path(INSTANCE_CREATE_PATH).build().toString();
             HttpEntity<?> entity = getHttpEntity(request);
             ResponseEntity<InstanceResponse> result =
@@ -81,7 +81,7 @@ public class CnfAdapterClient {
         try {
             // String uri = env.getRequiredProperty("mso.cnf.adapter.endpoint"); //TODO: This needs to be added as well
             // for configuration
-            String uri = "https://cnf-adapter:8090"; // TODO: What is the correct uri?
+            String uri = "http://cnf-adapter:8090"; // TODO: What is the correct uri?
             String endpoint = UriBuilder.fromUri(uri).path("/api/cnf-adapter/v1/healthcheck").build().toString();
             HttpEntity<?> entity = new HttpEntity<>(getHttpHeaders());
             ResponseEntity<InstanceResponse> result =