Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 12550 invoked from network); 3 Sep 2009 09:50:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Sep 2009 09:50:55 -0000 Received: (qmail 66606 invoked by uid 500); 3 Sep 2009 09:50:54 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 66509 invoked by uid 500); 3 Sep 2009 09:50:54 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 66499 invoked by uid 99); 3 Sep 2009 09:50:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 09:50:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 09:50:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C3903234C004 for ; Thu, 3 Sep 2009 02:50:32 -0700 (PDT) Message-ID: <1949876023.1251971432796.JavaMail.jira@brutus> Date: Thu, 3 Sep 2009 02:50:32 -0700 (PDT) From: "Isuru Eranga Suriarachchi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-4479) Supporting hierarchical service deployment in Axis2 In-Reply-To: <1468533800.1251450119604.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Isuru Eranga Suriarachchi updated AXIS2-4479: --------------------------------------------- Attachment: hierarchical_deployment_special_char.patch Attaching a new patch (hierarchical_deployment_special_char.patch). In this, I've used the character '!' instead of '/' in the hierarchical path. This avoids all complications that can be there in dispatch time. And also this patch contains deployment tests for hierarchical services. > Supporting hierarchical service deployment in Axis2 > --------------------------------------------------- > > Key: AXIS2-4479 > URL: https://issues.apache.org/jira/browse/AXIS2-4479 > Project: Axis 2.0 (Axis2) > Issue Type: Improvement > Components: deployment > Reporter: Isuru Eranga Suriarachchi > Attachments: hierarchical_deployment.patch, hierarchical_deployment_special_char.patch > > > Currently Axis2 can only deploy services at the repository/services level. This makes it impossible to deploy several versions of the same service. > Therefore, I've improved our deployment engine to deploy services by looking at the hierarchical path of the service. For example this allows us to deploy a service repository/services/foo/bar/version.aar. And also this allows us to deploy any number of services as follows. > repository/services/versionService/1.0.0/version.aar > repository/services/versionService/1.0.1/version.aar > In the implementation, I've attached the hierarchical part of the service (versionService/1.0.1/) in front of the service name which is read from the services.xml. And also I've fixed the URI based dispatching logics to dispatch the services correctly. > This improvement doesn't affect any of the existing functionalities. The only limitation of this is we can't deploy a RESTful service in this manner. Those can only be supported at repository/service level. That is because, incoming URL of a RESTful service can contain '/' separated parameters to the service. > I'm attaching the patch with this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.