Commit Graph

121 Commits

Author SHA1 Message Date
jbertram fe4dafedcb ARTEMIS-168 - pluggable authorization 2015-10-27 10:12:22 -04:00
jbertram ef5a9809f2 ARTEMIS-256 orchestrate failback deterministically
The failback process needs to be deterministic rather than relying on various
incarnations of Thread.sleep() at crucial points. Important aspects of this
change include:

1) Make the initial replication synchronization process block at the very
last step and wait for a response from the replica to ensure the replica has
as the necessary data. This is a critical piece of knowledge during the
failback process because it allows the soon-to-become-backup server to know
for sure when it can shut itself down and allow the soon-to-become-live
server to take over. Also, introduce a new configuration element called
"initial-replication-sync-timeout" to conrol how long this blocking will occur.

2) Set the state of the server as 'LIVE' only after the server is fully
started. This is necessary because once the soon-to-be-backup server shuts
down it needs to know that the soon-to-be-live server has started fully before
it restarts itself as the new backup. If the soon-to-be-backup server restarts
before the soon-to-be-live is fully started then it won't actually become a
backup server but instead will become a live server which will break the
failback process.

3) Wait to receive the announcement of a backup server before failing-back.
2015-10-20 14:55:31 -04:00
jbertram 6ed9c5ae91 ARTEMIS-74 import JAAS auth from 5.x
This change allows the use of JAAS login modules for basic authentication
and authorization.
2015-10-09 11:42:22 -05:00
Clebert Suconic 32dacf91f3 fixing wrong link on doc 2015-10-05 14:23:24 -04:00
Glaucio Melo 7d17d0af1c Updating documentation cmds
Updating documentation cmds from activemq to artemis
2015-09-29 17:49:01 -03:00
Clebert Suconic 5cfb45c76a adding note about IBM JDK
After I spent a whole afternoon trying to make IBM JDK to work under IDEA, I decided to add a note on the doc so other would have a chance to have it working faster than I did.
2015-09-29 15:47:31 -04:00
Clebert Suconic fc65ad4a72 specifying gitbook version to stop warning during doc generation 2015-09-29 09:43:53 -04:00
Clebert Suconic 230aba76a2 adding merge-PR script to help merging Pull Requests 2015-09-25 14:29:09 -04:00
Clebert Suconic 6956d14125 fixing links on project-info doc 2015-09-24 13:17:13 -04:00
Clebert Suconic d3ea9aca50 removing old doc (non relevant any longer) 2015-09-11 09:06:00 -04:00
Clebert Suconic f4751afcdd small fix on doc 2015-09-09 11:51:21 -04:00
Clebert Suconic 3593dd54c9 chapter about staging maven and validating releases 2015-09-09 10:18:43 -04:00
Clebert Suconic 79a7ee5a3f fixing version and adding missing projects on release profile 2015-09-04 23:41:23 -04:00
Clebert Suconic f8a7f030e0 Release notes 1.1.0 2015-09-03 22:57:44 -04:00
Clebert Suconic b7c7c42d22 small doc change 2015-09-03 11:23:44 -04:00
Clebert Suconic 2cf0bb71c4 Adding chapter about UDP troubleshooting
This is mostly importing some information that used to exist on old docs
2015-09-02 10:21:33 -04:00
Clebert Suconic 355b65a50b modifications to example chapter 2015-09-02 09:32:12 -04:00
Clebert Suconic 616a22e477 picture change because of protocols 2015-09-02 09:32:01 -04:00
Clebert Suconic edef0240bd manual additions about maven plugin 2015-09-01 23:44:46 -04:00
Martyn Taylor ff9da5c3e8 Add MQTT Section to protocols chapter 2015-08-12 11:42:11 -04:00
Martyn Taylor 1a704d7a6f Updated Protocol Interoperability section of user man 2015-08-12 11:22:03 -04:00
Clebert Suconic dd8203185b ARTEMIS-180 removing -Pexample and some other improvements around the examples 2015-08-07 15:17:28 -04:00
Erich Duda 8d10716cb0 Fixed documentation issue about message-expiry-thread-priority attribute. 2015-07-21 22:10:15 +01:00
Ville Skyttä b0a80ce1be Spelling fixes 2015-07-09 10:41:03 -04:00
jbertram ed4200d65e Update hacking guide
Update the Hacking Guide based on a recent conversation on the dev
list.
2015-06-25 14:14:00 -05:00
Daniel Kulp b19db275c0 Add eclipse files to .gitignore 2015-06-08 14:27:34 -04:00
jbertram 6eef7ec50b Update JIRA refs in hacking guide 2015-06-08 08:33:52 -05:00
jbertram 20326d0d83 ARTEMIS-19 allow disabling of message load-balancing 2015-06-03 16:21:43 -05:00
jbertram 666b6ae03b Update hacking guide; add example tests 2015-05-28 12:20:35 -05:00
jbertram 328611fdc9 More test-suite refactoring
Lots of work on the test-suite in this commit including:
- Rename ServiceTestBase to ActiveMQTestBase
- Make AddressSettings fluent
- Remove unnecessary tearDown() implementations
- Use ActiveMQTestBase.create*Locator() instead of
  ActiveMQClient.createServerLocator*(..)
