<?xml version="1.0" encoding="utf-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:gfe="http://www.springframework.org/schema/geode"
	   xmlns:gfe-data="http://www.springframework.org/schema/data/geode"
	   xmlns:repo="http://www.springframework.org/schema/data/repository"
	   xmlns:util="http://www.springframework.org/schema/util"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xsi:schemaLocation="
        http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/geode https://www.springframework.org/schema/geode/spring-geode.xsd
        http://www.springframework.org/schema/data/geode https://www.springframework.org/schema/data/geode/spring-data-geode.xsd
		http://www.springframework.org/schema/data/repository https://www.springframework.org/schema/data/repository/spring-repository.xsd
        http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd
">

	<util:properties id="gemfireProperties">
		<prop key="name">cacheInitializationTest</prop>
		<prop key="log-level">error</prop>
	</util:properties>

	<gfe:cache properties-ref="gemfireProperties"/>

	<gfe:replicated-region id="Users" persistent="false">
		<gfe:replicated-region name="Programmers" persistent="false"/>
	</gfe:replicated-region>

	<gfe:replicated-region id="Local" persistent="false">
		<gfe:replicated-region name="Admin" persistent="false">
			<gfe:replicated-region name="Users" persistent="false"/>
		</gfe:replicated-region>
		<gfe:replicated-region name="Guest" persistent="false">
			<gfe:replicated-region name="Users" persistent="false"/>
		</gfe:replicated-region>
	</gfe:replicated-region>

	<gfe-data:repositories base-package="org.springframework.data.gemfire.repository.sample">
		<repo:include-filter type="assignable"
							 expression="org.springframework.data.gemfire.repository.sample.ProgrammerRepository"/>
		<repo:include-filter type="assignable"
							 expression="org.springframework.data.gemfire.repository.sample.GuestUserRepository"/>
		<repo:include-filter type="assignable"
							 expression="org.springframework.data.gemfire.repository.sample.RootUserRepository"/>
	</gfe-data:repositories>

</beans>
