SWitch oauth2 load balancer support on
This commit is contained in:
@@ -62,6 +62,7 @@ public abstract class BaseStreamCompilerAutoConfiguration extends CompilerAutoCo
|
||||
public void applyImports(ImportCustomizer imports) throws CompilationFailedException {
|
||||
this.integration.applyImports(imports);
|
||||
imports.addImports("org.springframework.boot.groovy.cloud.EnableBinding");
|
||||
imports.addImport("IntegrationMessageSource", "org.springframework.integration.core.MessageSource");
|
||||
imports.addStarImports("org.springframework.cloud.stream.annotation",
|
||||
"org.springframework.cloud.stream.messaging");
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
* @author Dave Syer
|
||||
*
|
||||
*/
|
||||
public class OAuth2SsoCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
public class OAuth2LoadBalancedCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@Override
|
||||
public boolean matches(ClassNode classNode) {
|
||||
@@ -4,6 +4,7 @@ org.springframework.cloud.cli.compiler.EurekaClientCompilerAutoConfiguration
|
||||
org.springframework.cloud.cli.compiler.EurekaServerCompilerAutoConfiguration
|
||||
org.springframework.cloud.cli.compiler.HystrixCompilerAutoConfiguration
|
||||
org.springframework.cloud.cli.compiler.HystrixDashboardCompilerAutoConfiguration
|
||||
org.springframework.cloud.cli.compiler.OAuth2LoadBalancedCompilerAutoConfiguration
|
||||
org.springframework.cloud.cli.compiler.RibbonClientCompilerAutoConfiguration
|
||||
org.springframework.cloud.cli.compiler.StreamKafkaCompilerAutoConfiguration
|
||||
org.springframework.cloud.cli.compiler.StreamRabbitCompilerAutoConfiguration
|
||||
|
||||
Reference in New Issue
Block a user