use of org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method glusterWebhookAdd.
@Override
public StatusOnlyReturn glusterWebhookAdd(String url, String bearerToken) {
JsonRpcRequest request = new RequestBuilder("GlusterEvent.webhookAdd").withParameter("url", url).withParameter("bearerToken", bearerToken).build();
Map<String, Object> response = new FutureMap(this.client, request);
return new StatusOnlyReturn(response);
}
use of org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method extend_image_ticket.
@Override
public StatusOnlyReturn extend_image_ticket(String ticketId, long timeout) {
JsonRpcRequest request = new RequestBuilder("Host.extend_image_ticket").withParameter("uuid", ticketId).withParameter("timeout", timeout).build();
Map<String, Object> response = new FutureMap(this.client, request);
return new StatusOnlyReturn(response);
}
use of org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method glusterVolumeSnapshotDeleteAll.
@Override
public StatusOnlyReturn glusterVolumeSnapshotDeleteAll(String volumeName) {
JsonRpcRequest request = new RequestBuilder("GlusterVolume.snapshotDeleteAll").withParameter("volumeName", volumeName).build();
Map<String, Object> response = new FutureMap(this.client, request);
return new StatusOnlyReturn(response);
}
use of org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method glusterStopProcesses.
@Override
public StatusOnlyReturn glusterStopProcesses() {
JsonRpcRequest request = new RequestBuilder("GlusterHost.processesStop").build();
Map<String, Object> response = new FutureMap(this.client, request);
return new StatusOnlyReturn(response);
}
use of org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method glusterWebhookSync.
public StatusOnlyReturn glusterWebhookSync() {
JsonRpcRequest request = new RequestBuilder("GlusterEvent.webhookSync").build();
Map<String, Object> response = new FutureMap(this.client, request);
return new StatusOnlyReturn(response);
}
Aggregations