Skip to content

Commit

Permalink
Fixed Skipper Smoke Tests after removing `org.springframework.cloud.c…
Browse files Browse the repository at this point in the history
…ommon.security.CommonSecurityAutoConfiguration` that IDE incorrectly identified as not being an AutoConfiguration class. (spring-cloud#5729)
  • Loading branch information
Corneil du Plessis authored Mar 8, 2024
1 parent 3e4b13b commit e8c1a96
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.session.SessionAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.common.security.CommonSecurityAutoConfiguration;
import org.springframework.cloud.deployer.spi.cloudfoundry.CloudFoundryDeployerAutoConfiguration;
import org.springframework.cloud.deployer.spi.kubernetes.KubernetesAutoConfiguration;
import org.springframework.cloud.deployer.spi.local.LocalDeployerAutoConfiguration;
Expand Down Expand Up @@ -128,7 +129,8 @@ private static Release createRelease() {
@SpringBootApplication(exclude = {CloudFoundryDeployerAutoConfiguration.class,
LocalDeployerAutoConfiguration.class,
KubernetesAutoConfiguration.class,
SessionAutoConfiguration.class
SessionAutoConfiguration.class,
CommonSecurityAutoConfiguration.class
})
@EnableSkipperServer
public static class LocalTestSkipperServer {
Expand Down

0 comments on commit e8c1a96

Please sign in to comment.