summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/scheduler/SchedulerRestInterfaceIfc.java
blob: 77353e5e86a96d8971e68f41ee335f4ddb354c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.openecomp.portalapp.portal.scheduler;

import org.json.simple.JSONObject;
import org.springframework.stereotype.Service;
import org.openecomp.portalapp.portal.scheduler.restobjects.RestObject;


@Service
public interface SchedulerRestInterfaceIfc {

	public void initRestClient();

	public <T> void Get(T t, String sourceId, String path, org.openecomp.portalapp.portal.scheduler.restobjects.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);
}