@ComponentScan(excludeFilters = @Filter(Configuration.class))
public class RestConfiguration {
@Bean
public WebMvcConfigurer configurer() {
return new WebMvcConfigurerAdapter() {
@Value("${xd.ui.allow_origin:http://localhost:9889}")
private String allowedOrigin;
@Override