Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4479

Supporting hierarchical service deployment in Axis2

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              isurues Isuru Suriarachchi
              Reporter:
              isurues Isuru Suriarachchi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment