<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans 
        http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
    http://www.springframework.org/schema/context
    http://www.springframework.org/schema/context/spring-context-4.0.xsd">
    
    <context:annotation-config/>
    
    <!-- The Plugin interface and plugin manager are in hirs -->
    <context:component-scan base-package="hirs" />

    <!-- Override the data source in the PersistenceConfiguration to use the test DB -->
    <bean id="dataSource" class="com.zaxxer.hikari.HikariDataSource">
        <property name="jdbcUrl" value="${persistence.db.url}" />
        <property name="username" value="${persistence.db.username}" />
        <property name="password" value="${persistence.db.password}" />
        <property name="driverClassName" value="${persistence.db.driverClass}" />
    </bean>

</beans>