...
In order to define a custom CND file, you must first customize the repository.json
file. This is the configuration that is used with the -Dfcrepo.modeshape.configuration
setting. In that file, the "node-types"
block should be defined as: "node-types" : ["fedora-node-types.cnd", "file:/etc/fcrepo/namespaces.cnd"]
. That file
Code Block | ||||
---|---|---|---|---|
| ||||
{
"name" : "fedora",
"jndiName" : "",
"workspaces" : { ... },
"storage" : {
"persistence": { ... },
"binaryStorage" : { ... }
},
"security" : {
"anonymous" : { ... },
"providers" : [ ... ]
},
"node-types" : ["fedora-node-types.cnd", "file:/etc/fcrepo/namespaces.cnd"]
} |
The namespaces.cnd
file can be used to register namespaces like so:
...