Created
October 23, 2014 18:23
-
-
Save wmene/ac930f90f40a9f1e4213 to your computer and use it in GitHub Desktop.
Generate PIDs without slashes in Fedora4 - diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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