Example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 ReactorUtils get

List of usage examples for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 ReactorUtils get

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 ReactorUtils get.

Prototype

public static <T> T get(Mono<T> mono) throws Exception 

Source Link

Document

Similar to Mono.get but logs a more traceable version of the exception to Eclipse's error log before 'rethrowing' it.

Usage

From source file:org.springframework.ide.eclipse.boot.dash.test.CloudFoundryClientTest.java

private void doSetRoutesTest(String appName, ImmutableSet<String> routes) throws Exception {
    ReactorUtils.get(client.setRoutes(appName, routes));
    CFApplicationDetail app = client.getApplication(appName);
    assertEquals(routes, ImmutableSet.copyOf(app.getUris()));
}