use of models.datatable.ComputeImageServersDataTable.ComputeImageServerInfo in project coprhd-controller by CoprHD.
the class ComputeSystems method computeImageServersJson.
public static void computeImageServersJson() {
List<ComputeImageServerInfo> results = Lists.newArrayList();
List<ComputeImageServerRestRep> computeImageServers = ComputeImageServerUtils.getComputeImageServers();
for (ComputeImageServerRestRep computeImageServerRR : computeImageServers) {
ComputeImageServerInfo computeImageServer = new ComputeImageServerInfo(computeImageServerRR);
results.add(computeImageServer);
}
renderJSON(DataTablesSupport.createJSON(results, params));
}
Aggregations