use of com.emc.storageos.db.client.util.OrderTextCreator in project coprhd-controller by CoprHD.
the class SupportPackageCreator method getOrderTextCreator.
private OrderTextCreator getOrderTextCreator(OrderRestRep order) {
ViPRCatalogClient2 client = catalogApi();
OrderTextCreator creator = new OrderTextCreator();
creator.setOrder(order);
creator.setService(client.services().get(order.getCatalogService()));
creator.setState(client.orders().getExecutionState(order.getId()));
creator.setLogs(client.orders().getLogs(order.getId()));
creator.setExeLogs(client.orders().getExecutionLogs(order.getId()));
return creator;
}
Aggregations