use of com.emc.storageos.model.keystone.OSTenantRestRep in project coprhd-controller by CoprHD.
the class Tenants method tenantsListToRemoveJson.
public static void tenantsListToRemoveJson() {
OpenStackTenantsUtils.synchronizeOpenStackTenants();
List<OpenStackTenantsDataTable.OpenStackTenant> tenants = Lists.newArrayList();
for (OSTenantRestRep tenant : OpenStackTenantsUtils.getOpenStackTenantsFromDataBase()) {
if (!tenant.getExcluded()) {
tenants.add(new OpenStackTenantsDataTable.OpenStackTenant(tenant));
}
}
renderJSON(DataTablesSupport.createJSON(tenants, params));
}
Aggregations