<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

    <!-- Context that supports the actual ModeShape JCR itself -->

    <context:annotation-config/>

    <context:property-placeholder/>

    <bean name="modeshapeRepofactory"
        class="org.fcrepo.kernel.spring.ModeShapeRepositoryFactoryBean">
      <property name="repositoryConfiguration" value="${fcrepo.modeshape.configuration:/config/testing/repository.json}"/>
    </bean>


    <bean class="org.modeshape.jcr.JcrRepositoryFactory"/>
    <bean class="org.fcrepo.storage.policy.PolicyDecisionPoint" />

</beans>

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

    <!-- Context that supports the actual ModeShape JCR itself -->

    <context:annotation-config/>

    <context:property-placeholder/>

    <bean name="modeshapeRepofactory"
        class="org.fcrepo.kernel.spring.ModeShapeRepositoryFactoryBean">
      <property name="repositoryConfiguration" value="${fcrepo.modeshape.configuration:/config/testing/repository.json}"/>
    </bean>


    <bean class="org.modeshape.jcr.JcrRepositoryFactory"/>

</beans>

Update policy-driven-storage for runtime configuration
Update policy-driven-storage for runtime configuration

Move configuration from Spring to the repository
Add REST endpoint for runtime configuration
Resolves:
  https://www.pivotaltracker.com/story/show/49059799
  https://www.pivotaltracker.com/story/show/54197412
