Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-406

Same data for 2 different Wfly servers shown

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 1.0.0.Alpha2
    • Fix Version/s: 1.0.0.Alpha4
    • Component/s: None
    • Labels:
      None

      Description

      I have 2 WildFlys in inventory. No matter on which I click, I get the same JVM chart, which comes from 1 server. Also for the Datasources, the data is merged from the two servers.

      It seems the issue is that both servers are named "Local" and the url for the app server-detail is "http://localhost:8080/hawkular-ui/app/app-details/Local".
      This does not take the hostname into account

      Json for the appserver list that is obtained from the backend looks like this:

      [ {
        "id" : "[Local~/]",
        "type" : {
          "id" : "WildFly Server",
          "version" : "0.1",
          "tenantId" : "28026b36-8fe4-4332-84c8-524e173a68bf"
        },
        "properties" : {
          "name" : "WildFly Server [Local] [snert]",
          "resourceConfiguration" : [ {
            "name" : "Version",
            "value" : "1.0.0.CR6"
          }, {
            "name" : "Hostname",
            "value" : "snert"
          }, {
            "name" : "Max Heap",
            "value" : "477626368"
          } ]
        },
        "tenantId" : "28026b36-8fe4-4332-84c8-524e173a68bf",
        "environmentId" : "test",
        "feedId" : "snert"
      }, {
        "id" : "[Local~/]",
        "type" : {
          "id" : "WildFly Server",
          "version" : "0.1",
          "tenantId" : "28026b36-8fe4-4332-84c8-524e173a68bf"
        },
        "properties" : {
          "name" : "WildFly Server [Local] [pi2]",
          "resourceConfiguration" : [ {
            "name" : "Version",
            "value" : "1.0.0.CR6"
          }, {
            "name" : "Hostname",
            "value" : "pi2"
          }, {
            "name" : "Max Heap",
            "value" : "519045120"
          } ]
        },
        "tenantId" : "28026b36-8fe4-4332-84c8-524e173a68bf",
        "environmentId" : "test",
        "feedId" : "pi2"
      } ]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mazz John Mazzitelli
                Reporter:
                pilhuhn Heiko Rupp
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: