getSpaceName(spaces, ResourceUtils.getEntity(resource).getSpaceId())
)))
.map(function(DefaultRoutes::toRoute));
}
@Override
<BUG>public Mono<Void> map(MapRouteRequest request) {
</BUG>
return Mono
.when(this.cloudFoundryClient, this.organizationId, this.spaceId)
.then(function((cloudFoundryClient, organizationId, spaceId) -> Mono

getSpaceName(spaces, ResourceUtils.getEntity(resource).getSpaceId())
)))
.map(function(DefaultRoutes::toRoute));
}
@Override
public Mono<Integer> map(MapRouteRequest request) {
return Mono
.when(this.cloudFoundryClient, this.organizationId, this.spaceId)
.then(function((cloudFoundryClient, organizationId, spaceId) -> Mono
