Commit Graph

9638 Commits

Author SHA1 Message Date
Justin Bertram 38fc74749b
ARTEMIS-4079 quick semantic fix 2022-11-01 10:24:40 -05:00
Justin Bertram d7e02ca9fb ARTEMIS-4079 CLI retry doesn't work sometimes
CLI commands which only use a JMS connection (e.g. producer and
consumer) will retry successfully when omitting or specifying the
incorrect user and/or password. However, commands which use the core API
directly will not.
2022-11-01 10:09:59 -04:00
Clebert Suconic 5d4e32d01c This closes #4275 2022-10-31 15:45:36 -04:00
Gerd Klingler d3a3009230 NO-JIRA: Fixing typo in address-model.md
Name for address should be address.foo as used in the related image
2022-10-31 15:45:06 -04:00
Justin Bertram ccb76c0a2a ARTEMIS-4064 Harden MetricsManager
In order to improve trouble-shooting for the MetricsManager there should
be additional logging and exceptions. In all, this commit contains the
following changes:

 - Additional logging
 - Throw an exception when registering meters if meters already exist
 - Rename a few variables & methods to more clearly identify what they
   are used for
 - Upgrade Micrometer to 1.9.5
 - Simplify/clarify a few blocks of code
 - No longer pass the ManagementServiceImpl when registering the
   metrics, but instead pass the Object the meter is observing (e.g.
   broker, address, or queue)
2022-10-31 09:04:20 -04:00
Justin Bertram d62a9c4f46 ARTEMIS-4070 drop Travis CI 2022-10-28 17:54:06 -04:00
Gary Tully 45ffea9ef8 ARTEMIS-4002 - support JAVA_ARGS_APPEND env var to easily modify the jdk comand line, JDK_JAVA_OPTIONS is prepend only 2022-10-28 13:59:42 +01:00
Robbie Gemmell e4ef483115 ARTEMIS-4076: add a JDK 19 run to CI jobs 2022-10-27 16:16:42 +01:00
Robbie Gemmell 3a55ac72e5 ARTEMIS-4076: handle EventLoop becoming AutoClosable via ExecutorService parent on Java 19, and default method impl causing AllClassesTest to infinite loop
Adds a timeout to the test to prevent similar future issues.
2022-10-27 16:16:42 +01:00
Robbie Gemmell 69264aee32 ARTEMIS-4076: make test ThreadLeakCheckRule account for differences on Java 19
In Java 19 the "process reaper" Thread name can change while it is working to also denote the related pid.

Also, the threads are created differently and dont belong to the "system" thread group as before, but the "InnocuousThreadGroup".

