Commit Graph

9840 Commits

Author SHA1 Message Date
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
Johannes Edmeier 9a44d3e0ea
ARTEMIS-4013 proper cxn unwrap in PostgresLargeObjectManager 2022-10-13 11:31:48 -05:00
Justin Bertram f0ecf6bc89
NO-JIRA fix AMQP acceptor property typo 2022-10-13 11:23:51 -05:00
Justin Bertram 896537700a
This closes #4254 2022-10-13 11:20:01 -05:00
Gary Tully 8a6e29ccde
ARTEMIS-4042 - read sensitive string codec env var if system property is not set 2022-10-13 11:20:01 -05:00
Justin Bertram a7bbe3c1fb
This closes #4249 2022-10-13 10:36:38 -05:00
Justin Bertram 0ab098e456
ARTEMIS-4035 all consumers of federated queue drop if only one consumer drops 2022-10-13 10:36:38 -05:00
Robbie Gemmell 8cba446e2b ARTEMIS-4048: stop -all client modules needlessly grabbing their own -SNAPSHOT sources during build
- Always produce the original basically-empty sources jar for the
  module, before the shading, meaning its always available.
- Do the same for the main jar, to avoid the shading operating on a
  previously-shaded renamed output from a prior run if not cleaning.
2022-10-13 13:06:09 +01:00
Clebert Suconic 7b2f7e1707 ARTEMIS-4041 Fixing NPE on SequentialFileFactory after the CriticalIO change 2022-10-12 17:03:13 -04:00
Clebert Suconic 49d33470f9 ARTEMIS-4041 Improve critical IO reporting 2022-10-12 10:50:33 -04:00
Robbie Gemmell b604545a3c ARTEMIS-4043: remove other doc snippets linking to previously-removed rest.md file, also update URL to point to referenced version 2022-10-12 15:15:29 +01:00
Clebert Suconic e951ce67ca NO-JIRA small tweak on javadoc 2022-10-11 15:42:43 -04:00
Justin Bertram 5343c97c7d ARTEMIS-4022 add auto-delete queue attribute to management 2022-10-11 13:16:46 -04:00
Justin Bertram 5cf84bffbe
NO-JIRA restore commons-codec dependency; remove REST property 2022-10-11 11:10:11 -05:00
Robbie Gemmell 716d5ae659 This closes #4252 2022-10-11 16:58:13 +01:00
Domenico Francesco Bruscino 5a42de5fa6 ARTEMIS-4037 Use random alphanumeric strings for MQTTRetainMessageManagerTest 2022-10-11 16:57:57 +01:00
Justin Bertram 4a0bca3f64
NO-JIRA remove missed dependency from ARTEMIS-3137 2022-10-11 10:52:33 -05:00
Justin Bertram 5b200f84ee
NO-JIRA remove vestigial REST dependencies 2022-10-11 10:27:12 -05:00
Robbie Gemmell 96895c92fb This closes #4251 2022-10-11 15:53:24 +01:00
Domenico Francesco Bruscino 2384a50e17 ARTEMIS-4039 Upgrade jackson version to 2.13.4 2022-10-11 15:52:57 +01:00
Robbie Gemmell d08af2bf6d ARTEMIS-4040: Update to Netty 4.1.82 2022-10-11 13:44:19 +01:00
Domenico Francesco Bruscino 288b013183 ARTEMIS-4038 Upgrade groovy version to 4.0.5 2022-10-11 11:17:43 +02:00
Domenico Francesco Bruscino 47e82c4ad0 NO-JIRA Add direct jakarta.annotation-api dependency to integration-tests
ResourceLoadingSslContext depends on jakarta.annotation-api
2022-10-11 09:09:08 +02:00
Clebert Suconic 33438c2e44 ARTEMIS-4029 Avoid OME When too many pages are cleared all at once
this is the second part of the fix (I missed the first part) where I am clearig midstream records as well.
2022-10-11 00:26:41 -04:00
Robbie Gemmell 7b3c185bba ARTEMIS-4020: restore some gates I had stashed changes to undo removals for 2022-10-10 09:55:03 +01:00
Timothy Bish 617269319a ARTEMIS-4020: Remove string appends and various isXEnabled logger checks (add some where useful)
Logger statements should use formatting syntax and let the normal framework checks take care of
checking if a logger is enabled instead of string concats and isXEnabled logger checks except
in cases there is known expense to the specifc logging message/arg preparation or passing.

Changes from myself and Robbie Gemmell.

