Delete ClientConfiguration.java
This commit is contained in:
parent
d7d78df6f6
commit
d8a58d8e0f
|
@ -1,21 +0,0 @@
|
||||||
package com.baeldung.cloud.openfeign.config;
|
|
||||||
|
|
||||||
import org.springframework.context.annotation.Bean;
|
|
||||||
import org.springframework.context.annotation.Configuration;
|
|
||||||
|
|
||||||
import feign.Logger;
|
|
||||||
import feign.codec.ErrorDecoder;
|
|
||||||
|
|
||||||
@Configuration
|
|
||||||
public class ClientConfiguration {
|
|
||||||
|
|
||||||
@Bean
|
|
||||||
public Logger.Level feignLoggerLevel() {
|
|
||||||
return Logger.Level.FULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Bean
|
|
||||||
public ErrorDecoder errorDecoder() {
|
|
||||||
return new ErrorDecoder.Default();
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue