Skip to content

Commit

Permalink
Collapse #rest-api namespace into #repository
Browse files Browse the repository at this point in the history
- Remove #rels-ext namespace

Partial resolution of: https://www.pivotaltracker.com/story/show/82075356
  • Loading branch information
Andrew Woods committed Nov 8, 2014
1 parent a0f280b commit 3142e67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Expand Up @@ -29,7 +29,7 @@
import static org.fcrepo.kernel.RdfLexicon.HAS_ORIGINAL_NAME;
import static org.fcrepo.kernel.RdfLexicon.HAS_MIME_TYPE;
import static org.fcrepo.kernel.RdfLexicon.HAS_SIZE;
import static org.fcrepo.kernel.RdfLexicon.RESTAPI_NAMESPACE;
import static org.fcrepo.kernel.RdfLexicon.REPOSITORY_NAMESPACE;

import static org.slf4j.LoggerFactory.getLogger;

Expand Down Expand Up @@ -70,7 +70,7 @@
*/
public class FedoraDatastreamImpl extends FedoraResourceImpl implements FedoraDatastream {
private static final Logger LOGGER = getLogger(FedoraDatastreamImpl.class);
protected static final Property REST_API_DIGEST = createProperty(RESTAPI_NAMESPACE + "digest");
protected static final Property REST_API_DIGEST = createProperty(REPOSITORY_NAMESPACE + "digest");
private boolean hasContent;
private Node contentSubject;

Expand Down
Expand Up @@ -47,18 +47,18 @@ public class RDFSinkFilterTest {
private Iterator<Triple> mockTriples;

private String testDateValue = "2014-08-14T15:11:30.118Z";
private String testMixinType = RdfLexicon.REPOSITORY_NAMESPACE + "test";
private String testMixinType = RdfLexicon.REPOSITORY_NAMESPACE + "test-mixin-type";
private final Triple testCreatedDateTriple =
create(createURI(RdfLexicon.RESTAPI_NAMESPACE + "test"), RdfLexicon.CREATED_DATE.asNode(),
create(createURI(RdfLexicon.REPOSITORY_NAMESPACE + "test"), RdfLexicon.CREATED_DATE.asNode(),
ResourceFactory.createPlainLiteral(testDateValue).asNode());
private final Triple testLastModifiedDateTriple =
create(createURI(RdfLexicon.RESTAPI_NAMESPACE + "test"), RdfLexicon.LAST_MODIFIED_DATE.asNode(),
create(createURI(RdfLexicon.REPOSITORY_NAMESPACE + "test"), RdfLexicon.LAST_MODIFIED_DATE.asNode(),
ResourceFactory.createPlainLiteral(testDateValue).asNode());
private final Triple testMixinTriple =
create(createURI(RdfLexicon.RESTAPI_NAMESPACE + "test"),
create(createURI(RdfLexicon.REPOSITORY_NAMESPACE + "test"),
RdfLexicon.HAS_MIXIN_TYPE.asNode(), createURI(testMixinType));
private final Triple testIsWritable =
create(createURI(RdfLexicon.RESTAPI_NAMESPACE + "test"),
create(createURI(RdfLexicon.REPOSITORY_NAMESPACE + "test"),
RdfLexicon.WRITABLE.asNode(), ResourceFactory.createPlainLiteral("true").asNode());

@Before
Expand Down

0 comments on commit 3142e67

Please sign in to comment.