Deprecate support for Spring Cloud Connectors in favor of Java CFEnv
Closes gh-17877
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
|
||||
package org.springframework.boot.autoconfigure.cloud;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
|
||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
||||
@@ -54,4 +57,10 @@ public class CloudServiceConnectorsAutoConfiguration {
|
||||
// Cloud configuration needs to happen early (before data, mongo etc.)
|
||||
public static final int ORDER = Ordered.HIGHEST_PRECEDENCE + 20;
|
||||
|
||||
private static final Log logger = LogFactory.getLog(CloudServiceConnectorsAutoConfiguration.class);
|
||||
|
||||
public CloudServiceConnectorsAutoConfiguration() {
|
||||
logger.warn("Support for Spring Cloud Connectors has been deprecated in favor of Java CFEnv");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user