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

Add DirectContainer link header to ldp:hasMemberRelation checks #2077

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

mikejritter
Copy link
Contributor

JIRA Ticket: https://fedora-repository.atlassian.net/browse/FCREPO-3927

What does this Pull Request do?

This updates the ServerManagedTriplesIT to add the DirectContainer link header in order for the constraints to be properly checked. This ensures that the checks in AbstractService#ensureValidDirectContainer are run and the proper 409 response is returned.

How should this be tested?

  • Test that Fedora rebuilds and tests pass with mvn install

Interested parties

@fcrepo/committers

Copy link
Collaborator

@whikloj whikloj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't believe I didn't notice we weren't making these Direct/Indirect containers when I was fixing it. Good work @mikejritter

@whikloj whikloj merged commit 1587f6e into fcrepo:main Apr 18, 2024
7 checks passed
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.

2 participants