Modify Example code
[msb/java-sdk.git] / example / src / main / java / org / onap / msb / sdk / example / client / AnimalServiceClient.java
  * or implied. See the License for the specific language governing permissions and limitations under
  * the License.
  ******************************************************************************/
-package org.onap.msb.sdk.httpclient.client;
+package org.onap.msb.sdk.example.client;
 
+import org.onap.msb.sdk.example.common.Animal;
 import org.onap.msb.sdk.httpclient.annotaion.ServiceHttpEndPoint;
-import org.onap.msb.sdk.httpclient.common.Animal;
 
 import retrofit2.Call;
 import retrofit2.http.GET;
@@ -25,10 +25,9 @@ import retrofit2.http.Path;
  *
  */
 
-@ServiceHttpEndPoint(serviceName = "animals", serviceVersion = "v1", nameSpace = "javaAF")
+@ServiceHttpEndPoint(serviceName = "animals", serviceVersion = "v1")
 public interface AnimalServiceClient {
 
   @GET("animals/{name}")
-  Call<Animal> queryAnimal(@Path("name") String name);
-
+  Call<Animal> queryAnimal1(@Path("name") String name);
 }