Domenico Francesco Bruscino
a741ae9994
ARTEMIS-3367 Set verifyHost true for connectors by default
2021-08-03 18:14:51 -04:00
Clebert Suconic
813ed88ecb
ARTEMIS-3243 Implementing dual mirror with Broker Connections
...
There are some major tests added as part of this PR.
This PR has been done through an extensive collaboration with Robbie Gemmel on https://github.com/apache/activemq-artemis/pull/3633
2021-08-03 16:50:43 -04:00
Robbie Gemmell
6b8fdcb079
ARTEMIS-3409: skip tests if preconditions cant be satisfied
2021-08-03 08:55:00 -04:00
franz1981
2694f8b52e
ARTEMIS-3402 Split Brain detection should reject bad member updates
2021-08-03 14:43:20 +02:00
Justin Bertram
f554806ec3
ARTEMIS-3400 add audit logging for message ack
...
Aside from adding audit logging for message acknowledgement this commit
also consolidates the two nearly identical acknowledge method
implementations in o.a.a.a.c.s.i.QueueImpl. This avoids duplicating
code for audit logging, plugin invocation, etc. There is no semantic
change.
2021-07-26 23:27:36 -04:00
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
Justin Bertram
bb9bbf062d
ARTEMIS-3395 ensure sending audit log contains message ID
2021-07-23 14:28:53 -04:00
Clebert Suconic
277aa3706a
NO-JIRA Adding Core Bridge Transfer Test
2021-07-16 09:09:48 -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
Clebert Suconic
05498c350e
ARTEMIS-3261 Remove need to lookup replaceableRecords on the hot path
...
We known it's a replaceable record as part of the logic, no need to lookup the record type unless it's a reload from the system.
2021-06-09 14:52:06 -04:00
Clebert Suconic
3f38be8c08
ARTEMIS-3310 Paging could lose AMQPmessage if match didn't work for any reason
2021-05-20 13:19:57 -04:00
Clebert Suconic
27c343913f
ARTEMIS-3297 Journal Retention Feature
2021-05-18 16:29:18 -04:00
Clebert Suconic
a30b3a81b9
ARTEMIS-3293 System test on Paging and DLQ processing
2021-05-11 16:30:23 -04:00
Clebert Suconic
42405fedcf
ARTEMIS-3261 Expanding verification to journal compacting counters
...
After testing a production outage situation I still encountered issues on deciding the journal should be compacted.
This is addressing these issues.
2021-04-26 16:45:17 -04:00
Clebert Suconic
8d24bfa646
ARTEMIS-3204 Fixing NPE on Counting Queue for Resource Limit
2021-03-24 08:12:40 -04:00
Clebert Suconic
41d9eef511
ARTEMIS-3191 Tests with Mirror and Credentials
2021-03-22 19:10:37 -04:00
Clebert Suconic
b4beea1f2c
ARTEMIS-3150 Broker Connections with restricted security
...
The local connections and sessions created internally were supposed to bypass security
just like bridges and other internal components
2021-03-22 17:32:43 -04:00
Domenico Francesco Bruscino
5a5794021c
ARTEMIS-3044 Add Artemis web console tests
2021-03-10 08:23:13 -05:00
franz1981
57e85bbc10
NO-JIRA fix flaky ReplicatedMultipleFailbackTest NPE
2021-03-05 10:18:48 -05:00
Clebert Suconic
d8f57ae810
NO-JIRA Fixing checkstyle after SoakPagingTest Improvement
2020-12-21 14:17:50 -05:00
Clebert Suconic
e3670b64e5
NO-JIRA Improving SoakPagingTest
2020-12-21 12:59:40 -05:00
Clebert Suconic
1c0896f773
NO-JIRA Using Assume on DNSSwitchTest and ignoring if it cannot be executed
2020-12-17 16:49:45 -05:00
Clebert Suconic
02bcb3195f
ARTEMIS-3034 CLI Transfer Option
2020-12-16 14:17:04 -05:00
Domenico Francesco Bruscino
7eb22c18db
ARTEMIS-3014 Fix JMX RBAC guard
2020-11-30 11:12:25 -06:00
gtully
9675ecae42
ARTEMIS-2985 - don't block netty threads for mqtt protocol actions
2020-11-12 21:01:00 +00:00
Clebert Suconic
c3887ed710
ARTEMIS-2887 Adding back Message.toString on audit logger
2020-08-26 21:48:30 -04:00
Clebert Suconic
a2bf85f529
NO-JIRA Fixing java.security location on java11
2020-08-20 11:36:21 -04:00
Clebert Suconic
c551df770c
ARTEMIS-2868 Protect Topology Updates from Split Brain on broker shutdown as well
2020-08-07 12:39:20 -04:00
Clebert Suconic
27cb9b37b1
ARTEMIS-2868 Protect Topology Updates from Split Brain
2020-08-06 17:40:57 -04:00
Clebert Suconic
9842f45a49
ARTEMIS-2867 Do not cache IPs on DNS Entries for NetworkHealthCheck
...
In case of a DNS outage, the pinger should still fail
If we cache the InetAddress this would not be possible
2020-08-06 17:40:41 -04:00
Clebert Suconic
c00b210629
ARTEMIS-2858 DNS Tests on reconnects and backups
...
There are no fixes as part of this test addition. As I wrote this test as I was debugging DNS issues.
2020-07-29 17:56:55 -04:00
Clebert Suconic
fad6ff9418
NO-JIRA Adding retryRule back on SoakPagingTest
2020-05-10 21:37:20 -04:00
brusdev
b43f888ce2
ARTEMIS-2755 Add SoakPagingTest timeouts
...
Limit time awaiting producers and consumers.
2020-05-10 21:35:28 -04:00
brusdev
74598c88df
ARTEMIS-2755 Improve SoakPagingTest stability
...
Await producers and consumer creation before to await the test running time.
2020-05-08 20:28:14 +02:00
Andy Taylor
8a04ee07de
ARTEMIS-2648 - audit logging improvements
...
https://issues.apache.org/jira/browse/ARTEMIS-2648
2020-05-04 15:19:08 +01:00
Clebert Suconic
576e01dba6
ARTEMIS-2725 Implementing retries policy on tests
2020-04-20 11:41:20 -04:00
Francesco Nigro
e4c5ea719f
ARTEMIS-2713 Added ReplicatedMultipleFailbackTest
2020-04-15 21:56:34 -04:00
Clebert Suconic
9e9f88b6b7
ARTEMIS-2685 Fixing Examples
...
The examples were broken after the change on ServerUtil.
2020-04-14 11:22:09 -04:00
Justin Bertram
701b4e4794
ARTEMIS-2692 refactor queue creation
...
This commit changes all tests to use the new methods.
2020-04-13 14:25:30 -05:00
Clebert Suconic
af796d5ce4
ARTEMIS-2701 Improving DLQ/check over previously removed records
2020-04-06 12:25:35 -04:00
Clebert Suconic
bd77a536c6
ARTEMIS-2685 Not Block Netty Thread in any way for OpenWire
2020-04-01 18:02:48 -04:00
Clebert Suconic
6d2b17d23a
NO-JIRA Improving SoakPagingTest
2020-03-26 14:38:57 -04:00
Clebert Suconic
ca50b3449e
ARTEMIS-1975 Removing ThreadLocal for StorageManager
2020-03-25 21:54:46 -04:00
Clebert Suconic
f874a02d17
ARTEMIS-2673 PageStore should only be removed when Address is removed
...
& ARTEMIS-2674 AMQP should use a separate executor for IO
2020-03-23 20:02:17 -04:00
Clebert Suconic
4723405214
ARTEMIS-2658 Enabling thread check at end of test
2020-03-17 09:53:07 -04:00
Clebert Suconic
ff58e6e306
ARTEMIS-2658 Smoke tests for Paging on AMQP and Core
2020-03-16 16:43:31 -04:00
brusdev
de113e47ae
ARTEMIS-2625 testListConsumers failing on IBM JDK 8
...
Fix JmxServerControlTest.testListConsumers.
2020-02-25 12:19:05 -06:00
Clebert Suconic
b0497ed724
ARTEMIS-2517 JMX will be shutdown after failback
2019-10-10 14:44:55 -04:00
yang wei
76d420590f
ARTEMIS-2399 Improve performance when there are a lot of subscribers
2019-08-19 16:43:44 +01:00
yang wei
665a69886e
ARTEMIS-2350 Fix ClassNotFoundException while invoking ActiveMQServerControlImpl::listConsumers
2019-06-25 14:06:12 -05:00