Commit Graph

9764 Commits

Author SHA1 Message Date
Vilius Šumskas 7e29067e8e ARTEMIS-3983 Update all base images to use Eclipse-Temurin 2022-09-18 21:54:38 +03:00
Vilius Šumskas 666a8ba79f ARTEMIS-3983 Change docker base image version from JDK to JRE
JRE is enough to run most Java software, including ActiveMQ Artemis.
2022-09-18 21:45:13 +03:00
Justin Bertram f5247906a6
NO-JIRA few script improvements
- Standardize if/then syntax
 - Only check URL status if download is actually necessary
 - Simplify & clarify temp directory prep
 - Improve instructions/feedback
2022-09-17 11:28:05 -05:00
Domenico Francesco Bruscino e7ff8fd427 ARTEMIS-3980 Remove web content from distribution 2022-09-16 11:02:25 -04:00
Clebert Suconic 8d1865fdcb ARTEMIS-3995 Mute Artemis Maven Plugin
The ActiveMQ Artemis Maven plugin will throw system.out and log.info for a lot of stuff,
This should mute some of that output.
2022-09-16 11:02:05 -04:00
Domenico Francesco Bruscino fda7f6ba37 ARTEMIS-3998 Fix broker properties for connectionRouters 2022-09-15 15:42:29 -04:00
Justin Bertram 0c95fff865
This closes #4218 2022-09-15 11:11:20 -05:00
Justin Bertram 27008758fe
ARTEMIS-3986 CME when using LVQ
The map used by LastValueQueue was inadvertently changed to a
non-thread-safe implementation in
4a4765c39c. This resulted in an occasional
ConcurrentModificationException from the hashCode implementation.

This commit restores the thread-safe map implementation and adds a test
which brute-forces a CME when using the non-thread-safe implementation.
2022-09-15 11:11:19 -05:00
Justin Bertram c9f01cec3c
ARTEMIS-3981 improve logic
Don't check the CDN URL twice in the case where it's good.
2022-09-15 10:27:42 -05:00
Justin Bertram dddbd9653a
ARTEMIS-3981 fix syntax 2022-09-15 10:15:23 -05:00
Gary Tully 871d63aaad ARTEMIS-3978 - add some more documentation around broker properties 2022-09-15 13:27:41 +01:00
Gary Tully c8624f57d7 ARTEMIS-3978 - allow federation upstream configuration via properties 2022-09-15 13:27:41 +01:00
Robbie Gemmell 3aeb24ae01 ARTEMIS-3997: update vertx-proton test dep to 4.3.3 2022-09-15 09:33:48 +01:00
Robbie Gemmell 164ae04218 AARTEMIS-3996: update to proton-j 0.34.0 2022-09-15 09:33:39 +01:00
Justin Bertram 9b535c622a
This closes #4216 2022-09-14 15:31:32 -05:00
Justin Bertram 015acab8db
ARTEMIS-3981 bad docker image if release pull is 404 2022-09-14 15:27:15 -05:00
Justin Bertram abeed34449
This closes #4215 2022-09-14 15:22:51 -05:00
Justin Bertram 98d176ae83
ARTEMIS-3748 support older versions in prepare-docker.sh 2022-09-14 14:07:14 -05:00
Justin Bertram 4b791b502d
This closes #4197 2022-09-14 11:50:37 -05:00
Justin Bertram 6b5a73db8a
ARTEMIS-3913 custom MQTT client ID rejection
Sometimes users want to perform custom client ID validation, and in the
case of an invalid client ID the proper reason code should be returned
in the CONNACK packet.
2022-09-14 11:50:36 -05:00
Justin Bertram c4fded664b
This closes #4202 2022-09-14 11:48:39 -05:00
Justin Bertram 02d1512be7
ARTEMIS-3967 fix Camel WAR example pom.xml file 2022-09-14 11:48:38 -05:00
Clebert Suconic f47d592079 ARTEMIS-3988 Moving MMSFactoryTest under soak-tests 2022-09-13 23:29:20 -04:00
Clebert Suconic 59585ffc94 NO-JIRA Trying to fix StompV11Test intermittent failure 2022-09-13 23:05:22 -04:00
Justin Bertram a9a85f98db ARTEMIS-3984 LegacyLDAPSecuritySettingPlugin shouldn't modify existing matches
When the LegacyLDAPSecuritySettingPlugin has enableListener set to true
and a new permission is added it will try to modify the existing match
if one exists. This is problematic if there's a more generic wildcard
match than the specific one that's modified.

