[ https://issues.apache.org/jira/browse/JCR-4475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Woonsan Ko updated JCR-4475: ---------------------------- Description: {{org.apache.jackrabbit.jcr2dav.RepositoryStubImpl}} supports testing with custom context path like the following, but not with custom servlet path mapping. {noformat} mvn clean install -PintegrationTesting -DWebDAVServletContext="/foobar/" {noformat} It would be nice if we can test with custom servlet path mapping as well, instead of the hard-coded "/server" path only, like the following examples: {noformat:title=Default with /server prefix} $ mvn clean install -PintegrationTesting {noformat} {noformat:title=With empty servlet path prefix} mvn clean install -PintegrationTesting -DWebDAVServletPrefix="" {noformat} {noformat:title=With custom servlet path prefix} mvn clean install -PintegrationTesting -DWebDAVServletPrefix="/jcrserver" {noformat} {noformat:title=With custom context path} mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo" {noformat} {noformat:title=With custom context path and custom servlet path} mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo" -DWebDAVServletPrefix="/jcrserver" {noformat} was: {{org.apache.jackrabbit.jcr2dav.RepositoryStubImpl}} supports testing with custom context path like the following, but not with custom servlet path mapping. {noformat} mvn clean install -PintegrationTesting -DWebDAVServletContext="/foobar/" {noformat} It would be nice if we can test with custom servlet path mapping as well, instead of the hard-coded "/server" path only, like the following examples: {noformat:title=Default with /server prefix} $ mvn clean install -PintegrationTesting {noformat} {noformat:title=With empty servlet path prefix} mvn clean install -PintegrationTesting -DWebDAVServletPrefix="" {noformat} {noformat:title=With custom servlet path prefix} mvn clean install -PintegrationTesting -DWebDAVServletPrefix="/jcrserver" {noformat} {noformat:title=With custom context path} mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo" {noformat} > Improve o.a.j.jcr2dav.RepositoryStubImpl to test with custom servlet path > mapping > --------------------------------------------------------------------------------- > > Key: JCR-4475 > URL: https://issues.apache.org/jira/browse/JCR-4475 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Affects Versions: 2.18.3 > Reporter: Woonsan Ko > Priority: Major > Fix For: 2.20 > > Attachments: servlet_path_prefix.patch > > > {{org.apache.jackrabbit.jcr2dav.RepositoryStubImpl}} supports testing with > custom context path like the following, but not with custom servlet path > mapping. > {noformat} > mvn clean install -PintegrationTesting -DWebDAVServletContext="/foobar/" > {noformat} > It would be nice if we can test with custom servlet path mapping as well, > instead of the hard-coded "/server" path only, like the following examples: > {noformat:title=Default with /server prefix} > $ mvn clean install -PintegrationTesting > {noformat} > {noformat:title=With empty servlet path prefix} > mvn clean install -PintegrationTesting -DWebDAVServletPrefix="" > {noformat} > {noformat:title=With custom servlet path prefix} > mvn clean install -PintegrationTesting -DWebDAVServletPrefix="/jcrserver" > {noformat} > {noformat:title=With custom context path} > mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo" > {noformat} > {noformat:title=With custom context path and custom servlet path} > mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo" > -DWebDAVServletPrefix="/jcrserver" > {noformat} -- This message was sent by Atlassian Jira (v8.3.2#803003)