This page details the locations and purposes of the Fedora 4 configuration files.
For details on how to enable and configure these options, see this page

fcrepo-webapp

The following spring files exist in a directory as configured by fcrepo4/fcrepo-webapp/src/main/webapp/WEB-INF/web.xml.  This web.xml file contains a context-param element with param-name "contextConfigLocation".  The param-value points to your spring configuration directory, usually a path like WEB-INF/classes/*.xml.  Note that the files is src/main resources/spring are copied upon build to WEB-INF/classes.

fcrepo-webapp/src/main/resources/spring

repo.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

eventing.xml  

jms.xml

generator.xml

security.xml

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

activemq.xml

fcrepo4/fcrepo-webapp/src/main/resources

logback.xml

 

repository.json - The modeshape configuration specification

fcrepo4/fcrepo-http-commmons/src/main/resources/config

JGroups Cluster Configuration

fcrepo4/fcrepo-http-commmons/src/main/resources/config

infinispan.xml - the infinispan cache configuration

fcrepo4/fcrepo-kernel/src/main/resources/config/infinispan

 

Fedora Node Types - node definitions in terms of namespaced properties

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

Other module resources

fcrepo4/fcrepo-jms/src/main/resources