This is an automated email from the ASF dual-hosted git repository.
brusdev pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git.
from 8c63d9a This closes #3846
new b979189 ARTEMIS-3569 - balancer role_name local target, matches role
of authenticated user
new f8472fd ARTEMIS-3569 Validate users on AMQP remote open
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../protocol/amqp/broker/AMQPSessionCallback.java | 16 +----
.../amqp/proton/AMQPConnectionContext.java | 53 ++++++++++++++++-
.../protocol/amqp/proton/AMQPRedirectHandler.java | 13 +++-
.../artemis/core/protocol/mqtt/MQTTConnection.java | 1 +
.../core/protocol/mqtt/MQTTConnectionManager.java | 15 ++---
.../core/protocol/mqtt/MQTTProtocolHandler.java | 6 +-
.../core/protocol/mqtt/MQTTRedirectHandler.java | 13 +++-
.../core/protocol/openwire/OpenWireConnection.java | 24 ++++++--
.../protocol/openwire/OpenWireProtocolManager.java | 10 ++--
.../core/protocol/openwire/amq/AMQSession.java | 2 +-
.../openwire/amq/OpenWireConnectionTest.java | 2 +-
.../core/protocol/stomp/StompProtocolManager.java | 3 +-
.../core/management/impl/AbstractControl.java | 3 +-
.../management/impl/BrokerBalancerControlImpl.java | 29 ++++-----
.../protocol/core/impl/ActiveMQPacketHandler.java | 11 ++--
.../core/impl/ActiveMQRedirectHandler.java | 7 ++-
.../core/security/impl/SecurityStoreImpl.java | 2 +-
.../artemis/core/server/ActiveMQMessageBundle.java | 4 ++
.../artemis/core/server/ActiveMQServer.java | 6 +-
.../core/server/balancing/BrokerBalancer.java | 47 ++++++++-------
.../core/server/balancing/RedirectContext.java | 13 ++--
.../core/server/balancing/RedirectHandler.java | 5 +-
.../core/server/balancing/targets/Target.java | 1 +
.../core/server/balancing/targets/TargetKey.java | 4 +-
.../balancing/targets/TargetKeyResolver.java | 32 ++++++++++
...ctiveMQTargetFactory.java => TargetResult.java} | 33 ++++++++---
.../core/server/impl/ActiveMQServerImpl.java | 19 ++++--
.../core/server/balancing/BrokerBalancerTest.java | 6 +-
.../balancing/targets/TargetKeyResolverTest.java | 69 ++++++++++++++++++++++
docs/user-manual/en/broker-balancers.md | 9 +--
pom.xml | 2 +-
.../integration/balancing/AmqpRedirectTest.java | 58 ++++++++++++++++++
.../integration/balancing/BalancingTestBase.java | 28 ++++++++-
.../integration/balancing/MQTTRedirectTest.java | 59 +++++++++++++++---
.../tests/integration/balancing/TargetKeyTest.java | 56 ++++++++++++++++++
35 files changed, 531 insertions(+), 130 deletions(-)
copy
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/balancing/targets/{ActiveMQTargetFactory.java
=> TargetResult.java} (53%)