Commit Graph

8897 Commits

Author SHA1 Message Date
Claus Ibsen a9b6753d93 ARTEMIS-117: Upgrade to Jolokia 1.3.1 2015-05-28 11:19:43 -04:00
Clebert Suconic 9972624ba2 This closes #4 Test refactoring work 2015-05-28 11:18:29 -04: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 30416db00e This closes #236 2015-05-21 19:45:02 -04:00
Thiago Kronig 7ca05753bf Fix integration-tests: Arrays.toString(..) and ignored AssertionError 2015-05-21 19:45:01 -04:00
Thiago Kronig 27dd5c2652 Log Arrays.toString(nodes) at ClusterTestBase 2015-05-21 19:45:01 -04:00
Thiago Kronig 71ea52bd06 Remove ignored line in JoramTests 2015-05-21 19:45:01 -04:00
Thiago Kronig 8a09e8f0b5 ActiveMQRAStreamMessage writeBytes(..) should trace array contents 2015-05-21 19:45:01 -04:00
Thiago Kronig 31fd920e95 Fix JMSQueueConfiguration interface to use varargs instead of array[] 2015-05-21 19:45:01 -04:00
Thiago Kronig bbc509c654 Document lock.wait(..) idiom in SourceReceiver Thread 2015-05-21 19:45:01 -04:00
Thiago Kronig b6093579bf Explicit byte[].toString(..) in debug message 2015-05-21 19:45:01 -04:00
Thiago Kronig d99991dd3a Ignore DepAnn Error Prone ERROR as WARN
DepAnn fail as ERROR for generated sources that implement deprecated methods,
but don't annotate with @Deprecated.

Also, see: http://errorprone.info/bugpattern/DepAnn
2015-05-21 19:45:01 -04:00
Thiago Kronig 592f28f03f Enable Google's Error Prone
Enabled by default to catch common Java mistakes as compile-time errors.

https://github.com/google/error-prone
2015-05-21 19:45:01 -04: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
Martyn Taylor 22d54c5830 [maven-release-plugin] prepare for next development iteration 2015-05-21 13:47:45 +01:00
Martyn Taylor 3435d5948f [maven-release-plugin] prepare release 1.0.0 2015-05-21 13:43:56 +01:00
Martyn Taylor 48d9951d87 ActiveMQ6-112 Add defaults to the selector parser doc builder 2015-05-21 13:00:11 +01:00
Andy Taylor 879f4a6bb3 merge PR #242 - A few fixes that I found from my work on examples 2015-05-21 11:03:23 +01:00
Clebert Suconic 304e71862f Fixing cluster-settings
I have been playing with settings on the examples and the cluster settings are not really working by default
The default cluster-settings is using the wrong acceptor and the lack of max-hops is not making it work on most examples
maybe I will add some configuration on the max-hops through the create interface. I will set it as 0 for now at least
2015-05-20 23:17:09 -04:00
Clebert Suconic 5e17408c82 updating distribution/README for a small typo 2015-05-20 22:42:42 -04:00
Clebert 9b9cff1e5b changing README to reference the summary instead of hacking/readme
The README is just an empty page with the logo, the summary instead would have all the contents
this is better for reading at the main page
2015-05-20 22:42:42 -04:00
Clebert Suconic 4de929c3e1 option to remove the web server on the install 2015-05-20 22:42:42 -04:00
Clebert Suconic 14cb3a07a0 Fixing silent-input over password
--silent-input was being ignored on password. This is a little fix
I have also moved an abstract just for InputAbstract
2015-05-20 22:42:39 -04:00
jbertram a2a88625de This closes #273 remove design doc 2015-05-20 12:41:25 -05:00
Clebert Suconic 25287a9ab3 removing defunct design-guide docs 2015-05-20 13:37:38 -04:00
Martyn Taylor 97210427df [maven-release-plugin] prepare for next development iteration 2015-05-20 11:26:38 +01:00
Martyn Taylor 3fb3799f91 [maven-release-plugin] prepare release 1.0.0 2015-05-20 11:17:31 +01:00
Andy Taylor e2e73ffa07 merge PR #272 - Open wire protocol fixes 2015-05-20 11:00:42 +01:00
Andy Taylor 13cc616b2f merge PR #271 - Hacking guide + test-suite refactor + couple more fixes 2015-05-20 10:45:55 +01:00
Martyn Taylor f14b3353f4 Support reconnect on OpenWire failover transport 2015-05-20 10:40:50 +01:00
Martyn Taylor 2de3bfa9f1 ACTIVEMQ-106 Drop ConnectionControl Packet 2015-05-20 10:40:50 +01:00
jbertram a9f475ee47 Fix test config
This configuration should not have a "data" folder hence should not
have persistence enabled.
2015-05-19 16:19:03 -05:00
jbertram 4b833cf5e7 ACTIVEMQ6-111 journal dir created even if persistence disabled 2015-05-19 16:16:51 -05: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 042a8f556a this closes #270 on warn/debug change 2015-05-19 15:48:32 -04:00
Clebert Suconic f81fe0433a Relaxing a WARN message into DEBUG that should been ignored anyways 2015-05-19 15:41:18 -04:00
Clebert Suconic 89adfaa112 This closes #269 on libaio fix 2015-05-19 15:28:14 -04:00
Clebert Suconic 46df777edb Fixing libaio integration / creation
My last patch had a little flaw around libaio load (The main script is not finding the .so properly) and my configuration was wrong
2015-05-19 15:18:04 -04:00
Clebert Suconic 50c3dda871 This closes #268 on test changes 2015-05-19 15:17:10 -04:00
jbertram 63f7837a4d Remove unnecessary check
When this test is run from QueueControlUsingCoreTest the connection
count check will fail because of the request/reply semantics of the
test itself.
2015-05-19 12:48:46 -05:00
jbertram d24f2eb10f Ensure tests use proper directory 2015-05-19 11:31:11 -05:00
jbertram 892675f02e This closes #267 pom.xml fixes for extra-tests 2015-05-19 11:15:11 -05:00
jbertram 9b7aa517d3 This closes #261 initial access broker config 2015-05-19 11:12:48 -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
Martyn Taylor c30a8fe899 Add back extra test changes accidently removed during rebase 2015-05-19 16:00:34 +01:00
Clebert Suconic 4b157934e3 This closes #266 on RA changes 2015-05-19 08:17:31 -04:00
Andy Taylor ef322b5eb2 rename connector and acceptor to artemis 2015-05-19 11:50:46 +01:00