-
Bug
-
Resolution: Done
-
Critical
-
1.0.0.Alpha2
-
None
-
None
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"
} ]