Merge from ECOMP's repository
[vid.git] / vid-app-common / src / main / java / org / onap / vid / scheduler / SchedulerRestInterfaceIfc.java
index d39e938..ca5c026 100644 (file)
@@ -1,6 +1,8 @@
 
 package org.onap.vid.scheduler;
 
+import org.onap.vid.mso.RestObject;
+import org.onap.vid.mso.RestObjectWithRequestInfo;
 import org.springframework.stereotype.Service;
 
 @Service
@@ -8,10 +10,9 @@ public interface SchedulerRestInterfaceIfc {
 
        void initRestClient();
 
-       <T> void Get(T t, String sourceId, String path, org.onap.vid.scheduler.RestObject<T> restObject);
+       <T> RestObjectWithRequestInfo Get(T t, String path, RestObject<T> restObject);
 
-       <T> void Delete(T t, String sourceID, String path, org.onap.vid.scheduler.RestObject<T> restObject)
-                       throws Exception;
+       <T> void Delete(T t, String sourceID, String path, RestObject<T> restObject);
 
 }