// Path: spring-data-solr-demo-data-rest/src/main/java/org/tuxdevelop/spring/data/solr/demo/SolrDataRestApplication.java
// @SpringBootApplication
// @EnableSolrRepositories(basePackages = "org.tuxdevelop.spring.data.solr.demo.repository")
// public class SolrDataRestApplication {
// 
// 	@Autowired
// 	private SolrInitializer solrInitializer;
// 
// 	@Autowired
// 	private StarbucksStoreRepository starbucksStoreRepository;
// 
// 	public static void main(final String[] args) {
// 		SpringApplication.run(SolrDataRestApplication.class, args);
// 	}
// 
// 	@PostConstruct
// 	public void init() throws Exception {
// 		solrInitializer.importStarbucks();
// 	}
// 
// 	@PreDestroy
// 	public void deleteAll() {
// 		starbucksStoreRepository.deleteAll();
// 	}
// }


import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.data.solr.repository.config.EnableSolrRepositories;
import org.springframework.web.client.RestTemplate;
import org.tuxdevelop.spring.data.solr.demo.SolrDataRestApplication;
package org.tuxdevelop.spring.data.solr.demo.configuration;


@Configuration
@EnableAutoConfiguration
@EnableSolrRepositories(basePackages = "org.tuxdevelop.spring.data.solr.demo.repository")
@ComponentScan(excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value =
// Path: spring-data-solr-demo-data-rest/src/main/java/org/tuxdevelop/spring/data/solr/demo/SolrDataRestApplication.java
// @SpringBootApplication
// @EnableSolrRepositories(basePackages = "org.tuxdevelop.spring.data.solr.demo.repository")
// public class SolrDataRestApplication {
// 
// 	@Autowired
// 	private SolrInitializer solrInitializer;
// 
// 	@Autowired
// 	private StarbucksStoreRepository starbucksStoreRepository;
// 
// 	public static void main(final String[] args) {
// 		SpringApplication.run(SolrDataRestApplication.class, args);
// 	}
// 
// 	@PostConstruct
// 	public void init() throws Exception {
// 		solrInitializer.importStarbucks();
// 	}
// 
// 	@PreDestroy
// 	public void deleteAll() {
// 		starbucksStoreRepository.deleteAll();
// 	}
// }


// Path: spring-data-solr-demo-data-rest/src/test/java/org/tuxdevelop/spring/data/solr/demo/configuration/ITConfiguration.java
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.data.solr.repository.config.EnableSolrRepositories;
import org.springframework.web.client.RestTemplate;
import org.tuxdevelop.spring.data.solr.demo.SolrDataRestApplication;

package org.tuxdevelop.spring.data.solr.demo.configuration;


@Configuration
@EnableAutoConfiguration
@EnableSolrRepositories(basePackages = "org.tuxdevelop.spring.data.solr.demo.repository")
@ComponentScan(excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value =
        SolrDataRestApplication.class))