Commit Graph

743 Commits

Author SHA1 Message Date
Robbie Gemmell b310de1df3 ARTEMIS-4344: update to Jacoco 0.8.10 2023-07-04 11:38:25 +01:00
Robbie Gemmell 8e1564dfb3 ARTEMIS-4343: update to Mockito 5.4.0 2023-07-04 11:36:31 +01:00
Robbie Gemmell 39b3fd2d2e ARTEMIS-4342: update to Groovy 4.0.13 2023-07-04 11:33:30 +01:00
Robbie Gemmell 323b080888 ARTEMIS-4323: remove superfluous maven-install-plugin entries, stop warnings
It is a core plugin so still present, but v3.0.0+ no longer supports the createChecksum config and generates warnings on newer maven 3.9+ releases
2023-07-03 12:39:45 +01:00
Domenico Francesco Bruscino fef7c147eb ARTEMIS-4336 Upgrade mockserver version to 5.15.0 2023-06-27 17:39:41 +01:00
Domenico Francesco Bruscino 247263c12c ARTEMIS-4335 Upgrade bcprov to bcprov-jdk18on:1.75 2023-06-27 17:39:41 +01:00
Robbie Gemmell e59fb0233e ARTEMIS-4334: move artemis-website into the release profile since it now does nothing outwith it 2023-06-26 11:30:58 +01:00
Robbie Gemmell 57602a94ff ARTEMIS-4329: use standard location for RAT check output 2023-06-23 15:25:13 +01:00
Justin Bertram a6fea084ed ARTEMIS-4323 upgrade to Apache parent 30 2023-06-22 13:42:24 +01:00
Robbie Gemmell 7ff5f47008 ARTEMIS-4321: upgrade Guava to 32.0.1-jre 2023-06-21 16:11:37 +01:00
Justin Bertram 2de12d211c ARTEMIS-4321 upgrade Guava to 32.0.0-jre 2023-06-21 10:16:10 +02:00
Justin Bertram b440c2a3aa ARTEMIS-4320 upgrade Netty to 4.1.94.Final 2023-06-21 10:15:23 +02:00
Justin Bertram 69ae79ad84 ARTEMIS-4277 upgrade checkstyle 2023-06-20 18:04:05 +01:00
Clebert Suconic ae554b43db [maven-release-plugin] prepare for next development iteration 2023-06-14 18:20:58 -04:00
Clebert Suconic 2be5c54cd0 [maven-release-plugin] prepare release 2.29.0 2023-06-14 18:20:45 -04:00
Clebert Suconic 2ef43a0be1 Revert "ARTEMIS-4299 Upgrade json-smart to 2.4.11"
This reverts commit d943213cae.

