Files
alfresco-community-repo/source/test-resources/rest-api-test-context.xml
Martin Muller 80cc7015e6 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128516 jvonka: Api Tests: tweak test context - embedded "lucene" subsystem is now called "buildonly"
   - useful if running embedded tests in a local devenv, eg. in an IDE


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:47 +00:00

45 lines
1.9 KiB
XML

<?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"
xmlns:mongo="http://www.springframework.org/schema/data/mongo"
xsi:schemaLocation="http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/data/mongo
http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean id="httpClientProvider" class="org.alfresco.rest.api.tests.client.SharedHttpClientProvider">
<constructor-arg name="alfrescoUrl" value="http://localhost:8081/alfresco/" />
<constructor-arg name="maxNumberOfConnections" value="2" />
</bean>
<!-- Registration of test models -->
<bean id="testRemoteApiModelDictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>models/custom-model.xml</value>
<value>models/bpmDelegateeModel.xml</value>
</list>
</property>
</bean>
<!--
<bean id="Search" class="org.alfresco.repo.management.subsystems.SwitchableApplicationContextFactory" parent="abstractPropertyBackedBean">
<property name="autoStart">
<value>false</value>
</property>
<property name="category">
<value>Search</value>
</property>
<property name="sourceBeanName">
<value>buildonly</value>
</property>
<property name="instancePath">
<list>
<value>manager</value>
</list>
</property>
</bean>
-->
</beans>