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
Clebert Suconic
b8d0674ef9
NO-JIRA AssertionLoggerHandler improvements
...
I decided on NO-JIRA as this is only support tests themselves. No need for release notes on this commit:
I changed logging-CI.properties to be the same as logging.properties, with the only exception as file and console are limited by WARN.
while the AssertionLogger would still get INFO. as that's required for certain tests.
2021-07-29 11:38:26 -04:00
franz1981
4a677d01f0
NO-JIRA Speeding-up I/O paging for tests
2021-07-28 10:02:14 -04:00
franz1981
63577c7264
ARTEMIS-3405 Log the end of paging mode for a destination
2021-07-28 10:02:14 -04:00
Andy Taylor
57790a93a9
ARTEMIS-3403 - wrong debug level in ArtemisMBeanServerGuard
...
https://issues.apache.org/jira/browse/ARTEMIS-3403
2021-07-27 22:52:56 -04:00
Robbie Gemmell
d9a44002c5
ARTEMIS-3304: replace use of deprecated constructors marked as for-removal since Java 16
...
updates all the uses in tests, missed in original commit
2021-07-27 14:55:40 +01:00
Robbie Gemmell
0cdd0c8bd9
NO-JIRA: make redirectTestOutputToFile config use the standard property to allow configuring on command line
2021-07-27 12:38:19 +01:00