package com.eactive.eai.data;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

import com.eactive.eai.common.util.ApplicationContextProvider;
import com.eactive.eai.data.jpa.BaseRepositoryImpl;

@Configuration
@ComponentScan({ "com.eactive.eai.data.property" })
@EnableJpaRepositories(repositoryBaseClass = BaseRepositoryImpl.class, basePackages = {
		"com.eactive.eai.data.property" })
@EntityScan({ "com.eactive.eai.data.entity.onl.property" })
public class OnlineJPATestConfiguration {

	@Bean
	ApplicationContextProvider applicationContextProvider() {
		return new ApplicationContextProvider();
	}

}