ENTAXY-374 release 1.8.2

This commit is contained in:
2022-08-23 13:40:11 +03:00
parent b68642f81c
commit f495628c75
618 changed files with 61269 additions and 3202 deletions

View File

@ -3,7 +3,7 @@
<parent>
<groupId>ru.entaxy.esb.ui</groupId>
<artifactId>entaxy-hawtio</artifactId>
<version>1.8.1</version>
<version>1.8.2</version>
</parent>
<groupId>ru.entaxy.esb.ui.hawtio</groupId>
<artifactId>artemis-plugin-entaxy</artifactId>

View File

@ -163,7 +163,9 @@ var Artemis;
tabs.push(new Nav.HawtioTab(TAB_CONFIG.artemisAddresses.title, TAB_CONFIG.artemisAddresses.route));
tabs.push(new Nav.HawtioTab(TAB_CONFIG.artemisQueues.title, TAB_CONFIG.artemisQueues.route));
tabs.push(new Nav.HawtioTab(TAB_CONFIG.attributes.title, TAB_CONFIG.attributes.route));
tabs.push(new Nav.HawtioTab(TAB_CONFIG.operations.title, TAB_CONFIG.operations.route));
if (workspace.getSelectedMBeanName()) {
tabs.push(new Nav.HawtioTab(TAB_CONFIG.operations.title, TAB_CONFIG.operations.route));
}
tabs.push(new Nav.HawtioTab(TAB_CONFIG.chart.title, TAB_CONFIG.chart.route));
if (shouldShowCreateAddressTab()) {
tabs.push(new Nav.HawtioTab(TAB_CONFIG.createAddress.title, TAB_CONFIG.createAddress.route));
@ -222,11 +224,19 @@ var Artemis;
function hasInvokeRights(jolokia, mbean, operation) {
var response = jolokia.request({
type: 'exec',
mbean: 'hawtio:type=security,area=jmx,name=ArtemisJMXSecurity',
mbean: 'artemis:type=security,area=jmx,name=ArtemisJMXSecurity',
operation: 'canInvoke(java.lang.String, java.lang.String)',
arguments: [mbean, operation] },
Core.onSuccess(null));
if (response.error) {
response = jolokia.request({
type: 'exec',
mbean: 'hawtio:type=security,area=jmx,name=ArtemisJMXSecurity',
operation: 'canInvoke(java.lang.String, java.lang.String)',
arguments: [mbean, operation]
},
Core.onSuccess(null));
}
Artemis.log.debug(operation + "=" + response.value);
return response.value;
}