This is being reverted until the build could be fixed.
2023-05-31 18:49:56 -04:00
Domenico Francesco Bruscino d943213cae ARTEMIS-4299 Upgrade json-smart to 2.4.11 2023-05-31 16:33:45 -05:00
Robbie Gemmell c31211b93f ARTEMIS-4269: update to Netty 4.1.93 2023-05-30 12:17:48 +01:00
Clebert Suconic 80e34bfba7 ARTEMIS-4290 Replacing maven-surefire deprecated property forkMode by forkCount and reuseFork 2023-05-24 22:21:16 -04:00
Gary Tully 587ffb223c ARTEMIS-3042 simple properties based, extensible broker image 2023-05-24 15:22:01 +01:00
Clebert Suconic 0c8adee37a ARTEMIS-4290 Separating some integration tests into legacy-integration-tests
legacy-integration-tests is being created to hold LDAP Tests (or any other tests that won't play well with keeping threads clean)
it will have fork-mode=always on the maven-surefire-plugin
2023-05-23 13:52:03 -07:00
Robbie Gemmell 4cb936c6e1 ARTEMIS-4289: update to Log4j 2.20.0 2023-05-23 15:52:27 +01:00
Robbie Gemmell 21b0dfac89 ARTEMIS-4288: update to maven-bundle-plugin 5.1.9 2023-05-23 11:17:15 +01:00
Robbie Gemmell 7aa025e366 ARTEMIS-4287: update to Qpid JMS 1.9.0 2023-05-22 14:59:03 +01:00
Robbie Gemmell edfaa157f3 ARTEMIS-4269: also update netty tcnative test/examples dep to 2.0.61 2023-05-22 09:53:37 +01:00
Robbie Gemmell 42a176dced ARTEMIS-4272: update to Jetty 10.0.15 2023-05-04 09:54:36 +01:00
Robbie Gemmell 32f5c9ccf4 ARTEMIS-4271: update to Spring 5.3.27 2023-05-04 09:54:36 +01:00
Emmanuel Hugonnet 31095682ee ARTEMIS-4269 Update Netty from 4.1.86 to 4.1.92
Changes:
https://netty.io/news/2023/04/25/4-1-92-Final.html
https://netty.io/news/2023/04/03/4-1-91-Final.html
https://netty.io/news/2023/03/14/4-1-90-Final.html
https://netty.io/news/2023/02/13/4-1-89-Final.html
https://netty.io/news/2023/02/12/4-1-88-Final.html
https://netty.io/news/2023/01/12/4-1-87-Final.html

Issue: https://issues.apache.org/jira/browse/ARTEMIS-4269

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2023-05-02 19:31:06 +02:00
Justin Bertram 74fa4ca758 ARTEMIS-4212 fix sending msgs to address w/mismatching routing types
When sending, for example, to a predefined anycast address and queue
from a multicast (JMS topic) producer, the routed count on the address
is incremented, but the message count on the matching queue is not. No
indication is given at the client end that the messages failed to get
routed - the messages are just silently dropped.

Fixing this problem requires a slight semantic change. The broker is now
more strict in what it allows specifically with regards to
auto-creation. If, for example, a JMS application attempts to send a
message to a topic and the corresponding multicast address doesn't exist
already or the broker cannot automatically create it or update it then
sending the message will fail.

Also, part of this commit moves a chunk of auto-create logic into
ServerSession and adds an enum for auto-create results. Aside from
helping fix this specific issue this can serve as a foundation for
de-duplicating the auto-create logic spread across many of the protocol
implementations.
2023-04-25 16:08:31 -05:00
Domenico Francesco Bruscino 71408296c9 ARTEMIS-4228 Upgrade testcontainers version to 1.17.6 2023-04-03 09:27:18 +01:00
Domenico Francesco Bruscino 5c654a12c7 ARTEMIS-4227 Upgrade opentelemetry version to 1.24.0 2023-04-03 09:27:18 +01:00
Domenico Francesco Bruscino e906294a35 ARTEMIS-4226 Upgrade guava version to 31.1-jre 2023-04-03 09:27:18 +01:00
Robbie Gemmell 21a5f0d2fa ARTEMIS-4222: update to mockito 5.2.0 2023-03-29 12:34:08 +01:00
Robbie Gemmell ccf6a3f420 ARTEMIS-4221: update to groovy 4.0.10 2023-03-29 12:32:48 +01:00
Robbie Gemmell 61d1ca674c ARTEMIS-4220: update spring to 5.3.26 2023-03-28 15:00:10 +01:00
Clebert Suconic ed620d09c8 ARTEMIS-4171 Skip Leaking Tests on FastTests 2023-03-06 17:04:18 -08:00
Clebert Suconic 0971886a36 ARTEMIS-4198 Upgrade qpid/proton-j at 0.34.1 2023-03-06 17:04:18 -08:00
Robbie Gemmell 1f3745c87d ARTEMIS-4160: update the files used for the config upgrade testing to use the new comment.
Fixes the CompareUpgradeTest by removing this unimportant difference from a fresh broker instances jolokia-access.xml file, given that we dont actually update jolokia-access.xml currently during upgrade.

Tweaks or unwinds earlier changes in aae65fd527 and 3e7cb24381
2023-03-03 14:58:22 +00:00
Clebert Suconic 3e7cb24381 NO-JIRA Adding CompareUpgradeTest to fast-tests 2023-03-02 18:12:51 -08:00
Clebert Suconic a2ba6ed298 ARTEMIS-4161 AMQP and OpenWire leaking leaking objects in certain conditions
The issue identified with AMQP was under Transaction usage, and while opening and closing sessions.
It seems the leak would be released once the connection is closed.

We added a new testsuite under ./tests/leak-tests To fix and validate these issues
2023-02-16 12:10:54 -08:00
Justin Bertram f154c0b7dd ARTEMIS-4153 Support 'offline' Maven 2023-02-06 13:20:34 -06:00
Justin Bertram 8f30347b18 ARTEMIS-4143 improve mitigation against split-brain with shared-storage
Configurations employing shared-storage with NFS are susceptible to
split-brain in certain scenarios. For example:

  1) Primary loses network connection to NFS.
  2) Backup activates.
  3) Primary reconnects to NFS.
  4) Split-brain.

In reality this situation is pretty unlikely due to the timing involved,
but the possibility still exists. Currently the file lock held by the
primary broker on the NFS share is essentially worthless in this
situation. This commit adds logic by which the timestamp of the lock
file is updated during activation and then routinely checked during
runtime to ensure consistency. This effectively mitigates split-brain in
this situation (and likely others). Here's how it works now.

  1) Primary loses network connection to NFS.
  2) Backup activates.
  3) Primary reconnects to NFS.
  4) Primary detects that the lock file's timestamp has been updated and
     shuts itself down.

When the primary shuts down in step #4 the Topology on the backup can be
damaged. Protections were added for this via ARTEMIS-2868 but only for
the replicated use-case. This commit applies the protection for
removeMember() so that the Topology remains intact.

There are no tests for these changes as I cannot determine how to
properly simulate this use-case. However, there have never been robust,
automated tests for these kinds of NFS use-cases so this is not a
departure from the norm.
2023-02-03 10:40:08 -05:00
Clebert Suconic 2378d187af [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
Clebert Suconic 893e1e7916 [maven-release-plugin] prepare release 2.28.0 2023-01-31 07:22:47 -05:00
Robbie Gemmell 3908dfc055 ARTEMIS-2876: re-fix JUnit 4 license note (it was changed to EPL 1.0 in 2013)
earlier fixup  undone by later commit to junit test modules
2023-01-30 15:01:21 +00:00
Domenico Francesco Bruscino b1d70a24fd ARTEMIS-4138 Upgrade jackson version to 2.14.1 2023-01-20 11:17:54 +01:00
Andy Taylor b02002fc66 ARTEMIS-3875 - adding consumer and producer metrics
https://issues.apache.org/jira/browse/ARTEMIS-3875
2023-01-13 15:49:44 -05:00
eidottermihi 76b8acc1dc
ARTEMIS-2876 Add JUnit5 Extensions for testing
Adds a new module 'artemis-junit-5' which adds JUnit 5 Extensions for
unit testing. For backwards compability, 'artemis-junit' still uses
JUnit 4. Common stuff has been moved to 'artemis-junit-commons'. Work is
based on the initial PR
https://github.com/apache/activemq-artemis/pull/3436 by @luisalves00
2022-12-17 01:44:57 -06:00
Justin Bertram 1846f3dad7
ARTEMIS-4117 bump Netty from 4.1.82.Final to 4.1.86.Final 2022-12-15 13:40:02 -06:00
Robbie Gemmell 776b4436df ARTEMIS-4099: Update to PostgreSQL 42.4.3 2022-11-24 10:45:37 +00:00