use of org.cloudfoundry.operations.services.ListServiceOfferingsRequest in project TOSCAna by StuPro-TOSCAna.
the class Connection method getServices.
/**
* @return a list with all service offerings of the provider
*/
public List<ServiceOffering> getServices() {
ListServiceOfferingsRequest serviceOfferingsRequest = ListServiceOfferingsRequest.builder().build();
List<ServiceOffering> listServiceOfferings = cloudFoundryOperations.services().listServiceOfferings(serviceOfferingsRequest).collectList().block();
return listServiceOfferings;
}
Aggregations