Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3232

XTS coordinator URL is not initialised correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.1.0.CR2, 8.1.0.Final
    • None
    • XTS
    • None

    Description

      XTS subsystem uses wrong attribute names to get coordinator URL from the server configuration. Therefore it always uses default values.

      How it is implemented:

      final String coordinatorURL = model.get(CommonAttributes.XTS_ENVIRONMENT).hasDefined(ModelDescriptionConstants.URL)
      ? model.get(CommonAttributes.XTS_ENVIRONMENT, ModelDescriptionConstants.URL).asString() : null;
      

      How it should be implemented:

      final ModelNode coordinatorURLAttribute = ENVIRONMENT_URL.resolveModelAttribute(context, model);
      final String coordinatorURL = coordinatorURLAttribute.isDefined() ? coordinatorURLAttribute.asString() : null;
      

      Attachments

        Activity

          People

            gtrikler@redhat.com Gytis Trikleris (Inactive)
            gtrikler@redhat.com Gytis Trikleris (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: