|
|
|
@ -23,6 +23,8 @@ import java.lang.annotation.Retention;
|
|
|
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
|
import java.lang.annotation.Target;
|
|
|
|
|
|
|
|
|
|
import org.junit.jupiter.api.extension.ExtendWith;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.boot.test.autoconfigure.OverrideAutoConfiguration;
|
|
|
|
@ -34,6 +36,7 @@ import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
import org.springframework.core.annotation.AliasFor;
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
import org.springframework.test.context.BootstrapWith;
|
|
|
|
|
import org.springframework.test.context.junit.jupiter.SpringExtension;
|
|
|
|
|
import org.springframework.test.web.client.MockRestServiceServer;
|
|
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
|
|
|
@ -64,6 +67,7 @@ import org.springframework.web.client.RestTemplate;
|
|
|
|
|
@Documented
|
|
|
|
|
@Inherited
|
|
|
|
|
@BootstrapWith(SpringBootTestContextBootstrapper.class)
|
|
|
|
|
@ExtendWith(SpringExtension.class)
|
|
|
|
|
@OverrideAutoConfiguration(enabled = false)
|
|
|
|
|
@TypeExcludeFilters(RestClientExcludeFilter.class)
|
|
|
|
|
@AutoConfigureCache
|
|
|
|
|