Co-authored-by: Robbie Gemmell <robbie@apache.org>
2022-10-07 15:40:53 -04:00
Justin Bertram c3b304779e
NO-JIRA update missed docs for JGroups upgrade 2022-10-07 11:20:39 -05:00
Clebert Suconic 0e799ca1c9 ARTEMIS-4033 Updating descriptions on the replay operations
Incorporating suggested changes by John Clifford
2022-10-06 16:24:03 -04:00
Clebert Suconic 42d07458e9 ARTEMIS-4029 Avoid OME When too many pages are cleared all at once
The issue is that depage should not put pages on the used pages as they were not actually intended to read.
instead I should create a newPageObject and not use the RefCounts caching.
2022-10-06 07:53:38 -04:00
Justin Bertram de8e8d7d2c
NO-JIRA use default GC for 'home' script 2022-10-05 11:41:32 -05:00
Clebert Suconic 20fde76e99 ARTEMIS-4020 Fixing Semaphore on soak-tests/OWLeakTest
I did not intend to have this difference in the semaphore.

The idea is that we never keep messages pending on this case, otherwise such a huge message would use too much memory.
2022-10-04 15:02:10 -04:00
Clebert Suconic 18cfdb7049 ARTEMIS-4024 Avoid excessive NativeMemory allocation when sending OpenWire Multi mega sized messages in openwire 2022-10-04 13:35:50 -04:00
Robbie Gemmell f465073744 ARTEMIS-4026: correct connection-router related log statement value and/or level 2022-10-03 15:11:06 +01:00
Clebert Suconic 9647e6555f NO-JIRA small tweak on comment 2022-09-30 11:04:22 -04:00
Robbie Gemmell c01833aa3f ARTEMIS-4020: stop CI jobs trying to activate tests-CI logging config profile, it no longer exists 2022-09-30 14:56:19 +01:00
Robbie Gemmell bd85a3eab7 ARTEMIS-4020: consolidate loggers in ActiveMQTestBase, use placeholders in messages 2022-09-30 11:41:33 +01:00
Robbie Gemmell 1ad1128db2 ARTEMIS-4020: have the concrete classes provide logger to the shared abstract impl instead of using getClass() in parent
followup to 12cc70c5bf PR discussion
2022-09-30 11:38:32 +01:00
Clebert Suconic d2354ae470 ARTEMIS-4020 Fixing logging on soak-tests 2022-09-29 17:48:46 -04:00
Clebert Suconic 2ba6452b83 ARTEMIS-4020 removing ActiveMQTestBase::instanceLog 2022-09-29 17:46:51 -04:00
Clebert Suconic 12cc70c5bf ARTEMIS-4020 Using a little trick to create the Loggers
Trick provided by Tim Bish
2022-09-29 17:46:51 -04:00
Clebert Suconic 4cfc4cbb12 ARTEMIS-4020 Adding check on %s or %d on log.processor 2022-09-28 16:43:27 -04:00
Robbie Gemmell 9873fccf74 ARTEMIS-4020: switch to using SLF4J API for logging, use Log4J 2 as impl for broker distribution and tests
PR includes work from myself and Clebert Suconic, squashed from the new-logging branch.
2022-09-28 14:01:54 -04:00
Clebert Suconic 1a8c458906 NO-JIRA Adding a Compacting Test
I was debugging Compacting, looking for a possible issue here in these conditions.
even though I found nothing wrong with the code, I still want to keep the test as there's no such thing as enough testing.
2022-09-26 11:23:50 -04:00
Justin Bertram 3d98ebc262
This closes #4233 2022-09-23 21:29:36 -05:00
Justin Bertram e47b7992ca
ARTEMIS-4010 LegacyLDAPSecuritySettingPlugin missing data
In commit a9a85f98db I removed the code
which modified existing matches. However, I forgot that the matches read
from LDAP are often duplicated so instead of always adding a new match
this commit ensures that the *right* match is modified rather than a
potentially more generic wildcard match (which was the original
problem).
2022-09-23 21:29:35 -05:00
Domenico Francesco Bruscino 0113e38695 NO-JIRA Adding Release notes about removing web content 2022-09-23 17:11:27 +02:00
Robbie Gemmell b8771e1181 NO-JIRA: tweak/clarify previous change to versions.md 2022-09-23 14:54:12 +01:00
Clebert Suconic c96d89a7dc NO-JIRA Adding Release notes about removing rest 2022-09-22 15:56:30 -04:00
Clebert Suconic e865558b30 ARTEMIS-3763 Fixing test I missed on my previous commit for JDBCLock 2022-09-22 14:39:48 -04:00