Commit Graph

10069 Commits

Author SHA1 Message Date
Justin Bertram 5ec3973641
ARTEMIS-4383 don't fetch remote fonts 2023-08-03 09:32:06 -05:00
Robbie Gemmell f6e647f939 ARTEMIS-4383: add RAT config to fix the build, and LICENSE updates to reflect the new files 2023-08-03 13:04:47 +01:00
Justin Bertram 3a4b421d2e ARTEMIS-4383 migrate user docs to AsciiDoc
Markdown, which is currently used for user-facing documentation, is good
for a lot of things. However, it's not great for the kind of complex
documentation we have and our need to produce both multi-page HTML and
single-page PDF output via Maven.

Markdown lacks features which would make the documentation easier to
read, easier to navigate, and just look better overall.

The current tool-chain uses honkit and a tool called Calibre. Honkit is
written in TypeScript and is installed via NPM. Calibre is a native tool
so it must be installed via an OS-specific package manager. All this
complexity makes building, releasing, uploading, etc. a pain.

AsciiDoc is relatively simple like Markdown, but it has more features
for presentation and navigation not to mention Java-based Maven tooling
to generate both HTML and PDF. Migrating will improve both the
appearance of the documentation as well as the processes to generate and
upload it.

This commit contains the following changes:
 - Convert all the Markdown for the User Manual, Migration Guide, and
   Hacking guide to AsciiDoc via kramdown [1].
 - Update the `artemis-website` build to use AsciiDoctor Maven tooling.
 - Update `RELEASING.md` with simplified instructions.
 - Update Hacking Guide with simplified instructions.
 - Use AsciiDoc link syntax in Artemis Maven doc plugin.
 - Drop EPUB & MOBI docs for User Manual as well as PDF for the Hacking
   Guide. All docs will be HTML only except for the User Manual which
   will have PDF.
 - Move all docs up out of their respective "en" directory. This was a
   hold-over from when we had docs in different languages.
 - Migration & Hacking Guides are now single-page HTML since they are
   relatively short.
 - Refactor README.md to simplify and remove redundant content.

Benefits of the change:
 - Much simplified tooling. No more NPM packages or native tools.
 - Auto-generated table of contents for every chapter.
 - Auto-generated anchor links for every sub-section.
 - Overall more appealing presentation.
 - All docs will use the ActiveMQ favicon.
 - No more manual line-wrapping! AsciiDoc recommends one sentence per
   line and paragraphs are separated by a blank line.
 - AsciiDoctor plugins for IDEA are quite good.
 - Resulting HTML is less than *half* of the previous size.

All previous links/bookmarks should continue to work.

[1] https://github.com/asciidoctor/kramdown-asciidoc
2023-08-02 16:21:06 -04:00
Clebert Suconic bce775c98e ARTEMIS-4382 Long Time to process export / import 2023-08-01 13:08:03 -04:00
Clebert Suconic 39b6edd6df ARTEMIS-4372 small tweaks on Artemis CLI 2023-08-01 13:08:03 -04:00
Clebert Suconic 05f8e5d68f ARTEMIS-4372 small fixes on CLI 2023-07-31 22:31:30 -04:00
Clebert Suconic 2656643267 ARTEMIS-4375 Block console if starting server from shell 2023-07-31 11:27:25 -04:00
Clebert Suconic 93ee61e35c ARTEMIS-4372 Implement Pico-cli and script auto-complete
ARTEMIS-4375 Implement artemis shell using JLine3 integrated with auto-completion from picocli

This commit involves two JIRAs. One is adding PicoCLI and the next is Using JLine3 and implement a shell.
I have tried to keep these commits separate but these changes became interdependent hence the two JIRAs are squashed in this commit.
2023-07-31 10:40:27 -04:00
Justin Bertram 1efb7e87d8 ARTEMIS-4376 add Dockerfile for Alpine + JRE 11
The goal for this file is to be used in conjunction with the existing
Dockerfile-ubuntu-11-jre when pushing images to
https://hub.docker.com/r/apache/activemq-artemis.

