...
Code Block | ||||
---|---|---|---|---|
| ||||
<bean name "modeshapeRepofactory" class= "org.fcrepo.kernel.spring.ModeshapeRepositoryFactoryBean">
<property name="repositoryConfiguration" value="${fcrepo.modeshape.configuration:classpath:/config/single/repository.json}"/>
</bean> |
rest.xml
- bean implementation for UUIDPathMinter, SessionFactoryfor InternalIdentifierConverter (identifier translationChain), StoragePolicyDecisionPointImpl, SessionFactory, and base-packages to autoscan auto scan into spring
eventing.xml
- bean implementation for eventing - observer, filter, eventbusevent bus
jms.xml
- here you can specify the impementation implementation for processing events
generator.xml
...
- bean implementation for OAuth security
transactions.xml
- Specify the config for transactions
minter.xml
- bean implementation for minting identifiers
fcrepo4/fcrepo-configs/src/main/resources/config
...
- config for message broker
jgroups-fcrepo-tcp.xml
- Config for the Messaging Toolkit JGroups to transfer state between nodes in a Fedora Cluster.
fcrepo4/fcrepo-webapp/src/main/resources
...
- In-memory configuration for object storage (useful for testing)
Repository Config Options:
Code Block |
---|
fcrepo.modeshape.query.enabled:true fcrepo.modeshape.query.mode:sync |
...
Fedora 4 stores binary content separately (to one of the above paths, depending on configuration). These files are stored hashed by the content SHA-1 hash.
Performance considerations:
If your application does not use the query index (which powers basic administrative search, and the simple fcr:sparql endpoint), you can significantly improve repository performance by disabling indexing, or using asynchronous indexing instead.
...
Infinispan Configuration | Average | Median | Standard Deviation |
---|---|---|---|
filecachestore | 0.1121 | 0.105 | 0.0313 |
leveldb | 0.0736 | 0.0630 | 0.0445 |
leveldb with async persistence | 0.0610 | 0.0550 | 0.0220 |
RAM | 0.0517 | 0.0480 | 0.0148 |
leveldb with file binary store * | 0.0644 | 0.0570 | 0.0196 |
Total | 0.0703 | 0.0590 | 0.0318 |
* default configuration
Fedora Node Types - node definitions in terms of
...
namespace properties
Defining .cnd files such as these in repository.json will register namespaces and nodetypes node types found within:
fcrepo4/fcrepo-kernel/src/main/resources/fedora-node-types.cnd
...