Removed the CloudFoundry AutoConfig
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
package org.springframework.cloud.contract.stubrunner.spring.cloud;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.cloud.contract.stubrunner.spring.StubRunnerConfiguration;
|
||||
import org.springframework.cloud.contract.stubrunner.spring.cloud.ribbon.StubRunnerRibbonAutoConfiguration;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.context.annotation.Profile;
|
||||
|
||||
/**
|
||||
* Autoconfiguration available in Cloud profile. Stubs out the discovery client communication.
|
||||
* Imports only HTTP related classes.
|
||||
*
|
||||
* @author Marcin Grzejszczak
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Configuration
|
||||
@Profile("cloud")
|
||||
@ConditionalOnProperty(value = "stubrunner.cloudfoundry.enabled", matchIfMissing = true)
|
||||
@Import({ StubRunnerConfiguration.class, StubRunnerSpringCloudAutoConfiguration.class, StubRunnerRibbonAutoConfiguration.class })
|
||||
public class StubRunnerCloudFoundryAutoConfiguration {
|
||||
}
|
||||
@@ -8,7 +8,4 @@ org.springframework.cloud.contract.stubrunner.messaging.integration.StubRunnerIn
|
||||
org.springframework.cloud.contract.stubrunner.messaging.camel.StubRunnerCamelConfiguration,\
|
||||
org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper.StubRunnerSpringCloudZookeeperAutoConfiguration,\
|
||||
org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.StubRunnerSpringCloudEurekaAutoConfiguration,\
|
||||
org.springframework.cloud.contract.stubrunner.spring.cloud.consul.StubRunnerSpringCloudConsulAutoConfiguration
|
||||
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
org.springframework.cloud.contract.stubrunner.spring.cloud.StubRunnerCloudFoundryAutoConfiguration
|
||||
org.springframework.cloud.contract.stubrunner.spring.cloud.consul.StubRunnerSpringCloudConsulAutoConfiguration
|
||||
Reference in New Issue
Block a user