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

Allow PUT requests to create nodes #252

Closed
wants to merge 2 commits into from

Conversation

daines
Copy link
Contributor

@daines daines commented Feb 20, 2014

This adds a simple check to FedoraNodes#createOrReplaceObjectRdf which delegates to #createObject if the path doesn't already exist.


@Test
public void testCreateGraph() throws Exception {
final String subjectURI = serverAddress + "FedoraCreateGraph";
Copy link

Choose a reason for hiding this comment

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

Instead of a constant value, please use:
subjectURI = serverAddress + UUID.randomUUID().toString();

@awoods
Copy link

awoods commented Feb 21, 2014

Resolved by: f2ba06f
Addresses: https://www.pivotaltracker.com/story/show/65410206

@awoods awoods closed this Feb 21, 2014
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

2 participants