Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titlerepo.xml
<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 ConfigurationAverageMedianStandard
Deviation 
filecachestore0.11210.1050.0313
leveldb0.07360.06300.0445
leveldb with async persistence0.06100.05500.0220
RAM0.05170.04800.0148
leveldb with file binary store *0.06440.05700.0196
Total0.07030.05900.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

...