Commit Graph

8635 Commits

Author SHA1 Message Date
franz1981 49e3843aa7 ARTEMIS-3340 Atomic server restart and clean dirty activation: fix testFailbackTimeout 2021-08-06 08:29:54 -04:00
Domenico Francesco Bruscino 313d3a8973 ARTEMIS-3367 Fix security resources for stomp-dual-authentication 2021-08-06 08:29:15 -04:00
Clebert Suconic 2ee22912f0 ARTEMIS-3413 Testing with RemoveQueue=false on the replica 2021-08-05 18:30:01 -04:00
Clebert Suconic c9f001215f This closes #3680 2021-08-05 14:18:39 -04:00
Clebert Suconic 3d77fcf3ee ARTEMIS-3340 Small edits to readme.md on zookeeper example 2021-08-05 14:18:21 -04:00
Clebert Suconic 56299433c3 ARTEMIS-3340 Removing not needed TemporaryFolder usages on tests 2021-08-05 14:18:21 -04:00
gtully ca7a100de0 ARTEMIS-3340 Sequential activation tracking for pluggable quorum replication policies + peer
Co-authored-by: franz1981 <nigro.fra@gmail.com>
2021-08-05 14:18:20 -04:00
Francesco Nigro 536271485f ARTEMIS-2716 Pluggable Quorum Vote 2021-08-05 14:18:20 -04:00
Robbie Gemmell 9989d9c4fc NO-JIRA: make errorprone consistently opt-in on all JDKs as it already is on JDK8 and 16 due to required forking 2021-08-05 13:49:11 -04:00
Robbie Gemmell 63ccba3bdf NO-JIRA: remove duplicate dependency declaration, fix build warning 2021-08-05 17:48:51 +01:00
Clebert Suconic b34363964f ARTEMIS-3243 Fixing typo on amqp-broker-connections.md 2021-08-05 12:00:54 -04:00
Robbie Gemmell eb183b12ec ARTEMIS-3412: update Mockito version
Gets PR build working on 17-ea again
2021-08-05 15:07:52 +01:00
Clebert Suconic 969901a5ff This closes #3568 2021-08-05 09:27:12 -04:00
gtully c2da0fd663 ARTEMIS-3200 - remove braces from the belt and braces fix in ARTEMIS-2712, the braces are not necessary and leak, cleaning up in close negates the need to the session closeable 2021-08-05 09:27:12 -04:00
Clebert Suconic da04ee2d31 This closes #3632 2021-08-05 09:22:16 -04:00
Erwin Dondorp abcfe2fe6f ARTEMIS-3177 allow a NOT-CONTAINS filter 2021-08-05 09:21:55 -04:00
Clebert Suconic f9aa0a98b4 ARTEMIS-3411 Add PrintData information on Divert records 2021-08-04 17:18:15 -04:00
Clebert Suconic feddd94276 NO-JIRA Updating parameter description 2021-08-04 17:08:11 -04:00
Robbie Gemmell 828d4940ec ARTEMIS-3302: enable some integration tests (primarily TLS+security) in the fast-tests profile
Help catch issues in these areas on PR runs rather than full builds.
2021-08-04 15:01:28 +01:00
Clebert Suconic ab8271f4f0 This closes #3683 2021-08-04 09:20:12 -04:00
Justin Bertram 9a2e2b3a34 ARTEMIS-3397 fix test failure 2021-08-04 09:20:12 -04:00
Clebert Suconic 9b49e63ef3 This closes #3682 2021-08-04 09:19:41 -04:00
Justin Bertram 8799fe807e ARTEMIS-3302 fix regression with OpenSSL
When using the OpenSSL provider on the broker the getPeerCertificates()
method does *not* return a X509Certificate[] so we need to convert the
Certificate[] that is returned. This code is inspired by Tomcat's
org.apache.tomcat.util.net.jsse.JSSESupport class.
2021-08-04 09:19:41 -04:00
Robbie Gemmell 9726476c36 ARTEMIS-3410: disable karaf client integration tests on Java 16+ for now 2021-08-04 13:02:59 +01:00
Clebert Suconic 271598050c This closes #3667 2021-08-03 18:14:51 -04:00
Domenico Francesco Bruscino a741ae9994 ARTEMIS-3367 Set verifyHost true for connectors by default 2021-08-03 18:14:51 -04:00
Clebert Suconic f8040df51b This closes #3633 2021-08-03 18:02:07 -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
Clebert Suconic 043d7eabd7 This closes #3653 2021-08-03 13:40:23 -04:00
Clebert Suconic b6d78076d4 NO-JIRA using latch::countdown on RedeployTest instead of new Runnable
I have done this just because I thought it was prettier
2021-08-03 12:34:21 -04:00
Justin Bertram 6bd30e8fe3 ARTEMIS-3385 management changes can be reverted by XML update
Durable changes made via the management API (e.g. adding
security-settings, adding address-settings, adding diverts) can be
reverted when reloading the XML at runtime.
2021-08-03 12:30:00 -04:00
Clebert Suconic a096d52d59 This closes #3670 2021-08-03 12:26:45 -04:00
Justin Bertram 2b5ca1be92 ARTEMIS-3401 use regex on web console for DLQ & expiry
Currently dead-letter and expiry addresses can only be identified on the
web console if they perfectly match a configurable string value (i.e.
"DLQ" and "ExpiryQueue" by default respectively). However, lots of users
have multiple dead-letter and expiry addresses which follow the same
naming pattern. The web console should support using a regular
expression so all of these addresses can be properly identified.
2021-08-03 12:26:45 -04:00
Clebert Suconic 2968a22379 This closes #3662 2021-08-03 10:19:23 -04:00
Justin Bertram 516f3425e7 ARTEMIS-3393 support securityDomain on in-vm acceptor 2021-08-03 10:19:22 -04:00
Clebert Suconic 96f399ce21 This closes #3666 2021-08-03 10:15:57 -04:00
Justin Bertram 8c3384a947 ARTEMIS-3397 remove queue rate metric from web console
This is a follow-up from ARTEMIS-2322.

The changes related to expired message are only there because
QueueFilterPredicate had a bug where the rate was correlated to expired
messages. When I fixed that I noticed that expired messages was actually
missing so I added it.
2021-08-03 10:15:57 -04:00
Clebert Suconic 0e23e3c50c This closes #3663 2021-08-03 09:57:05 -04:00
Justin Bertram 55533ae099 ARTEMIS-3394 ClassCastException when queue & divert have same name 2021-08-03 09:57:05 -04:00
Clebert Suconic 5ebaebdfa3 This closes #3671 2021-08-03 09:55:36 -04:00
Justin Bertram 7a9de8eea3 ARTEMIS-3302 swap deprecated X509Certificate
Casting the result of getPeerCertificates() to X509Certificate[] mirrors
what is done in the ActiveMQ "Classic" code-base.

A few tests which were imported from ActiveMQ "Classic" to verify our
OpenWire implementation were removed as they relied on a "stub"
implementation of javax.net.ssl.SSLSession that never would have worked
across multiple JDKs once javax.security.cert.X509Certificate[] was
removed. Furthermore, the tests appeared to be related to the OpenWire
*client* and not relevant to our broker-side implementation.
2021-08-03 09:55:36 -04:00
Clebert Suconic b15bd46a74 This closes #3675 2021-08-03 09:53:30 -04:00
Andy Taylor c358688fd6 ARTEMIS-3404 - expose max retry interval on bridge mbean
https://issues.apache.org/jira/browse/ARTEMIS-3404
2021-08-03 09:07:39 -04:00
Robbie Gemmell 6b8fdcb079 ARTEMIS-3409: skip tests if preconditions cant be satisfied 2021-08-03 08:55:00 -04:00
franz1981 1883801604 This closes #3672 2021-08-03 14:43:20 +02:00
franz1981 2694f8b52e ARTEMIS-3402 Split Brain detection should reject bad member updates 2021-08-03 14:43:20 +02:00
Robbie Gemmell ff9346d670 NO-JIRA: remove invalid tt tag usage to get javadoc building on Java 11 2021-07-30 15:39:20 +01:00
Robbie Gemmell 7ddc947413 ARTEMIS-3407: update pax-exam to 4.13.4 and karaf to 4.3.1, get tests working on Java 11
Also tweaks karaf test module name for clarity
2021-07-30 11:59:19 +01:00
Clebert Suconic eabfc0658f NO-JIRA Moving AssertionLoggerHandlerTest to Unit Tests
This would help capture issues with logging configuration on PR checks
2021-07-29 22:20:07 -04:00
Clebert Suconic 62c3d864a2 NO-JIRA Addressing Intermitent Failure on MessageExpirationTest 2021-07-29 17:50:26 -04:00