Versions Compared

Key

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

...

fcrepo-webapp/src/main/resources/spring

repo.xml

  • here you can specify the repository.json file to be loaded as the repositoryConfiguration, as well as the bean for repository factory and metrics
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, SessionFactory, and base-packages to autoscan into spring

eventing.xml  

  • bean implementation for eventing - observer, filter, eventbus

jms.xml

  • here you can specify the impementation for processing events

generator.xml

  • beans implementation for datastream generation, ex: dublin core

security.xml

  • bean implementation for OAuth security

fcrepo4/fcrepo-configs/src/main/resources/config

activemq.xml

  • config for message broker

fcrepo4/fcrepo-webapp/src/main/resources

logback.xml

...

These configuration files are copied to WEB-INF/classes from fcrepo-configs/src/main/resources upon build.

/config/minimal-default/repository.json

...

These configuration files are copied to WEB-INF/classes from fcrepo-configs/src/main/resources upon build.

/config/infinispan/leveldb-default/infinispan.xml

...

Defining .cnd files such as these in repository.json will register namespaces and nodetypes found within:

fcrepo4/fcrepo-kernel/src/main/resources/fedora-node-types.cnd

fcrepo4/fcrepo-auth-roles-common/src/main/resources/cnd/access-control.cnd

Alternatively from definition in .cnd files as above, forms are available to add namespaces and nodetypes at these URL endpoints:

http://<host>/rest/fcr:namespaces
http://<host>/rest/fcr:nodetypes

...

fcrepo4/fcrepo-jms/src/main/resources