Skip to content

Instantly share code, notes, and snippets.

@wmene
Created May 4, 2015 21:28
Show Gist options
  • Save wmene/82ae3de1c88d6fb2f9ae to your computer and use it in GitHub Desktop.
Save wmene/82ae3de1c88d6fb2f9ae to your computer and use it in GitHub Desktop.
Build Fedora4 with slashless identifiers
<?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:c="http://www.springframework.org/schema/c"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- Mints PIDs using random UUIDs -->
<bean class="org.fcrepo.kernel.impl.identifiers.UUIDPidMinter"
/>
<!-- Mints PIDs using external REST service
<bean class="org.fcrepo.kernel.identifiers.HttpPidMinter"
c:url="http://localhost/my/minter" c:method="POST"
c:username="${fcrepo.minter.username:minterUser}"
c:password="${fcrepo.minter.password:minterPass}"
c:regex="" c:xpath="/response/ids/value"/>
-->
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment