Mark exclusive queues with Excl, like before

While at it, remove remaining references to owner_pid_details.
We don't return it in the API any more.
It is useful for linking to the owner connection, so that part
we will brought back eventually in some shape or form (see #467).
This commit is contained in:
Michael Klishin 2017-08-06 15:02:16 +03:00
parent c97e795127
commit 456c3a0887
3 changed files with 4 additions and 15 deletions

View File

@ -91,11 +91,6 @@ function fmt_features_short(obj) {
var res = '';
var features = args_to_features(obj);
if (obj.owner_pid_details != undefined) {
res += '<acronym title="Exclusive queue: click for owning connection">'
+ link_conn(obj.owner_pid_details.name, "Excl") + '</acronym> ';
}
for (var k in ALL_ARGS) {
if (features[k] != undefined) {
res += '<acronym title="' + k + ': ' + fmt_string(features[k]) +

View File

@ -24,10 +24,10 @@ var KNOWN_ARGS = {'alternate-exchange': {'short': 'AE', 'type': 'string'
'x-max-priority': {'short': 'Pri', 'type': 'int'}};
// Things that are like arguments that we format the same way in listings.
var IMPLICIT_ARGS = {'durable': {'short': 'D', 'type': 'boolean'},
'auto-delete': {'short': 'AD', 'type': 'boolean'},
'exclusive': {'short': 'E', 'type': 'boolean'},
'internal': {'short': 'I', 'type': 'boolean'}};
var IMPLICIT_ARGS = {'durable': {'short': 'D', 'type': 'boolean'},
'auto-delete': {'short': 'AD', 'type': 'boolean'},
'exclusive': {'short': 'Excl', 'type': 'boolean'},
'internal': {'short': 'I', 'type': 'boolean'}};
// Both the above
var ALL_ARGS = {};

View File

@ -18,12 +18,6 @@
<th>Policy</th>
<td><%= fmt_string(queue.policy, '') %></td>
</tr>
<% if (queue.owner_pid_details != undefined) { %>
<tr>
<th>Exclusive owner</th>
<td><%= link_conn(queue.owner_pid_details.name) %></td>
</tr>
<% } %>
<% if (nodes_interesting) { %>
<tr>
<th>Node</th>