Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
import static com.hp.hpl.jena.vocabulary.RDF.type; | ||
import static java.lang.String.join; | ||
import static org.fcrepo.kernel.modeshape.rdf.ManagedRdf.isManagedMixin; | ||
import static org.fcrepo.kernel.api.FedoraJcrTypes.FCR_METADATA; | ||
import static org.slf4j.LoggerFactory.getLogger; | ||
|
||
import org.fcrepo.kernel.api.models.FedoraResource; | ||
|
@@ -96,6 +97,9 @@ public PersistingRdfStreamConsumer(final IdentifierConverter<Resource, FedoraRes | |
|| topic.equals(subject)) { | ||
LOGGER.debug("Discovered a Fedora-relevant subject in triple: {}.", t); | ||
return true; | ||
} else if (topic.getURI().equals(subject.getURI() + "/" + FCR_METADATA)) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
escowles
Author
Contributor
|
||
LOGGER.debug("Discovered a NonRDFSource subject in triple: {}.", t); | ||
return true; | ||
} | ||
// the subject was inappropriate in one of two ways | ||
if (translator().inDomain(m.asRDFNode(subject).asResource())) { | ||
|
@escowles Thank you very much for working on it. What does NonRDFSource mean in this context? Should fcr:metadata be restricted to fedora:binary type or not?