Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making master.xml spring config file to bundle config files and avoid…
… wildcard include, breaking out minter config and making it configurable with system property fcrepo.minter.config
- Loading branch information
Showing
4 changed files
with
30 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation=" | ||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | ||
|
||
<!-- Master context for fcrepo4. --> | ||
|
||
<import resource="classpath:/spring/repo.xml"/> | ||
<import resource="classpath:/spring/rest.xml"/> | ||
<import resource="${fcrepo.minter.config:classpath:/spring/minter.xml}"/> | ||
<import resource="classpath:/spring/eventing.xml"/> | ||
<import resource="classpath:/spring/jms.xml"/> | ||
<import resource="classpath:/spring/generator.xml"/> | ||
<import resource="classpath:/spring/transactions.xml"/> | ||
|
||
</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,12 @@ | ||
<?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--> | ||
<bean class="org.fcrepo.kernel.identifiers.UUIDPathMinter" | ||
c:length="${fcrepo.uuid.path.length:2}" | ||
c:count="${fcrepo.uuid.path.count:4}"/> | ||
|
||
</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