Related changes:
9561b5e041
f0282d7def
2022-10-27 16:16:42 +01:00
Clebert Suconic 9056ac1cc7 ARTEMIS-4074 Diagnostic involving FileRepository pushOpen not responding fast enough 2022-10-26 18:23:36 -04:00
Clebert Suconic 87ec9b5465 ARTEMIS-4045 Fixing in Handler ACKRunner on Mirror 2022-10-26 13:10:07 -04:00
AntonRoskvist a44b415395 NO-JIRA - Fix typo in OpenWireMessageConverter 2022-10-26 10:34:38 -04:00
Robbie Gemmell 92a87b0912 ARTEMIS-4060: temporarily make commons-text an explicit dep of artemis-server for now so dependent projects get the updated dep version 2022-10-26 14:16:12 +01:00
Clebert Suconic 0da14a303d ARTEMIS-4073 Relaxing some locks that were not necessary and were causing dead locks on the testsuite 2022-10-26 07:55:57 -04:00
Clebert Suconic d185735e55 ARTEMIS-4073 Page Counters can go off sync when multiple producers are used in the same address 2022-10-25 21:26:14 -04:00
Clebert Suconic cffc06aec8 NO-JIRA Fixing intermittent failure in PagingTest 2022-10-23 12:16:23 -04:00
Clebert Suconic c199902cde NO-JIRA Fixing intermittent failure in PagingTest
receiveImmediate will issue a depage but it might not be available right away.
A retry needs to be done.
2022-10-23 12:11:53 -04:00
Robbie Gemmell e1903bf67c ARTEMIS-4068: skip the 'default' subset of tests run twice during release steps
They, and many more, are also run in CI during the process, so its largely redundant.
2022-10-21 17:04:07 +01:00
Robbie Gemmell d286339a84 ARTEMIS-4067: remove unused/stale site distributionManagement settings 2022-10-21 16:57:12 +01:00
Robbie Gemmell 669bdc3a12 ARTEMIS-4062: update to Mockito 4.8.0 2022-10-20 15:59:49 +01:00
Robbie Gemmell b8148e6358 ARTEMIS-4063: update to jacoco 0.8.8 2022-10-20 15:59:25 +01:00
Robbie Gemmell 16ef6855af ARTEMIS-4060: update commons-text transitive dep to 1.10.0 2022-10-19 17:52:12 +01:00
Robbie Gemmell cd6a895c38 ARTEMIS-4061: have simplest protocol modules use the jar plugin for packaging, picks up the project.build.outputTimestamp 2022-10-19 17:32:15 +01:00
Robbie Gemmell 7bd67d2eb5 ARTEMIS-4061: update maven-bundle-plugin to 5.1.8 2022-10-19 17:32:15 +01:00
Robbie Gemmell 75ce36cdbe This closes #4259 2022-10-19 10:09:55 +01:00
Justin Bertram 9138cc86ca ARTEMIS-4049 user add fails w/space in broker path
This problem was originally discovered on Windows, but the problem
occurs on *nix as well.
2022-10-19 10:09:33 +01:00
Clebert Suconic 51c50d8546 ARTEMIS-4056 Fixing compatibility with getFirstMessage()
if Empty the previous method was returning new Map[1] and the JSON output would be slightly different and I am playing safe here just in case.
2022-10-18 13:49:32 -04:00
Clebert Suconic 77ad2b0bc0 ARTEMIS-4056 Expanding nextPage check into isDeleted 2022-10-18 11:51:47 -04:00
Clebert Suconic b388a24b26 ARTEMIS-4056 Paging Management optimizations
- optimize startup time on paging (check-depage on startup)
- otpimize getNextPage() on complete pages
- optimize getFirstMessage() and paging. (avoid iterator usage)
2022-10-18 10:45:55 -04:00
Robbie Gemmell fbc6dd066b ARTEMIS-4020: add Log4j as a test dep in some modules with no SLF4J impl, supressing noop fallback+warning 2022-10-18 12:43:37 +01:00
Robbie Gemmell f17d975138 ARTEMIS-4039: Update to jackson-databind 2.13.4.2 2022-10-18 11:02:29 +01:00
Robbie Gemmell ffc155f910 ARTEMIS-4055: update to apache parent 27, stop overriding some plugin versions, align others, override checksum config as appropriate 2022-10-18 10:50:22 +01:00
Domenico Francesco Bruscino 8583288603 ARTEMIS-4057 Fix backup last OOME heap dump on Windows 2022-10-18 08:49:31 +02:00
Robbie Gemmell a6e69aaccf ARTEMIS-4054: have release plugin autoVersionSubmodules, and configure the tagNameFormat to simplify setting release tag 2022-10-17 15:45:01 +01:00
Robbie Gemmell d6ec80d8f1 ARTEMIS-4053: ensure scm tag ref reflects it is currently non-release, using HEAD, rather than incorrectly having release version 2.19.0 2022-10-17 12:56:14 +01:00
Robbie Gemmell 8c209adc99 ARTEMIS 4007: tweak javadoc to stop build failure with newer javadoc plugin 2022-10-17 11:06:48 +01:00
Clebert Suconic e1e728a28e NO-JIRA Debug statement on paging manager 2022-10-16 02:02:19 -04:00
Clebert Suconic 10a93f9203 NO-JIRA log.debug on a test 2022-10-15 00:24:19 -04:00
Clebert Suconic 0275efff29 NO-JIRA Fixing Junit Helpr methods errorprone issue in MegaCleanerPagingTest 2022-10-15 00:15:09 -04:00
Clebert Suconic 3f63e6be82 NO-JIRA Adding a test to validating paging reload
no issues found as part of this test. Just adding a new test.
2022-10-14 16:31:37 -04:00
Clebert Suconic 52c45f5aec ARTEMIS-4025 Fixing JSon transient attribute after serialization copy 2022-10-14 15:42:42 -04:00
Clebert Suconic ec00def02b ARTEMIS-4025 Fixing testsuite by adding json missing dependencies 2022-10-14 15:42:42 -04:00
Clebert Suconic 5a1dfdeb10 ARTEMIS-4041 Fixing tests on CriticalIOException 2022-10-14 10:33:36 -04:00
Gary Tully 3b981b3920 ARTEMIS-4028 - add alder32 checksum to the status of properties files read by the broker 2022-10-13 18:23:09 +01:00
Gary Tully 03ef286cc8 ARTEMIS-4025 - trap failure to apply properties as errors and report via the broker status in a configuration/properties/errors status field 2022-10-13 18:23:09 +01:00
Timothy Bish b900a1e4bd ARTEMIS-4020 Standardize the naming of Logger types for consistency
Attempt to standardize all Logger declaration to a singular variable name
which makes the code more consistent and make finding usages of loggers in
the code a bit easier.
2022-10-13 12:40:45 -04:00
Robbie Gemmell 2dc0ea1a0c This closes #4255 2022-10-13 17:34:11 +01:00
Justin Bertram ea04426bcd ARTEMIS-4037 refactor MQTTRetainMessageManagerTest
Commit 5a42de5fa6 called my attention to
this test. It really needs to be refactored because:

 - It belongs in the integration-tests module rather than the MQTT
   protocol module.
 - It is using a lot of non-standard components (e.g.
   EmbeddedJMSResource, Awaitility, etc.).
 - It is overly complicated (e.g. using its own MqttClientService).

This commit resolves all those problems. The new implementation is quite
a bit different but still equivalent. I reverted the original fix from
ARTEMIS-2476 and the test still fails.
2022-10-13 17:33:43 +01:00
Justin Bertram d968f0c901
This closes #4231 2022-10-13 11:32:26 -05:00