Skip to content

Instantly share code, notes, and snippets.

@wmene
Created October 23, 2014 18:23
Show Gist options
  • Save wmene/ac930f90f40a9f1e4213 to your computer and use it in GitHub Desktop.
Save wmene/ac930f90f40a9f1e4213 to your computer and use it in GitHub Desktop.
Generate PIDs without slashes in Fedora4 - diff
diff --git a/fcrepo-webapp/src/main/resources/spring/minter.xml b/fcrepo-webapp/src/main/resources/spring/minter.xml
index 323cb17..55054c5 100644
--- a/fcrepo-webapp/src/main/resources/spring/minter.xml
+++ b/fcrepo-webapp/src/main/resources/spring/minter.xml
@@ -5,9 +5,8 @@
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.UUIDPathMinter"
- c:length="${fcrepo.uuid.path.length:2}"
- c:count="${fcrepo.uuid.path.count:4}"/>
+ <bean class="org.fcrepo.kernel.impl.identifiers.UUIDPidMinter"
+ />
<!-- Mints PIDs using external REST service
<bean class="org.fcrepo.kernel.identifiers.HttpPidMinter"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment