package uk.ac.ebi.biosamples;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import uk.ac.ebi.biosamples.client.BioSamplesClient;

//@SpringBootApplication
@Configuration
@EnableAutoConfiguration
public class Application {


	//this is needed to read nonstrings from properties files
	//must be static for lifecycle reasons
	@Bean
	public static PropertySourcesPlaceholderConfigurer getPropertySourcesPlaceholderConfigurer() {
		return new PropertySourcesPlaceholderConfigurer();
	}

	public static void main(String[] args) {
		SpringApplication.exit(SpringApplication.run(Application.class, args));
	}
}

@@ -138,32 +138,101 @@
 oConfiguration;%0A
+import org.springframework.boot.autoconfigure.SpringBootApplication;%0A
 import org.sprin
@@ -582,18 +582,16 @@
 lient;%0A%0A
-//
 @SpringB
@@ -609,48 +609,8 @@
 ion%0A
-@Configuration%0A@EnableAutoConfiguration%0A
 publ

fix to integration test execution