aboutsummaryrefslogtreecommitdiffstats
path: root/example/src/main
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-22 06:45:49 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-22 06:45:49 +0000
commitcf73d3ced57c580908426da6734f554fa9478d79 (patch)
tree724f9e4b0b12db03579534a71aa7e83da6968152 /example/src/main
parentff8d695d686c7f8f9dba746f8c7ee2233f46fddb (diff)
parent7bd71a2e066ee437fba53357db5553f7437200fe (diff)
Merge "Initialize MSB java sdk docs"
Diffstat (limited to 'example/src/main')
-rw-r--r--example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java4
-rw-r--r--example/src/main/java/org/onap/msb/sdk/example/server/ExampleApp.java4
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());