opensubscriber
   Find in this group all groups
 
Unknown more information…

a : axis-dev@ws.apache.org 28 August 2009 • 5:05PM -0400

Supporting hierarchical service deployment
by Isuru Suriarachchi

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi all,

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've created a JIRA on this at
https://issues.apache.org/jira/browse/AXIS2-4479 and attached the patch.

WDYT??

Thanks,
~Isuru

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.