Commit Graph

8584 Commits

Author SHA1 Message Date
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
Domenico Francesco Bruscino b1d326ba8b ARTEMIS-3339 Fix management role match key comparator 2021-06-15 15:06:55 -04:00
Justin Bertram 48d489ec42
NO-JIRA clarify broker setup/config doc 2021-06-15 12:16:11 -05:00
Robbie Gemmell a8c17fa290 ARTEMIS-3270: move enforcer execution config so it overrides parent execution
The change in 90101f5b54 / #3595 didnt work
as expected since the existing enforcer check already wasnt working. It
isnt overriding the apache parent, which is checking for 3.0.x. Moving
the execution into the build element, alongside the java version check,
allows it to replace the parent execution and enforce 3.5.0+ is used.
2021-06-15 17:16:37 +01:00
Robbie Gemmell d22b9d51fb ARTEMIS-2813: exclude old transitive test dep which isnt actually needed in tests 2021-06-15 16:26:02 +01:00
Robbie Gemmell 1430972c62 ARTEMIS-3348, ARTEMIS-3347: update to hawtio 2.13.4 2021-06-15 12:55:31 +01:00
Robbie Gemmell 98e5e19849 ARTEMIS-3347: update various commons-io usages, and bump all to latest
Consolidates and aligns versions missed in 73bcc78beb
2021-06-15 12:55:20 +01:00
Robbie Gemmell 567c4fc16b ARTEMIS-3155: fix javadoc error introduced in #3624 2021-06-15 12:53:43 +01:00
Clebert Suconic 7538602cef This closes #3624 2021-06-14 18:19:15 -04:00
Justin Bertram 867bf5e01e ARTEMIS-3155 support better backwards compatibility
Support better backwards compability for SSL keyStoreProvider and
trustStoreProvider.
2021-06-14 18:04:06 -04:00
Clebert Suconic f6a4c8fcde This closes #3623 2021-06-14 16:37:23 -04:00
Domenico Francesco Bruscino 65782cb457 ARTEMIS-3337 Add test on multiple connection failures 2021-06-14 16:37:02 -04:00
Markus Meierhofer 3b1f6eee7d ARTEMIS-3337: Correctly handle multiple connection failures
Previously, when during reconnect one session couldn't be transferred
to the new connection, we instantly returned and didn't execute failover
for the other sessions. This produced the issue that for sessions
where no failover was executed, their channels were still present on the
old connection. When the old connection was then destroyed, these channels
were closed although the reconnect was still ongoing, which lead to
"dead" sessions.

Now, if a session failover fails, for the remaining sessions the "client-side" part
of failover is executed, which removes the sessions from the old connection so that
they are not closed when the old connection is closed afterwards.
2021-06-14 16:36:23 -04:00
Justin Bertram a7089d0050 ARTEMIS-3346 test for typo fix 2021-06-14 10:25:59 -05:00
Domenico Francesco Bruscino 595d1e43c7 ARTEMIS-3346 Fix typo in coreMaptoJMSMap 2021-06-14 11:08:26 -04:00
Justin Bertram d9f0a1f570
NO-JIRA update clustered grouping example doc 2021-06-11 13:32:25 -05:00
Justin Bertram 9791a96c58
NO-JIRA further clarify clustered grouping 2021-06-11 11:47:16 -05:00
Clebert Suconic bff242bba7 NO-JIRA Small tweaks on PrintData.java 2021-06-11 10:53:48 -04:00
Justin Bertram a4c1155a01 ARTEMIS-3341 update checkstyle to latest + update code
As a follow-up to #3618/dc7de893747b90b627d729f9f18a758bb4dad9d5 update
checkstyle to the latest version, restoring the originally intended
"RightCurly" style, and updating all the code to properly adhere to the
style as enforced by the new checkstyle version.

