New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
removes fcrepo-mint module (to be moved to fcrepo4-exts) #932
Conversation
<!-- Master context for fcrepo4. --> | ||
|
||
<import resource="${fcrepo.spring.repo.configuration:classpath:/spring/repo.xml}"/> | ||
<import resource="${fcrepo.spring.rest.configuration:classpath:/spring/rest.xml}"/> | ||
<import resource="${fcrepo.spring.minter.configuration:classpath:/spring/minter.xml}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the minter.xml config file results in falling back on the default impl. in the HierarchicalIdentifierSupplier
interface. This is fine and preserves the default behavior.
But it also makes it easier to customize the minting. Instead of being able to customize the number and length of path prefixes with env. variables, you would now have to compile a separate package, create a minter config file to configure it, and then replace/override one of the core config files to include it.
Can we make it easier to override the default minting behavior? We probably don't want to complicate the default impl, but maybe we can at least make it easier to include custom local config? E.g., we could have an empty "local" config file to provide an easy place to put custom config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an important point: we should certainly make it easy to customize minting behavior. What would you think about adding the minter module and related configuration to fcrepo-webapp-plus
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Including the minter in fcrepo-webapp-plus
would be good. We could use an updated version of the minter.xml to use the default impl, but show how to swap in UUIDPathMinter
or another minter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sounds like fcrepo-exts/fcrepo-webapp-plus#30 should be updated based on this discussion, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it should. I'll add a PR to that project, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acoburn, a related PR already exists. You may just want to update this one: fcrepo-exts/fcrepo-webapp-plus#30
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'm working on updating that branch now.
removes fcrepo-mint module (to be moved to fcrepo4-exts)
See: https://jira.duraspace.org/browse/FCREPO-1696
fcrepo-mint will be added to the fcrepo4-exts organization and be avaiilable as an extension module.