From 1a7355b3b40cfd2238d142ea372c2c1e3101fe8d Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Mon, 21 Aug 2017 11:33:38 +0800 Subject: modify method name of teh exmaple app Issue_Id: MSB-23 Change-Id: I49aa702c318a175dd44e478b376ab79ed606ddaf Signed-off-by: HuabingZhao --- .../main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java | 2 +- .../src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'example/src') diff --git a/example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java b/example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java index 7cd1654..cd9ebbb 100644 --- a/example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java +++ b/example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java @@ -24,5 +24,5 @@ import retrofit2.http.Path; public interface AnimalServiceClient { @GET("animals/{name}") - Call queryAnimal1(@Path("name") String name); + Call queryAnimal(@Path("name") String name); } 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 4d7ea68..24f9ede 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 @@ -38,7 +38,7 @@ public class ExampleClient { AnimalServiceClient implProxy = restServiceCreater.createService(AnimalServiceClient.class); - Animal animal = implProxy.queryAnimal1("panda").execute().body(); + Animal animal = implProxy.queryAnimal("panda").execute().body(); System.out.println("animal:" + animal); } -- cgit 1.2.3-korg