Search in sources :

Example 1 with V3TemplateHelper

use of org.ovirt.engine.api.v3.helpers.V3TemplateHelper in project ovirt-engine by oVirt.

the class V3TemplatesServer method list.

@GET
public V3Templates list() {
    V3Templates templates = adaptList(getDelegate()::list);
    templates.getTemplates().forEach(V3TemplateHelper::addDisksLink);
    return templates;
}
Also used : V3TemplateHelper(org.ovirt.engine.api.v3.helpers.V3TemplateHelper) V3Templates(org.ovirt.engine.api.v3.types.V3Templates) GET(javax.ws.rs.GET)

Aggregations

GET (javax.ws.rs.GET)1 V3TemplateHelper (org.ovirt.engine.api.v3.helpers.V3TemplateHelper)1 V3Templates (org.ovirt.engine.api.v3.types.V3Templates)1