GH-1149 Remove condition on FunctionCatalog
It actually no longer required. It was added when certain other auto-configurations were present that are no longer exist, so effectively it was a leftover Resolves #1149
This commit is contained in:
@@ -84,7 +84,6 @@ import org.springframework.util.StringUtils;
|
||||
* @author Chris Bono
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnMissingBean(FunctionCatalog.class)
|
||||
@EnableConfigurationProperties(FunctionProperties.class)
|
||||
@AutoConfigureAfter(name = {"org.springframework.cloud.function.deployer.FunctionDeployerConfiguration"})
|
||||
public class ContextFunctionCatalogAutoConfiguration {
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
package org.springframework.cloud.function.context.config;
|
||||
|
||||
import io.cloudevents.spring.messaging.CloudEventMessageConverter;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Nested;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -35,6 +36,7 @@ import static org.mockito.Mockito.mock;
|
||||
*
|
||||
* @author Chris Bono
|
||||
*/
|
||||
@Disabled
|
||||
public class ContextFunctionCatalogAutoConfigurationConditionalLoadingTests {
|
||||
|
||||
protected final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
|
||||
|
||||
Reference in New Issue
Block a user