Skip to content

Commit

Permalink
Updates web.xml servlet-mapping for jersey-servlet to match fcrepo-we…
Browse files Browse the repository at this point in the history
…bapp.

Updates CmisIT to use (the correct) "fcr:new" rather than "new".
  • Loading branch information
Edwin Shin committed Jun 5, 2013
1 parent 7a4c596 commit f6c8c7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/web.xml
Expand Up @@ -28,7 +28,7 @@

<servlet-mapping>
<servlet-name>jersey-servlet</servlet-name>
<url-pattern>/*</url-pattern>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>

<!-- engaging the ModeShape REST API -->
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/fcrepo/integration/CmisIT.java
Expand Up @@ -63,7 +63,7 @@ public class CmisIT {
public void setUp() throws Exception {
assertEquals(201,
getStatus(new HttpPost(BASE_URL + CONTEXT_PATH +
"/rest/objects/new")));
"/rest/objects/fcr:new")));

// default factory implementation
SessionFactoryImpl factory = SessionFactoryImpl.newInstance();
Expand Down

0 comments on commit f6c8c7f

Please sign in to comment.