Search in sources :

Example 1 with ListServiceOfferingsRequest

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;
}
Also used : ListServiceOfferingsRequest(org.cloudfoundry.operations.services.ListServiceOfferingsRequest) ServiceOffering(org.cloudfoundry.operations.services.ServiceOffering)

Aggregations

ListServiceOfferingsRequest (org.cloudfoundry.operations.services.ListServiceOfferingsRequest)1 ServiceOffering (org.cloudfoundry.operations.services.ServiceOffering)1