91142a041e40695f7be0aebd6dca040d71bea7a3
[so.git] /
1 package org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.client;
2
3 import okhttp3.RequestBody;
4 import okhttp3.ResponseBody;
5 import org.onap.msb.sdk.httpclient.annotaion.ServiceHttpEndPoint;
6 import org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.client.entity.NetworkRpcInputEntity;
7 import org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.client.entity.NetworkRpcOutputEntity;
8 import retrofit2.Call;
9 import retrofit2.http.Body;
10 import retrofit2.http.POST;
11
12 /**
13  * Created by 10112215 on 2017/9/16.
14  */
15 @ServiceHttpEndPoint(serviceName = "sdnc", serviceVersion = "v1")
16 public interface GenericResourceApi {
17
18     @POST("/restconf/operations/GENERIC-RESOURCE-API:network-topology-operation")
19     Call<ResponseBody> postNetworkTopologyPeration(@Body RequestBody input);
20
21     @POST("/restconf/operations/GENERIC-RESOURCE-API:network-topology-operation")
22     Call<NetworkRpcOutputEntity> postNetworkTopologyPeration(@Body NetworkRpcInputEntity input);
23
24 }
25