From 7bd71a2e066ee437fba53357db5553f7437200fe Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Fri, 22 Sep 2017 13:58:01 +0800 Subject: Initialize MSB java sdk docs Change-Id: I657ee91d5ec92320c065e3d6c13ef07222c8120e Issue-Id: MSB-81 Signed-off-by: HtuabingZhao --- .../src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java | 4 ++-- example/src/main/java/org/onap/msb/sdk/example/server/ExampleApp.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'example/src/main/java') diff --git a/example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java b/example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java index 15a9f6f..ac31836 100644 --- a/example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java +++ b/example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java @@ -28,8 +28,8 @@ public class ExampleClient { */ public static void main(String[] args) throws IOException { //For real use case, MSB IP and Port should come from configuration file instead of hard code here - String MSB_IP="127.0.0.1"; - int MSB_Port=10081; + String MSB_IP="10.96.33.44"; + int MSB_Port=30081; MSBServiceClient msbClient = new MSBServiceClient(MSB_IP, MSB_Port); diff --git a/example/src/main/java/org/onap/msb/sdk/example/server/ExampleApp.java b/example/src/main/java/org/onap/msb/sdk/example/server/ExampleApp.java index 76827c5..f44ba39 100644 --- a/example/src/main/java/org/onap/msb/sdk/example/server/ExampleApp.java +++ b/example/src/main/java/org/onap/msb/sdk/example/server/ExampleApp.java @@ -39,8 +39,8 @@ public class ExampleApp extends Application { @Override public void run(Config configuration, Environment environment) throws Exception { - String MSB_IP="127.0.0.1"; - int MSB_Port=10081; + String MSB_IP="10.96.33.44"; + int MSB_Port=30080; environment.jersey().register(new AnimalResource()); -- cgit 1.2.3-korg