org.onap migration
[vid.git] / vid-app-common / src / main / java / org / onap / vid / scheduler / SchedulerRestInterfaceIfc.java
1
2 package org.onap.vid.scheduler;
3
4 import org.json.simple.JSONObject;
5 import org.onap.vid.scheduler.RestObjects.RestObject;
6 import org.springframework.stereotype.Service;
7
8 @Service
9 public interface SchedulerRestInterfaceIfc {
10
11         public void initRestClient();
12
13         public <T> void Get (T t, String sourceId, String path, org.onap.vid.scheduler.RestObject<T> restObject ) throws Exception;
14
15         public <T> void Delete(T t, String sourceID, String path, org.onap.vid.scheduler.RestObject<T> restObject)
16                         throws Exception;
17
18         public <T> void Post(T t, JSONObject r, String path, RestObject<T> restObject) throws Exception;
19
20         public void logRequest(JSONObject requestDetails);
21 }
22
23