The version of checkstyle we used before the aforementioned commit had
a bug which didn't properly enforced our intended "RightCurly" style
(see https://github.com/checkstyle/checkstyle/issues/6345). That commit
changed the style to accommodate the handful of unintended style
violations. This commit reverts that change for 2 main reasons:
 - The style was always intended to use `alone` for both `METHOD_DEF`
and `CTOR_DEF`.
 - There are over 1,000 existing uses of the intended style and around
30 violations of this style which were unintentionally allowed.

Reverting the style back to the original and cleaning up the unintented
violations makes the code more consistent and prevents further style
inconsistencies in the future.

There were a handful of other changes related to checkstyle bugs which
allowed unintended style violations. These were related to indentation
levels.

This closes #3619
(with some minor changes from Robbie to fix remaining violations)
2021-06-11 12:16:04 +01:00
Robbie Gemmell dc7de89374 ARTEMIS-3341: update checkstyle, use consistent plugin version, fix some issues or tweak config to allow existing style 2021-06-10 20:53:16 +01:00
Andy Taylor 88122e0cd1 ARTEMIS-3331 - RA improvements to work well with more Servers
https://issues.apache.org/jira/browse/ARTEMIS-3331
2021-06-10 14:13:10 -04:00
Erwin Dondorp 3ff70cb7d3 ARTEMIS-3334 suggest to use the etc directory, which is already in the classpath and also has all other config files 2021-06-10 09:22:53 -04:00
Domenico Francesco Bruscino bafefdc8ec ARTEMIS-3338 Preserve prepared XA transactions on connection failure 2021-06-09 15:00:45 -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
Robbie Gemmell eb4723cdc1 NO-JIRA: update broken repo/website URLs in pom to point to something useful 2021-06-09 15:49:15 +01:00
gtully 7e15de6339 no-jira - consolidate mvn-war-plugin version in play 2021-06-08 14:15:52 +01:00
gtully b432eb8a5d no-jira - update mvn-war-plugin to get rid of xstream security warning in build 2021-06-08 12:38:39 +01:00
gtully 085766033b no jira - remove unused log4j dependency 2021-06-08 10:19:12 +01:00
Justin Bertram 26b83985cf ARTEMIS-3330 JMS session stopped on failed rollback 2021-06-07 15:00:34 -04:00
Justin Bertram a38f0092f2
ARTEMIS-1883 clarify docs for use of '::' 2021-06-07 13:45:01 -05:00
Clebert Suconic 3913c17c8d NO-JIRA fixing intermittent failure on test 2021-06-07 13:05:34 -04:00
Clebert Suconic 0edf599adc ARTEMIS-3261 Updating logic to use only replaceable records on compacting verification 2021-06-07 13:05:02 -04:00
Andy Taylor 686a61dd65 ARTEMIS-3332 - fix search on consumer count in console
https://issues.apache.org/jira/browse/ARTEMIS-3332
2021-06-07 13:16:52 +02:00
Justin Bertram 9bf6dde15b This closes #3606 2021-06-04 13:56:11 -05:00
Robbie Gemmell c24a2faf52 NO-JIRA: remove profiled module definitions which duplicate the base module set, delete empty profile
both look to have been unnecessary since Artemis 1.1 via 649edd3a37
2021-06-04 15:05:22 +01:00
Robbie Gemmell aa67a12449 ARTEMIS-3328: override the parent pom assembly creation, suppress creating and deploying unused assembly 2021-06-04 14:59:09 +01:00
Robbie Gemmell c05c5955f3 ARTEMIS-3328: only build the source-release assembly during the release process, or upon request 2021-06-04 14:59:09 +01:00
Robbie Gemmell 5bf3228259 ARTEMIS-3328: fix assembly descriptors and stop downgrading assembly plugin
- Remove assembly plugin downgrade from 7733a76649 in ARTEMIS-3296.
- Ensure bin descriptor marks key artemis setup/startup script executable file permissions, it wasnt
  before as while aiming to it only defined inclusions for old files that no longer exist.
- Add mode fields to every area to make clear what they will be using, make formats consistent with doc.
- Update source release assembly to similarly mark key scripts with executable file permissions.
2021-06-04 14:59:09 +01:00
gtully 73bcc78beb no jira - update commons.io version to latest 2021-06-04 13:46:34 +01:00
Clebert Suconic 7137252c5d NO-JIRA fixing spelling udpate as update 2021-06-03 10:43:11 -04:00
Clebert Suconic cfd032799c ARTEMIS-3327 removing unecessary blocking operations on update and delete records 2021-06-03 10:37:16 -04:00
gtully f4f31df97b no jira - only delay on expected messages and no wait on null. speed up test - thanks rgemmell 2021-06-03 15:17:48 +01:00
gtully 3f67d93592 no jira - intermittnet failure due to possibly slower hw, eliminate that 2021-06-03 12:22:52 +01:00
gtully 9484e49ab0 no jira - fix intermittent checkthreadrule failure in JDBCJournalTest 2021-06-03 11:28:39 +01:00