Skip to content

Commit

Permalink
Merge pull request #39 from awoods/fcrepo-1768
Browse files Browse the repository at this point in the history
Enable option for migration utils to work against an auth-protected F4
  • Loading branch information
mikedurbin committed Oct 15, 2015
2 parents 607bcf0 + 82312c2 commit 4a397da
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/fedora2-native.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@

<bean id="repo" class="org.fcrepo.client.impl.FedoraRepositoryImpl">
<constructor-arg name="repositoryURL" ref="fedora4Url" />
<!--If Fedora 4 requires authorized requests, uncomment the following and provide appropriate values.-->
<!--<constructor-arg name="username" value="admin-username"/>-->
<!--<constructor-arg name="password" value="admin-password"/>-->
</bean>

<bean id="httpClientURLFetcher" class="org.fcrepo.migration.foxml.HttpClientURLFetcher" />
Expand Down
3 changes: 3 additions & 0 deletions conf/fedora3-akubra.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@

<bean id="repo" class="org.fcrepo.client.impl.FedoraRepositoryImpl">
<constructor-arg name="repositoryURL" ref="fedora4Url" />
<!--If Fedora 4 requires authorized requests, uncomment the following and provide appropriate values.-->
<!--<constructor-arg name="username" value="admin-username"/>-->
<!--<constructor-arg name="password" value="admin-password"/>-->
</bean>

<bean id="httpClientURLFetcher" class="org.fcrepo.migration.foxml.HttpClientURLFetcher" />
Expand Down
3 changes: 3 additions & 0 deletions conf/fedora3-exported.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@

<bean id="repo" class="org.fcrepo.client.impl.FedoraRepositoryImpl">
<constructor-arg name="repositoryURL" ref="fedora4Url" />
<!--If Fedora 4 requires authorized requests, uncomment the following and provide appropriate values.-->
<!--<constructor-arg name="username" value="admin-username"/>-->
<!--<constructor-arg name="password" value="admin-password"/>-->
</bean>

<bean id="httpClientURLFetcher" class="org.fcrepo.migration.foxml.HttpClientURLFetcher" />
Expand Down
3 changes: 3 additions & 0 deletions conf/fedora3-legacy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@

<bean id="repo" class="org.fcrepo.client.impl.FedoraRepositoryImpl">
<constructor-arg name="repositoryURL" ref="fedora4Url" />
<!--If Fedora 4 requires authorized requests, uncomment the following and provide appropriate values.-->
<!--<constructor-arg name="username" value="admin-username"/>-->
<!--<constructor-arg name="password" value="admin-password"/>-->
</bean>

<bean id="httpClientURLFetcher" class="org.fcrepo.migration.foxml.HttpClientURLFetcher" />
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/spring/migration-bean.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@
<!-- The configuration options for a Fedora 4 client to do the updates to Fedora 4 -->
<bean id="repo" class="org.fcrepo.client.impl.FedoraRepositoryImpl">
<constructor-arg name="repositoryURL" ref="fedora4Url" />
<!--If Fedora 4 requires authorized requests, uncomment the following and provide appropriate values.-->
<!--<constructor-arg name="username" value="admin-username"/>-->
<!--<constructor-arg name="password" value="admin-password"/>-->
</bean>

<!-- A utility bean that maintains an index necessary to resolve datastream files from the fedora 3 internal ids
Expand Down

0 comments on commit 4a397da

Please sign in to comment.