Search in sources :

Example 1 with StandByInfo

use of models.datatable.DisasterRecoveryDataTable.StandByInfo in project coprhd-controller by CoprHD.

the class DisasterRecovery method listJson.

public static void listJson() {
    List<DisasterRecoveryDataTable.StandByInfo> disasterRecoveries = Lists.newArrayList();
    for (SiteRestRep siteConfig : DisasterRecoveryUtils.getSites()) {
        disasterRecoveries.add(new StandByInfo(siteConfig));
    }
    renderJSON(DataTablesSupport.createJSON(disasterRecoveries, params));
}
Also used : SiteRestRep(com.emc.storageos.model.dr.SiteRestRep) StandByInfo(models.datatable.DisasterRecoveryDataTable.StandByInfo)

Aggregations

SiteRestRep (com.emc.storageos.model.dr.SiteRestRep)1 StandByInfo (models.datatable.DisasterRecoveryDataTable.StandByInfo)1