use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class CatalogImageUtils method deleteCatalogImage.
public static void deleteCatalogImage(URI id) {
ViPRCatalogClient2 catalog = getCatalogClient();
catalog.images().deactivate(id);
}
use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class CatalogServiceUtils method deleteCatalogService.
public static void deleteCatalogService(URI catalogServiceId) {
ViPRCatalogClient2 catalog = getCatalogClient();
catalog.services().deactivate(catalogServiceId);
}
use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class CatalogCategoryUtils method upgradeCatalog.
public static void upgradeCatalog() {
ViPRCatalogClient2 catalog = getCatalogClient();
catalog.categories().upgradeCatalog(uri(Models.currentAdminTenant()));
}
use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class CatalogCategoryUtils method deleteCatalogCategory.
public static void deleteCatalogCategory(URI catalogCategoryId) {
ViPRCatalogClient2 catalog = getCatalogClient();
catalog.categories().deactivate(catalogCategoryId);
}
use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class AssetOptionUtils method getAssetDependencies.
public static List<String> getAssetDependencies(String assetType, Set<String> availableAssetTypes) {
ViPRCatalogClient2 catalog = getCatalogClient();
AssetDependencyRequest request = new AssetDependencyRequest();
request.setTenantId(uri(Models.currentAdminTenant()));
request.setAvailableAssetTypes(availableAssetTypes);
return catalog.assetOptions().getAssetDependencies(assetType, availableAssetTypes);
}
Aggregations