This commit fixes that problem so that instead of modifying the existing
match(es) it simply adds a new one. The plugin never should have tried
modifying the existing match in the first place as two identical matches
would be a configuration error.
2022-09-13 19:11:28 -04:00
Timothy Bish 289587f004 ARTEMIS-3990 Ensure that readable buffer string read consumes the bytes
Ensures that when reading a string the readable buffer consumes the
bytes by advancing the read index as defined in the interface API docs.
2022-09-13 17:17:11 -04:00
Clebert Suconic 902c0cb62b NO-JIRA Removing dead code - AmqpReadableBuffer 2022-09-13 17:16:51 -04:00
Justin Bertram d127866dfd
This closes #4213 2022-09-13 14:45:02 -05:00
Emmanuel Hugonnet 51ccc7d6c2
ARTEMIS-3989 ActiveMQServerControl.getRoles doesn't return all roles
- Fixing RoleInfo to provide informations on deleteAddress.
 - Adding more coverage on test to check the number of permissions
   returned.

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2022-09-13 14:43:58 -05:00
Justin Bertram a254e50aae
NO-JIRA update Jolokia doc with example curl command 2022-09-13 11:30:32 -05:00
Clebert Suconic c4145e9226 ARTEMIS-3973 Solving concurrent issue between Subscription.ack and moveNext under heavy CPU usage 2022-09-13 10:49:22 -04:00
Clebert Suconic 9fc5886391 NO-JIRA Making some Test Parameters mandatory
if you miss them, the test would rather fail then silently using less than ideal values
2022-09-13 08:38:23 -04:00
Robbie Gemmell 484447d5d5 ARTEMIS 1815: add example missed previously to run-standard-examples.sh, plus tweak comment to make diffing the scripts easier 2022-09-13 09:48:02 +01:00
Clebert Suconic e654eba0de ARTEMIS-3987 Removing ActiveMQ Artemis Rest from the codebase.
As we discussed on the dev list, this module hasn't been used for a while, and we have been asking users to use stomp and stomp-WS instead.
2022-09-12 15:09:31 -04:00
Clebert Suconic 4ad830fb95 Bumping artemis as 3.0
After removing ActiveMQ Artemis rest (per ARTEMIS-3987), we should start promoting Artemis as 3.0
2022-09-12 15:09:31 -04:00
Robbie Gemmell e5086f447e ARTEMIS-3985: update to activemq 5.17.2 2022-09-12 12:20:14 +01:00
Robbie Gemmell 065bfe14f5 ARTEMIS-3975: dont enable the snapshots repo for release artifacts during examples build 2022-09-08 15:09:37 +01:00
Robbie Gemmell 66ac39eb81 ARTEMIS-3971: set -noindex to exclude various .js files from javadoc output 2022-09-06 17:23:56 +01:00
Robbie Gemmell 1248877f6c ARTEMIS-3970: update keycloak version used for example to 19.0.1 (and tweak filename accordingly) 2022-09-05 15:35:21 +01:00
Clebert Suconic f953408185 ARTEMIS-3969 Removing Extra tests from the codebase 2022-09-02 13:04:53 -04:00
Domenico Francesco Bruscino 90966ccdf1 ARTEMIS-3964 Fix default ping commands timeout for Windows
The ping command on Windows uses -w timeout in milliseconds.
2022-09-01 18:21:26 +02:00
Clebert Suconic 11eab60584 [maven-release-plugin] prepare for next development iteration 2022-08-30 18:04:06 -04:00
Clebert Suconic fb1b362b47 [maven-release-plugin] prepare release 2.25.0 2022-08-30 18:04:05 -04:00
Clebert Suconic 36b7e154ee Release notes 2.25.0 2022-08-30 17:21:26 -04:00
Clebert Suconic d4cbbfde1e ARTEMIS-3943 Changing default broker.xml and xsd with max-page-read comments and defaults 2022-08-30 13:45:17 -04:00
Justin Bertram 37c7da4e50
This closes #4168 2022-08-30 11:08:37 -05:00
Rico Neubauer 6482805f7d
ARTEMIS-3922 Reducing contention on Throwable#getOurStackTrace
By allowing to pass caller's classname directly to org.apache.activemq.artemis.utils.ActiveMQThreadFactory#defaultThreadFactory instead of calculating it from stack.
2022-08-30 11:08:31 -05:00
Domenico Francesco Bruscino 45a1245cb0 ARTEMIS-3963 Fix setting security roles via properties on OpenJ9 JDK 11
RoleSet.class.getMethods() returns the same methods on both OpenJDK 11 and
OpenJ9 JDK 11 but the order is different. OpenJDK 11 returns
`public void org.apache.activemq.artemis.core.config.impl.RoleSet.add` before
`public boolean java.util.HashSet.add` while OpenJ9 JDK 11 returns
`public boolean java.util.HashSet.add` before
`public void org.apache.activemq.artemis.core.config.impl.RoleSet.add`
2022-08-30 12:06:20 -04:00
Justin Bertram a220678552
This closes #4191 2022-08-30 09:26:56 -05:00
Chuf 43e3442b14
NO-JIRA fix a typo
Fixes a typo and changes description to "website" instead of "web"
2022-08-30 09:25:57 -05:00