summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/openecomp/vid/scheduler/SchedulerRestInterfaceIfc.java
blob: 839ab348d1cfd159000ebac258f3d81669364287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.openecomp.vid.scheduler;

import org.json.simple.JSONObject;
import org.openecomp.vid.scheduler.RestObjects.RestObject;
import org.springframework.stereotype.Service;

@Service
public interface SchedulerRestInterfaceIfc {

	public void initRestClient();

	public <T> void Get (T t, String sourceId, String path, org.openecomp.vid.scheduler.RestObject<T> restObject ) throws Exception;

	public <T> void Delete(T t, JSONObject requestDetails, String sourceID, String path, RestObject<T> restObject)
			throws Exception;

	public <T> void Post(T t, JSONObject r, String path, RestObject<T> restObject) throws Exception;

	public void logRequest(JSONObject requestDetails);
}