From dev-return-50742-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Sun Sep 1 10:30:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 05343180668 for ; Sun, 1 Sep 2019 12:30:02 +0200 (CEST) Received: (qmail 75846 invoked by uid 500); 1 Sep 2019 10:30:02 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 75831 invoked by uid 99); 1 Sep 2019 10:30:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Sep 2019 10:30:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1912EE2EDE for ; Sun, 1 Sep 2019 10:30:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 5F98F78091B for ; Sun, 1 Sep 2019 10:30:00 +0000 (UTC) Date: Sun, 1 Sep 2019 10:30:00 +0000 (UTC) From: "Julian Reschke (Jira)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (JCR-4475) Improve o.a.j.jcr2dav.RepositoryStubImpl to test with custom servlet path mapping MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-4475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke resolved JCR-4475. --------------------------------- Fix Version/s: 2.19.5 Resolution: Fixed > 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 > Assignee: Julian Reschke > Priority: Major > Fix For: 2.20, 2.19.5 > > Attachments: servlet_path_prefix.patch, servlet_path_prefix2.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="/foo" > {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=1. Default with /server prefix} > $ mvn clean install -PintegrationTesting > {noformat} > {noformat:title=2. With empty servlet path prefix} > mvn clean install -PintegrationTesting -DWebDAVServletPrefix="" > {noformat} > {noformat:title=3. With custom servlet path prefix} > mvn clean install -PintegrationTesting -DWebDAVServletPrefix="/jcrserver" > {noformat} > {noformat:title=4. With custom context path} > mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo" > {noformat} > {noformat:title=5. 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)