spring-cloud-openfeign
spring-cloud-openfeign copied to clipboard
jackson ident not working
trafficstars
jackson ident doesn't seem to work. This is probably an I durm situation.
I have this... but the json is only output on a single line, suggestions? client is super simple, I suspect you could client up anything with log level full to test this.
@SpringBootTest
@ActiveProfiles("dev")
@TestPropertySource(
properties = [
"cof.devexchange.feign-log-level = full", // is output but only on a single line
"spring.jackson.serialization.indent-output= true"
]
)
internal class BusinessDivisionClientLiveTest @Autowired constructor(val client: BusinessDivisionClient) {
@Test
@WithMockUser
fun findAllBy() {
val res = client.findAllBy(BusinessDivisionQueryParams(includeRoles = true))
assertThat(res.divisions).isNotEmpty
}
}