<?xml version="1.0" encoding="UTF-8"?>
<StrolchConfiguration>
	<env id="dev">
		<Runtime>
			<applicationName>StrolchPersistenceTest</applicationName>
			<Properties>
				<verbose>true</verbose>
			</Properties>
		</Runtime>
		<Component>
			<name>PrivilegeHandler</name>
			<api>li.strolch.runtime.privilege.PrivilegeHandler</api>
			<impl>li.strolch.runtime.privilege.DefaultStrolchPrivilegeHandler</impl>
			<Properties>
				<privilegeConfigFile>PrivilegeConfig.xml</privilegeConfigFile>
			</Properties>
		</Component>
		<Component>
			<name>RealmHandler</name>
			<api>li.strolch.agent.api.RealmHandler</api>
			<impl>li.strolch.agent.impl.DefaultRealmHandler</impl>
			<depends>PrivilegeHandler</depends>
			<depends>PersistenceHandler</depends>
			<Properties>
				<dataStoreMode>CACHED</dataStoreMode>
				<enableAuditTrail>true</enableAuditTrail>
				<enableObserverUpdates>true</enableObserverUpdates>
				<dataStoreFile>StrolchModel.xml</dataStoreFile>
			</Properties>
		</Component>
		<Component>
			<name>PersistenceHandler</name>
			<api>li.strolch.persistence.api.PersistenceHandler</api>
			<impl>li.strolch.persistence.postgresql.PostgreSqlPersistenceHandler</impl>
			<Properties>
				<dataType>json</dataType>
				<allowDataInitOnSchemaCreate>true</allowDataInitOnSchemaCreate>
				<allowSchemaCreation>true</allowSchemaCreation>
				<allowSchemaDrop>true</allowSchemaDrop>
				<db.allowHostOverrideEnv>true</db.allowHostOverrideEnv>
				<db.url>jdbc:postgresql://localhost/testdb</db.url>
				<db.username>testuser</db.username>
				<db.password>test</db.password>
				<db.pool.maximumPoolSize>1</db.pool.maximumPoolSize>
				<db.pool.keepaliveTime>600000</db.pool.keepaliveTime>
			</Properties>
		</Component>
		<Component>
			<name>OperationsLog</name>
			<api>li.strolch.handler.operationslog.OperationsLog</api>
			<impl>li.strolch.handler.operationslog.OperationsLog</impl>
			<depends>RealmHandler</depends>
		</Component>
	</env>
</StrolchConfiguration>