Break up hystrix dashboard
This commit is contained in:
@@ -30,7 +30,7 @@ public class OAuth2SsoCompilerAutoConfiguration extends CompilerAutoConfiguratio
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean matches(ClassNode classNode) {
|
public boolean matches(ClassNode classNode) {
|
||||||
return AstUtils.hasAtLeastOneAnnotation(classNode, "EnableOAuth2Sso","EnableCloudfoundrySso");
|
return AstUtils.hasAtLeastOneAnnotation(classNode, "EnableOAuth2Sso");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -39,13 +39,12 @@ public class OAuth2SsoCompilerAutoConfiguration extends CompilerAutoConfiguratio
|
|||||||
.ifAnyMissingClasses(
|
.ifAnyMissingClasses(
|
||||||
"org.springframework.cloud.cloudfoundry.sso.EnableOAuth2Sso")
|
"org.springframework.cloud.cloudfoundry.sso.EnableOAuth2Sso")
|
||||||
.add("spring-cloud-starter-cloudfoundry")
|
.add("spring-cloud-starter-cloudfoundry")
|
||||||
.add("org.springframework.security.oauth:spring-security-oauth2:2.0.3.RELEASE");
|
.add("spring-security-oauth2");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void applyImports(ImportCustomizer imports) throws CompilationFailedException {
|
public void applyImports(ImportCustomizer imports) throws CompilationFailedException {
|
||||||
imports.addImports(
|
imports.addImports(
|
||||||
"org.springframework.cloud.cloudfoundry.sso.EnableCloudfoundrySso",
|
|
||||||
"org.springframework.cloud.cloudfoundry.sso.EnableOAuth2Sso",
|
"org.springframework.cloud.cloudfoundry.sso.EnableOAuth2Sso",
|
||||||
"org.springframework.cloud.cloudfoundry.sso.OAuth2SsoConfigurerAdapter");
|
"org.springframework.cloud.cloudfoundry.sso.OAuth2SsoConfigurerAdapter");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user