I also updated the documentation.
2023-07-28 06:32:01 -04:00
Clebert Suconic 8f1c0ad66f NO-JIRA Making ThreadLeakCheckRule less verbose 2023-07-26 13:35:32 -04:00
Alexey Markevich 145e4be6d5 ARTEMIS-4374 Pax Exam 4.13.5 2023-07-25 12:39:21 +01:00
Justin Bertram c81e079122 ARTEMIS-4373 upgrade Karaf to 4.4.3 2023-07-25 11:07:06 +01:00
Justin Bertram 22e3b09b9c ARTEMIS-4370 update existing topic alias for MQTT 5 publisher 2023-07-24 12:55:05 -05:00
Clebert Suconic 04f29e0162 NO-JIRA making MirroredSubscriptionTest more challenging
The test is now setting the mirror to sync
it will block until the first subscription is consumed, kill the servers and restart them
check all the counters

and then start another 4 consumers and at the end check all the counters.

Mirror is now sync making the test more useful and challenging.
2023-07-21 18:17:08 -04:00
Clebert Suconic c50d97d60b NO-JIRA small tweak on releasing with jira-git-report 2023-07-21 10:07:59 -04:00
Robbie Gemmell 6442270e2d ARTEMIS-4369: add clarifying note to docs around transport options for broker-connections 2023-07-21 10:44:14 +01:00
Gary Tully 5e232c25a4 ARTEMIS-4368 ensure predictable order for accurate logging 2023-07-20 22:33:06 +01:00
Justin Bertram 7048d9d4a5 [maven-release-plugin] prepare for next development iteration 2023-07-20 14:39:21 -05:00
Justin Bertram f05b63b8a1 [maven-release-plugin] prepare release 2.30.0 2023-07-20 14:36:44 -05:00
Justin Bertram f1ebdf1925
NO-JIRA 2.30.0 release notes 2023-07-20 14:10:21 -05:00
Clebert Suconic 6b61e9eaaf NO-JIRA Moving CLI Management to use ManagementHelper 2023-07-20 15:01:58 -04:00
Clebert Suconic 9ffe062c41 NO-JIRA Moving SimpleManagement to test-support 2023-07-20 13:33:55 -04:00
Alexey Markevich 671f48fb31 NO-JIRA remove unused SmokeTestBase#waitForServerToStart 2023-07-19 15:49:26 -04:00
Justin Bertram c8d685ee87 ARTEMIS-4365 MQTT retain flag not set correctly 2023-07-19 12:50:05 +01:00
Clebert Suconic e5b18b80f7 ARTEMIS-4366 Some adjustments on MirroredSubscriptionTest 2023-07-18 17:47:20 -04:00
Clebert Suconic 29deb30c73 ARTEMIS-4366 Some Adjustment to class names on Mirror
This is in relation to comments from PR #4555
2023-07-18 13:11:24 -04:00
Emmanuel Hugonnet 24dde9d4b5 ARTEMIS-4354 Allow the recovery XAResource to close and reconnect the underlying ClientSession if the connection configuration has changed.
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2023-07-17 20:28:05 -04:00
Clebert Suconic 677d71b8e7 ARTEMIS-4366 Missing Mirrored ACKs with MULTICAST and subscriptions 2023-07-17 20:19:06 -04:00
Domenico Francesco Bruscino 350ede619d ARTEMIS-4364 Upgrade johnzon version to 1.2.21 2023-07-17 10:40:34 -05:00
Thorsten Hirsch 95c8821044 ARTEMIS-4310 Add Alpine/Java17 based Docker image
This new Dockerfile uses Alpine Linux as base image, so the resulting image is smaller. Also, it makes use of Java 17.
2023-07-15 12:04:06 -05:00
Gary Tully f5251bc5cb ARTEMIS-4356 ensure match regexp expression is anchored on eot to avoid partial matches in error 2023-07-14 20:48:19 +01:00
Dries Harnie aebdcc5eb8 NO-JIRA: Fix spelling and grammar of two audit log messages 2023-07-14 10:00:26 -05:00
Justin Bertram cce565e78f ARTEMIS-4353 clean up Maven dependencies
This commit contains the following changes:
 - eliminate used, undeclared dependencies
 - eliminate unused, declared dependencies
 - fix scope for test dependencies
 - eliminate org.hamcrest completely as its use involved deprecated code
   as well as dependencies from multiple versions
