Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
allow the port used for the integration test server to be configured …
…as a java property
  • Loading branch information
cbeer committed Feb 8, 2013
1 parent 2d7ccbf commit 1ccc9bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fcrepo-legacy-api/src/test/resources/spring-test/rest.xml
Expand Up @@ -12,12 +12,14 @@

<import resource="classpath:META-INF/cxf/cxf.xml"/>

<context:property-placeholder/>

<!-- Context that houses JAX-RS Resources that compose the API
as well as some utility gear. -->

<context:annotation-config/>

<jaxrs:server address="http://localhost:8080/rest" >
<jaxrs:server address="http://localhost:${test.port:8080}/rest" >
<jaxrs:serviceBeans>
<bean class="org.fcrepo.api.legacy.FedoraRepository"/>
<bean class="org.fcrepo.api.legacy.FedoraDatastreams"/>
Expand Down

0 comments on commit 1ccc9bb

Please sign in to comment.