diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-09-22 13:58:01 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-09-22 13:58:01 +0800 |
commit | 7bd71a2e066ee437fba53357db5553f7437200fe (patch) | |
tree | 93bd17ccc8743bfb5d231d9c61a6682b7eaf3936 /example/src/main/java | |
parent | aea8b935854fda34d7d63a5b86bf32ef38f385ee (diff) |
Initialize MSB java sdk docs
Change-Id: I657ee91d5ec92320c065e3d6c13ef07222c8120e
Issue-Id: MSB-81
Signed-off-by: HtuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'example/src/main/java')
-rw-r--r-- | example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java | 4 | ||||
-rw-r--r-- | example/src/main/java/org/onap/msb/sdk/example/server/ExampleApp.java | 4 |
2 files changed, 4 insertions, 4 deletions
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<Config> { @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()); |