org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration Java Examples
The following examples show how to use
org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FeignHalAutoConfigurationContextTests.java From spring-cloud-openfeign with Apache License 2.0 | 5 votes |
@Before public void setUp() { contextRunner = new WebApplicationContextRunner() .withConfiguration(AutoConfigurations.of(JacksonAutoConfiguration.class, HttpMessageConvertersAutoConfiguration.class, HypermediaAutoConfiguration.class, RepositoryRestMvcAutoConfiguration.class, FeignHalAutoConfiguration.class)) .withPropertyValues("debug=true"); }
Example #2
Source File: DataFlowServerConfigurationTests.java From spring-cloud-dataflow with Apache License 2.0 | 5 votes |
@Before public void setup() { context = new AnnotationConfigApplicationContext(); context.setId("testDataFlowConfig"); context.register(DataFlowServerConfigurationTests.TestConfiguration.class, SecurityAutoConfiguration.class, DataFlowServerAutoConfiguration.class, DataFlowControllerAutoConfiguration.class, DataSourceAutoConfiguration.class, DataFlowServerConfiguration.class, PropertyPlaceholderAutoConfiguration.class, RestTemplateAutoConfiguration.class, HibernateJpaAutoConfiguration.class, WebConfiguration.class, SchedulerConfiguration.class, JacksonAutoConfiguration.class, SimpleTaskAutoConfiguration.class, ResourceLoadingAutoConfiguration.class); environment = new StandardEnvironment(); propertySources = environment.getPropertySources(); }
Example #3
Source File: FeaturesEndpointTests.java From spring-cloud-commons with Apache License 2.0 | 5 votes |
@Before public void setup() { this.context = new AnnotationConfigApplicationContext(); this.context.register(JacksonAutoConfiguration.class, FeaturesConfig.class, Config.class); this.context.refresh(); }