Search in sources :

Example 1 with OvfReturn

use of org.ovirt.engine.core.vdsbroker.vdsbroker.OvfReturn in project ovirt-engine by oVirt.

the class JsonRpcVdsServer method getConvertedVm.

@Override
public OvfReturn getConvertedVm(String jobUUID) {
    JsonRpcRequest request = new RequestBuilder("Host.getConvertedVm").withParameter("jobid", jobUUID).build();
    Map<String, Object> response = new FutureMap(this.client, request).withResponseKey("ovf").withResponseType(String.class);
    return new OvfReturn(response);
}
Also used : JsonRpcRequest(org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest) RequestBuilder(org.ovirt.vdsm.jsonrpc.client.RequestBuilder) OvfReturn(org.ovirt.engine.core.vdsbroker.vdsbroker.OvfReturn)

Aggregations

OvfReturn (org.ovirt.engine.core.vdsbroker.vdsbroker.OvfReturn)1 JsonRpcRequest (org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest)1 RequestBuilder (org.ovirt.vdsm.jsonrpc.client.RequestBuilder)1