polish
This commit is contained in:
@@ -25,7 +25,7 @@ import org.springframework.context.annotation.Lazy;
|
||||
/**
|
||||
* Provides auto-configuration for the Reactor-based Cloud Foundry client v3.x.
|
||||
*
|
||||
* @author <a href="mailto:josh@joshlong.com">Josh Long</a>
|
||||
* @author Josh Long
|
||||
* @author Ben Hale
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:josh@joshlong.com">Josh Long</a>
|
||||
* @author Josh Long
|
||||
*/
|
||||
@ConfigurationProperties(prefix = "spring.cloud.cloudfoundry")
|
||||
public class CloudFoundryProperties implements InitializingBean {
|
||||
|
||||
@@ -12,7 +12,7 @@ import reactor.util.function.Tuple2;
|
||||
* Supports the discovery of a combination of an application instance's URI, port,
|
||||
* application ID, and application index.
|
||||
*
|
||||
* @author <a href="mailto:josh@joshlong.com">Josh Long</a>
|
||||
* @author Josh Long
|
||||
*/
|
||||
public class CloudFoundryService {
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ import static org.junit.Assert.assertEquals;
|
||||
import static org.mockito.Mockito.mock;
|
||||
|
||||
/**
|
||||
* @author <A href="mailto:josh@Joshlong.com">Josh Long</A>
|
||||
* @author Josh Long
|
||||
*/
|
||||
public class CloudFoundryDiscoveryClientTest {
|
||||
|
||||
|
||||
@@ -16,28 +16,29 @@
|
||||
|
||||
package org.springframework.cloud.cloudfoundry.discovery;
|
||||
|
||||
import com.netflix.client.config.IClientConfig;
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.List;
|
||||
|
||||
import org.cloudfoundry.operations.applications.ApplicationDetail;
|
||||
import org.cloudfoundry.operations.applications.InstanceDetail;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Assume;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.mockito.Mockito;
|
||||
import org.springframework.cloud.cloudfoundry.CloudFoundryService;
|
||||
import org.springframework.util.ReflectionUtils;
|
||||
import reactor.core.publisher.Flux;
|
||||
import reactor.util.function.Tuple2;
|
||||
import reactor.util.function.Tuples;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.List;
|
||||
import com.netflix.client.config.IClientConfig;
|
||||
|
||||
import static org.mockito.Mockito.mock;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import reactor.core.publisher.Flux;
|
||||
import reactor.util.function.Tuple2;
|
||||
import reactor.util.function.Tuples;
|
||||
|
||||
/**
|
||||
* @author <A href="mailto:josh@Joshlong.com">Josh Long</A>
|
||||
* @author Josh Long
|
||||
*/
|
||||
public class CloudFoundryServerListTest {
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.context.annotation.Bean;
|
||||
* root called {@code hi-service.groovy} which you can deploy using the {@code spring} CLI
|
||||
* and the {@code cf} CLI that works appropriately for this demonstration.
|
||||
*
|
||||
* @author <a href="mailto:josh@joshlong.com">Josh Long</a>
|
||||
* @author Josh Long
|
||||
* @author Spencer Gibb
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user