Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-369

AS7 deployer not creating domains correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 0.2
    • 0.2
    • deployment
    • None

    Description

      The AS7 deployer is creating a root-level domain for each application instead of creating a single root-level domain and then adding individual applications to that domain. See line 89 in org.switchyard.as7.extension.deployment.SwitchYardDeployment:

      _deployment.init(ServiceDomainManager.createDomain());
      

      Instead of this, we should be calling the addApplicationServiceDomain on an existing ServiceDomainManager reference:

      _domainManager.addApplicationServiceDomain(_deployment.getName(), _deployment.getConfig());
      

      Note that this will require an instance of ServiceDomainManager to be shared across all deployments in AS7 to provide a common root domain. Also note that the SwitchYard config is being passed in.

      Attachments

        Activity

          People

            tfennelly_jira Tom Fennelly (Inactive)
            kbabo1@redhat.com Keith Babo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: