Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-4475

Improve o.a.j.jcr2dav.RepositoryStubImpl to test with custom servlet path mapping

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.18.3
    • Fix Version/s: 2.20, 2.19.5, 2.18.4, 2.16.6, 2.14.9
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.jackrabbit.jcr2dav.RepositoryStubImpl supports testing with custom context path like the following, but not with custom servlet path mapping.

      mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo"
      

      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:

      1. Default with /server prefix
      $ mvn clean install -PintegrationTesting
      
      2. With empty servlet path prefix
      mvn clean install -PintegrationTesting -DWebDAVServletPrefix=""
      
      3. With custom servlet path prefix
      mvn clean install -PintegrationTesting -DWebDAVServletPrefix="/jcrserver"
      
      4. With custom context path
      mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo"
      
      5. With custom context path and custom servlet path
      mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo" -DWebDAVServletPrefix="/jcrserver"
      

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              reschke Julian Reschke
              Reporter:
              woon_san Woonsan Ko

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment