This commit is contained in:
Domenico Francesco Bruscino 2021-03-02 12:55:45 +01:00
commit 2f5b9325f3
4 changed files with 14 additions and 9 deletions

View File

@ -34,6 +34,9 @@
<access method="get*" roles="${role}"/>
<access method="is*" roles="${role}"/>
<access method="set*" roles="${role}"/>
<!-- Note count and browse are need to access the browse tab in the console-->
<access method="browse*" roles="${role}"/>
<access method="count*" roles="${role}"/>
<access method="*" roles="${role}"/>
</match>
<!--example of how to configure a specific object-->

View File

@ -100,8 +100,8 @@ var Artemis;
fieldOptions: [
{id: 'id', name: 'ID'},
{id: 'name', name: 'Name'},
{id: 'routingTypes', name: 'Routing Types'},
{id: 'queueCount', name: 'Queue Count'}
{id: 'routing_Types', name: 'Routing Types'},
{id: 'queue_Count', name: 'Queue Count'}
],
operationOptions: [
{id: 'EQUALS', name: 'Equals'},

View File

@ -127,18 +127,18 @@ var Artemis;
fieldOptions: [
{id: 'id', name: 'ID'},
{id: 'name', name: 'Name'},
{id: 'consumerId', name: 'Consumer ID'},
{id: 'consumer_Id', name: 'Consumer ID'},
{id: 'address', name: 'Address'},
{id: 'filter', name: 'Filter'},
{id: 'maxConsumers', name: 'Max Consumers'},
{id: 'routingType', name: 'Routing Type'},
{id: 'purgeOnNoConsumers', name: 'Purge On No Consumers'},
{id: 'max_Consumers', name: 'Max Consumers'},
{id: 'routing_Type', name: 'Routing Type'},
{id: 'purge_On_No_Consumers', name: 'Purge On No Consumers'},
{id: 'user', name: 'User'},
{id: 'messageCount', name: 'Message Count'},
{id: 'deliveringCount', name: 'Delivering Count'},
{id: 'message_Count', name: 'Message Count'},
{id: 'delivering_Count', name: 'Delivering Count'},
{id: 'paused', name: 'Paused'},
{id: 'temporary', name: 'Temporary'},
{id: 'autoCreated', name: 'Auto Created'},
{id: 'auto_Created', name: 'Auto Created'},
{id: 'rate', name: 'Rate'}
],
operationOptions: [

View File

@ -95,6 +95,8 @@ public class QueueFilterPredicate extends ActiveMQFilterPredicate<QueueControl>
return matches(queue.isLastValue());
case SCHEDULED_COUNT:
return matches(queue.getScheduledCount());
case USER:
return matches(queue.getUser());
default:
return true;
}