- Use fluent ServerLocator methods
- Make sure all ActiveMQServers.newActiveMQServer invocations
  are surrounded with addServer() where appropriate
- Create a few example tests to be references from hacking-guide
- Update hacking-guide with more info on writing tests
- Refactor config creation methods in ActiveMQTestBase
2015-05-28 08:49:02 -05:00
Clebert Suconic 27cbc92a92 removing chapters from links 2015-05-21 12:08:11 -04:00
Clebert Suconic 647f665700 Doc improvements around libaio and removing extra chapter about running server 2015-05-21 11:51:48 -04:00
Clebert Suconic 25287a9ab3 removing defunct design-guide docs 2015-05-20 13:37:38 -04:00
jbertram 99147d0713 Refactor base test classes
This has bothered me for awhile, but writing the hacking guide has
given me an opportunity to refactor some of our test-suite to be
simpler, more consistent, and easier to understand. This is
important if we want users to provide well-written tests. Our
test-suite is an important part of the code-base and it should be
easy to write good tests.

Basically I just consolidated CoreUnitTestCase, UnitTestCase, and
ServiceTestBase into a single class named ServiceTestBase. I also
simplified some of the configuration creation methods to reduce
duplicated code.
2015-05-19 15:27:13 -05:00
jbertram 70258865a5 Initial commit of the hacking guide 2015-05-19 15:24:51 -05:00
Clebert Suconic ebab3fa6ef Adding doc about running & create process
this is deleting the quickstart and adding a chapter on the user-manual
2015-05-19 11:28:03 -04:00
Clebert Suconic 3e07a03ce5 Changing default host to 0.0.0.0 by default and allowing it to be configured during create
This is changing the default host to 0.0.0.0 per feedback from the community (activemq dev-list)
however if clustered is used some input or other properties will get input during the create process
I've also done some other changes based on some small issues I have encountered
2015-05-19 11:27:58 -04:00
Clebert Suconic 433ca606f0 removing extra column on a table
removing typo
2015-05-13 09:59:06 -04:00
Martyn Taylor b5cb6522a6 Doc updates 2015-05-13 09:33:30 -04:00
Martyn Taylor a17c828b85 Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
Andy Taylor b709beff05 update logos 2015-05-07 09:06:39 -04:00
jbertram f509ce7519 ACTIVEMQ6-70 broker resource limits
Implements basic limits on the number of connections and number of
queues a particular user can create to/on the broker.
2015-05-04 20:37:20 -05:00
jbertram 3eb835a8ab ACTIVEMQ6-96 acceptor limit
Adds a configuration property on both in-vm and Netty acceptors
whereby the number of connections allowed is configurable.
2015-05-04 16:07:27 -05:00
Clebert Suconic ea3370b38c Moving artemis-tools to artemis-cli and improving the tooling
Artemis tools is now part of the cli
Bootstrap was renamed to CLI
2015-05-03 12:42:19 -04:00
jbertram 791cc5c50c More rename updates 2015-04-30 09:07:20 -05:00
Andy Taylor efbe4e621f fixed examples and some docs after Artemis renaming 2015-04-30 10:44:16 +01:00
Andy Taylor e60d2ae2ae rename users and roles properties files 2015-04-29 16:07:52 +01:00
Andy Taylor 34f8e5383d renamed startup scripts 2015-04-29 14:28:11 +01:00
Andy Taylor 24a4c63458 renamed schemas 2015-04-29 10:49:43 +01:00
Andy Taylor ac5bb8fd6c renamed config to broker.xml 2015-04-29 10:30:32 +01:00