2023-07-14 14:03:41 +01:00
a181321 68e400b45c ARTEMIS-4184 Bidges with concurrency not cleared properly on config reload 2023-07-13 16:16:08 -04:00
Clebert Suconic b967e6d940 ARTEMIS-4362 Produce log.warn when the system cannot depage because of pending acks 2023-07-13 16:15:45 -04:00
Domenico Francesco Bruscino 451d03fd75 ARTEMIS-4332 Add management method to close stuck server sessions
In rare cases a store operation could silently fails or starves, blocking the
related server session and all delivering messages. Those server sessions can
be closed adding a management method that cleans their operation context
before closing them.
2023-07-13 10:32:14 -04:00
Domenico Francesco Bruscino b4230c62bf ARTEMIS-4332 Add store operation trackers 2023-07-13 10:32:14 -04:00
Robbie Gemmell 187ae9daec ARTEMIS-4363: Update to Qpid JMS 1.10.0 2023-07-13 14:40:22 +01:00
Clebert Suconic bf9654e1fd ARTEMIS-4360 Moving skipCompatibilityTests property inside ./compatibility-tests/pom.xml 2023-07-13 07:02:15 -04:00
Clebert Suconic b088cdc65a NO-JIRA removing not used skipRestTests
the use of skipRestTests is gone with the removal of the rest module a few months ago.
This is just a simple cleanup of its left over and it is dead code.
2023-07-12 15:35:58 -04:00
Clebert Suconic 8429b8a4ab ARTEMIS-4360 removing skipCompatibilityTests from fast-tests 2023-07-12 15:35:05 -04:00
Clebert Suconic c9f2f53b88 ARTEMIS-4360 Make compatibility-tests opt in with -Pcompatibility-tests 2023-07-12 12:46:15 -04:00
Robbie Gemmell a3c01257af ARTEMIS-4331: update to jgroups 5.2.16, adjust deps to exclude BM 2023-07-11 12:31:34 -05:00
Justin Bertram b198a9db7f ARTEMIS-4358 upgrade commons-configuration2
Version 2.9.0 of commons-configuration2 now includes commons-text 1.10.0
so the dependencies can be simplified.
2023-07-11 10:12:37 +01:00
Clebert Suconic d584d01131 ARTEMIS-4323 Keeping surefire at version 2.22.2 until a possible memory leak is finished
At the time when we upgraded to latest the testsuite could not complete with a single run
as many instances of https://github.com/apache/maven-surefire/blob/master/surefire-api/src/main/java/org/apache/maven/surefire/api/util/internal/ClassMethod.java were created.

A thread was created within Maven user's forum: https://lists.apache.org/thread/6mzhr2pom7rmz96css49n8pk642cxkqf

surefire should be upgraded in a near future as part of ARTEMIS-4359
2023-07-10 17:35:09 -04:00
Clebert Suconic 420f386fd2 ARTEMIS-4357 Replacing logger(222188).warn by a logger.debug 2023-07-10 11:30:43 -05:00
Clebert Suconic 6ee27224a5 ARTEMIS-4352 Avod Deadlock in case the SecurityManager is reusing the Netty executor.
If the Security Manager is using Netty, and in particular the same Netty connection,
you could run into a deadlock / starvation.

This is particularly true in the Wildfly case where they reuse the same connection for everything via XNIO.
2023-07-10 11:00:19 -04:00
Clebert Suconic 36a20dbf76 ARTEMIS-4348 Parse connectors on broker.xml for default URI 2023-07-07 17:32:17 -04:00
Robbie Gemmell 44b1027b38 ARTEMIS-4340: ThreadLocalByteBufferPool should clear position+limit before zeroing buffer 2023-07-07 12:41:14 -04:00
Gary Tully 1ef88b3105 ARTEMIS-4351 suppress verbose info logging from console authenticator filter 2023-07-07 13:13:48 +01:00