Commit Graph

857 Commits

Author SHA1 Message Date
Claus Ibsen fe1065ad6d Update vendor to ASF 2015-05-30 08:37:28 +02:00
Andy Taylor 79803f17c2 merge PR #7 - Cleanup issues reported by error prone 2015-05-29 15:05:43 +01:00
Clebert Suconic a6b8a09b65 Cleanup issues reported by error prone
We had a few reported small issues on the codebase from the recent introduced google error prone.
This should eliminate any issues, and I am making sure these won't happen again
2015-05-28 23:49:59 -04:00
Clebert Suconic 873751fd45 This closes #6 update on hacking guide plus examples 2015-05-28 15:05:34 -04:00
jbertram 666b6ae03b Update hacking guide; add example tests 2015-05-28 12:20:35 -05:00
Clebert Suconic 34aec3bc36 This closes #5 on SharedStorage test
Notice: there was some rebase I had to do on this one to fix some test API changes
2015-05-28 11:36:04 -04:00
mnovak 0cd7874f83 ARTEMIS-125 Shared backup server with disabled scale down policy does not activate itself.
If standalone backup server with shared has defined scale-down policy
but it's disabled then backup does not activate. Problem is that
server is checking only whether scale down is defined but if it's
enabled. This causes that server.stop() is called and backup does
not activate.
2015-05-28 11:34:10 -04:00
Clebert Suconic 043909bded This closes #2 print-data change 2015-05-28 11:20:37 -04:00
Clebert Suconic fbe0508350 Adding timestamp to print-data
This is a simple change to add the timestamp on toString which will appear on print-data
2015-05-28 11:20:37 -04:00
Clebert Suconic eb4355a62e This closes #3 Jolokia update 2015-05-28 11:19:43 -04:00
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