aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/msb/sdk/httpclient/msb/MSBServiceClientTest.java
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2018-02-26 16:33:57 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2018-02-26 16:34:14 +0800
commit342e59ba8f874e692fb508d975448e6d0abaf266 (patch)
tree3f2fb664d8a3bcdb79d0218125fb2f2a2cd9377a /src/test/java/org/onap/msb/sdk/httpclient/msb/MSBServiceClientTest.java
parent97e4489fd90faf3addec24ebfe6ca87f191d99ec (diff)
Support HTTPS service registration
Issue-ID: MSB-147 Change-Id: I2fa11b7869cdc512a64497482e814970b701ce33 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'src/test/java/org/onap/msb/sdk/httpclient/msb/MSBServiceClientTest.java')
-rw-r--r--src/test/java/org/onap/msb/sdk/httpclient/msb/MSBServiceClientTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/onap/msb/sdk/httpclient/msb/MSBServiceClientTest.java b/src/test/java/org/onap/msb/sdk/httpclient/msb/MSBServiceClientTest.java
index 403e44b..5ee191b 100644
--- a/src/test/java/org/onap/msb/sdk/httpclient/msb/MSBServiceClientTest.java
+++ b/src/test/java/org/onap/msb/sdk/httpclient/msb/MSBServiceClientTest.java
@@ -1,5 +1,5 @@
/**
- * Copyright 2017 ZTE Corporation.
+ * Copyright 2017-2018 ZTE Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
@@ -39,7 +39,7 @@ public class MSBServiceClientTest {
"http://127.0.0.1:10081/api/microservices/v1/services/aai/version/v8";
private static final String MOCK_REG_SERVICE_JSON =
- "{\"serviceName\":\"aai\",\"version\":\"v8\",\"url\":\"/aai/v8\",\"protocol\":\"REST\",\"visualRange\":\"1\",\"lb_policy\":\"\",\"path\":\"/aai/v8\",\"nodes\":[{\"ip\":\"10.74.44.1\",\"port\":\"8443\",\"ttl\":\"\"}],\"metadata\":null}";
+ "{\"serviceName\":\"aai\",\"version\":\"v8\",\"url\":\"/aai/v8\",\"protocol\":\"REST\",\"visualRange\":\"1\",\"lb_policy\":\"\",\"path\":\"/aai/v8\",\"nodes\":[{\"ip\":\"10.74.44.1\",\"port\":\"8443\",\"ttl\":\"\"}],\"metadata\":null,\"enable_ssl\":false}";
@Test
public void test_registration_update_true() throws RouteException {