Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update bagit serialization for the new spring and IT configurations
- Loading branch information
Showing
6 changed files
with
85 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<web-app xmlns="http://java.sun.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | ||
version="3.0" metadata-complete="false"> | ||
|
||
<display-name>Fedora-on-ModeShape</display-name> | ||
|
||
<context-param> | ||
<param-name>contextConfigLocation</param-name> | ||
<param-value>classpath:spring-test/rest.xml,classpath:spring-test/repo.xml,</param-value> | ||
</context-param> | ||
|
||
|
||
<!-- engaging the ModeShape REST API --> | ||
|
||
<context-param> | ||
<param-name>org.modeshape.jcr.RepositoryName</param-name> | ||
<param-value>repo</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>org.modeshape.jcr.URL</param-name> | ||
<param-value>/test_repository.json</param-value> | ||
</context-param> | ||
|
||
<listener> | ||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | ||
</listener> | ||
|
||
<!-- Required parameter for ModeShape REST - should not be modified --> | ||
<listener> | ||
<listener-class>org.modeshape.web.jcr.ModeShapeJcrDeployer</listener-class> | ||
</listener> | ||
|
||
<servlet> | ||
<servlet-name>jersey-servlet</servlet-name> | ||
<servlet-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet</servlet-class> | ||
<init-param> | ||
<param-name>com.sun.jersey.config.property.packages</param-name> | ||
<param-value>org.fcrepo.api, org.fcrepo.responses, org.fcrepo.exceptionhandlers, org.fcrepo.session</param-value> | ||
</init-param> | ||
<init-param> | ||
<param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name> | ||
<param-value>true</param-value> | ||
</init-param> | ||
<load-on-startup>1</load-on-startup> | ||
</servlet> | ||
|
||
<servlet-mapping> | ||
<servlet-name>jersey-servlet</servlet-name> | ||
<url-pattern>/*</url-pattern> | ||
</servlet-mapping> | ||
|
||
</web-app> |