From: HuabingZhao Date: Fri, 22 Sep 2017 06:45:49 +0000 (+0000) Subject: Merge "Initialize MSB java sdk docs" X-Git-Tag: v1.0.0~7 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=cf73d3ced57c580908426da6734f554fa9478d79;hp=ff8d695d686c7f8f9dba746f8c7ee2233f46fddb;p=msb%2Fjava-sdk.git Merge "Initialize MSB java sdk docs" --- diff --git a/.checkstyle b/.checkstyle new file mode 100644 index 0000000..2cd01ac --- /dev/null +++ b/.checkstyle @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/index.rst b/docs/index.rst new file mode 100644 index 0000000..833e1aa --- /dev/null +++ b/docs/index.rst @@ -0,0 +1,8 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. + +TODO Add files to toctree and delete this header +------------------------------------------------ +.. toctree:: + :maxdepth: 1 + + 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());