Skip to content
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

Merged
merged 1 commit into from Nov 5, 2015
Merged

removes fcrepo-mint module (to be moved to fcrepo4-exts) #932

merged 1 commit into from Nov 5, 2015

Conversation

acoburn
Copy link
Contributor

@acoburn acoburn commented Oct 31, 2015

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.

<!-- 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}"/>
Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Contributor

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.

Copy link

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?

Copy link
Contributor Author

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.

Copy link

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

Copy link
Contributor Author

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.

awoods pushed a commit that referenced this pull request Nov 5, 2015
removes fcrepo-mint module (to be moved to fcrepo4-exts)
@awoods awoods merged commit 0ccb1f6 into fcrepo:master Nov 5, 2015
@acoburn acoburn deleted the fcrepo-1696 branch November 6, 2015 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants