Justin Bertram
2954829e3e
ARTEMIS-3399 fix audit logging for AMQP
...
Due to the multi-threaded AMQP implementation the ThreadLocal variables
used by the AuditLogger to track the username and remote address don't
work properly. Changes include:
- Passing the audit Subject (set during authentication) and the remote
address explicitly for audit logging on the relevant ServerSession
methods rather than relying on the AuditLogger's ThreadLocal
variables
- Audit logging core session creation *after* successful authentication
so that we have the proper Subject; this is especially important for
the SSL certificate authentication use-case
- Renaming some methods and variables in AuditLogger to more accurately
reflect their intended use
- Adding JavaDoc and refactoring the getCaller methods on AuditLogger
- Refactor audit log testing and add a new test
2021-07-26 23:27:35 -04:00
Domenico Francesco Bruscino
459d392444
ARTEMIS-3391 Upgrade netty version to 4.1.66.Final
2021-07-26 08:19:19 +02:00
Justin Bertram
bb9bbf062d
ARTEMIS-3395 ensure sending audit log contains message ID
2021-07-23 14:28:53 -04:00
Domenico Francesco Bruscino
1d15fb1a3f
ARTEMIS-3380 Upgrade jetty version to 9.4.43.v20210629
2021-07-23 10:27:44 -04:00
Andy Taylor
82e40ce229
ARTEMIS-3398 - fix filtering in console with filter
...
https://issues.apache.org/jira/browse/ARTEMIS-3398
2021-07-22 11:24:14 -04:00
Domenico Francesco Bruscino
51801d978e
ARTEMIS-3396 Convert bytes properties to String for OpenWire
2021-07-22 11:23:28 -04:00
Howard Gao
8a88c5f913
ARTEMIS-3392 Scale down would fail if target queue's id greater than max int
2021-07-21 15:12:43 -04:00
Justin Bertram
3a8e9953f1
NO-JIRA add broker config doc for REST
2021-07-20 15:38:35 -05:00
Justin Bertram
eefb748552
NO-JIRA update REST doc with caveats
2021-07-20 15:11:20 -05:00
Clebert Suconic
4883285a2a
This closes #3658
2021-07-16 09:19:03 -04:00
Clebert Suconic
c479cb558a
ARTEMIS-3384 Adding tests around duplicate detection
2021-07-16 09:10:14 -04:00
Clebert Suconic
277aa3706a
NO-JIRA Adding Core Bridge Transfer Test
2021-07-16 09:09:48 -04:00
Clebert Suconic
595af7f904
This closes #3652
2021-07-15 14:20:46 -04:00
Domenico Francesco Bruscino
2d07d0d844
ARTEMIS-3384 Fix bridge duplicate messages after reconnection
2021-07-15 14:20:45 -04:00
Clebert Suconic
b4aef3fca8
ARTEMIS-3386 Expiry messages using too many threads
2021-07-15 13:51:52 -04:00
Clebert Suconic
18e9dee490
NO-JIRA Small tweaks on AMQPMessage.
...
- adding annotations into toString()
- comment typo
2021-07-13 08:28:06 -04:00
Clebert Suconic
fb5f6a3f82
NO-JIRA I got tired of the ThreadDump after Wait failures. I am removing it.
2021-07-13 08:21:11 -04:00
Clebert Suconic
b4d4ea3ec7
This closes #3650
2021-07-13 08:20:48 -04:00
Clebert Suconic
ee3814dbfd
ARTEMIS-3383 AMQPMessage.isDurable wrongly returns false during persistent lazy reload state
2021-07-12 23:00:16 -04:00
Justin Bertram
ec508d8306
ARTEMIS-3381 AMQP bypasses session when deleting queues
...
The AMQP implementation bypasses the ServerSession when deleting queues
which also bypasses security authorization.
2021-07-12 11:25:11 -04:00
Justin Bertram
bf875c3a37
ARTEMIS-3374 fix tests and shared subscriber case
...
A couple of tests were explicitly written to delete the
configuration-managed queue. Since this is no longer allowed these
tests had to change.
2021-07-12 11:25:11 -04:00
gtully
4c06d447fd
ARTEMIS-2974 - fix up the regexp used in the test to match to the end
2021-07-09 14:56:29 +01:00
gtully
3961fd1cf2
ARTEMIS-3372 - ensure test verification happens after expected failover event such that expected message is not tracked as a duplicate
2021-07-09 12:41:17 +01:00
Clebert Suconic
000f83dbc2
ARTEMIS-3327 Reverting 5c051e9832
and adding test to validate
...
contract with sync.
This reverts commit 5c051e9832
.
However this is adding two tests to make sure there won't be a regression on this.
2021-07-07 18:46:52 -04:00
franz1981
ff6e1572c4
ARTEMIS-3354 Better doc journal-max-io misuse with ASYNCIO
2021-07-07 12:17:36 -04:00
franz1981
bb3f31340d
ARTEMIS-3354 journal-max-io cannot be set to 1 with ASYNCIO journal
2021-07-07 12:17:36 -04:00
gtully
7fc312ab5d
ARTEMIS-3372 - disconnect consumers on queue deletion event
2021-07-06 16:16:33 -04:00
Justin Bertram
9f96e2d270
ARTEMIS-3379 add message details to consumer audit log
2021-07-06 16:15:50 -04:00
Justin Bertram
d800957bfb
This closes #3644
2021-07-06 14:59:33 -05:00
Clebert Suconic
5c051e9832
ARTEMIS-3327 Removing unecessary block operation on journal append record
2021-07-06 14:59:33 -05:00
Justin Bertram
b5f772e9e5
This closes #3279
2021-07-06 14:09:01 -05:00
Justin Bertram
b7f9807cd9
ARTEMIS-2919 support timestamping incoming messages
2021-07-06 14:09:00 -05:00
Justin Bertram
478a28c196
This closes #3642
2021-07-06 14:06:39 -05:00
Justin Bertram
1d02d06eab
ARTEMIS-3374 config-managed queue can be deleted by durable subscriber
2021-07-06 14:06:39 -05:00
Justin Bertram
3e5795e965
This closes #3620
2021-07-06 14:05:16 -05:00
Justin Bertram
47d4b8fff4
ARTEMIS-3343 log WARN & ignore duplicate address-setting match
2021-07-04 16:00:31 -05:00
Justin Bertram
8a13b885a5
This closes #3629
2021-07-04 14:37:51 -05:00
Michal Petrov
33e13ebc14
ARTEMIS-3356: fix debug message arguments
2021-07-04 14:37:51 -05:00
Justin Bertram
07331f9aa9
This closes #3630
2021-07-04 14:32:58 -05:00
franz1981
bea0568a88
ARTEMIS-3360 Backup connector ignores TTL settings on the connection factories
2021-07-04 14:32:58 -05:00
Justin Bertram
a2a13b6cdd
This closes #3643
2021-07-04 13:31:53 -05:00
Erwin Dondorp
c6874c9acc
ARTEMIS-3375 fix for helptext for 'artemis address'
2021-07-04 13:31:53 -05:00
Clebert Suconic
4d7c6cc188
ARTEMIS-3373 Using consistent template terminology under the collections package
2021-07-02 15:59:32 -04:00
Clebert Suconic
200e436931
ARTEMIS-3371 Adding TestContainers support and adding QpidDispatchPeerTest
...
This is testing peer integration with qpid-dispatch by using TestContainer and a docker image for Artemis
Also, as I added QpidDispatchTest, I reorganized the brokerConnect tests a bit into a brokerConnect folder.
2021-06-29 17:46:26 -04:00
Domenico Francesco Bruscino
2585ef3e7b
ARTEMIS-3368 Upgrade hawtio version to 2.13.5
2021-06-29 16:29:28 -04:00
Justin Bertram
0275630b7e
This closes #3636
2021-06-24 15:36:21 -05:00
Justin Bertram
45ae64a01c
ARTEMIS-3366 deleteAddress can remove SnF queue
2021-06-24 13:27:35 -05:00
Robbie Gemmell
8b33279667
ARTEMIS-3352: remove redundant snapshot repo definition
...
Parent defines it already, and Maven 3 ignores the 'uniqueVersion' config
2021-06-16 16:53:08 +01:00
Robbie Gemmell
318110b72f
ARTEMIS-3352: remove stale cobertura plugin config
...
It doesnt support JDK8+, which the project has required for years, and Jacoco is now used instead.
2021-06-16 16:52:57 +01:00
Clebert Suconic
afa7209011
NO-JIRA Fixing Intermittent failure on AutoCreateExpiryResourcesTest with a Wait.assert change
2021-06-16 09:20:12 -04:00