Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove dependency on fcrepo-mint module
Related to: https://jira.duraspace.org/browse/FCREPO-1696
- Loading branch information
Showing
8 changed files
with
109 additions
and
4 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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.xsd"> | ||
|
||
<!-- Mints PIDs using random UUIDs --> | ||
<bean class="org.fcrepo.mint.UUIDPathMinter" | ||
c:length="${fcrepo.uuid.path.length:2}" | ||
c:count="${fcrepo.uuid.path.count:4}"/> | ||
|
||
<!-- Mints PIDs using external REST service | ||
<bean class="org.fcrepo.mint.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> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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.xsd"> | ||
|
||
<!-- Mints PIDs using random UUIDs --> | ||
<bean class="org.fcrepo.mint.UUIDPathMinter" | ||
c:length="${fcrepo.uuid.path.length:2}" | ||
c:count="${fcrepo.uuid.path.count:4}"/> | ||
|
||
<!-- Mints PIDs using external REST service | ||
<bean class="org.fcrepo.mint.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> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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.xsd"> | ||
|
||
<!-- Mints PIDs using random UUIDs --> | ||
<bean class="org.fcrepo.mint.UUIDPathMinter" | ||
c:length="${fcrepo.uuid.path.length:2}" | ||
c:count="${fcrepo.uuid.path.count:4}"/> | ||
|
||
<!-- Mints PIDs using external REST service | ||
<bean class="org.fcrepo.mint.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> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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.xsd"> | ||
|
||
<!-- Mints PIDs using random UUIDs --> | ||
<bean class="org.fcrepo.mint.UUIDPathMinter" | ||
c:length="${fcrepo.uuid.path.length:2}" | ||
c:count="${fcrepo.uuid.path.count:4}"/> | ||
|
||
<!-- Mints PIDs using external REST service | ||
<bean class="org.fcrepo.mint.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> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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.xsd"> | ||
|
||
<!-- Mints PIDs using random UUIDs --> | ||
<bean class="org.fcrepo.mint.UUIDPathMinter" | ||
c:length="${fcrepo.uuid.path.length:2}" | ||
c:count="${fcrepo.uuid.path.count:4}"/> | ||
|
||
<!-- Mints PIDs using external REST service | ||
<bean class="org.fcrepo.mint.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> |