2 package org.openecomp.portalapp.portal.scheduler;
4 import org.json.simple.JSONObject;
5 import org.springframework.stereotype.Service;
6 import org.openecomp.portalapp.portal.scheduler.restobjects.RestObject;
10 public interface SchedulerRestInterfaceIfc {
12 public void initRestClient();
14 public <T> void Get(T t, String sourceId, String path, org.openecomp.portalapp.portal.scheduler.restobjects.RestObject<T> restObject ) throws Exception;
16 public <T> void Delete(T t, JSONObject requestDetails, String sourceID, String path, RestObject<T> restObject)
19 public <T> void Post(T t, JSONObject r, String path, RestObject<T> restObject) throws Exception;
21 public void logRequest(JSONObject requestDetails);