Commit Graph

918 Commits

Author SHA1 Message Date
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
Clebert Suconic 318595d648 This closes #264 on $java.home on tests 2015-05-18 19:00:42 -04:00
Thiago Kronig 351b1cba5d Ignores %PATH/java, use $JAVA_HOME/bin/java instead
Deduce `java` executable from current "java.home" property to spawn
processes for test purposes.
2015-05-18 19:00:29 -04:00
Clebert Suconic 3b7ac292c8 This closes #265 on getDeliveringMessages fix 2015-05-18 15:30:01 -04:00
jbertram 8561d60f54 ACTIVEMQ6-110 getDeliveringMessages() broken 2015-05-18 13:57:41 -05:00
Clebert Suconic fe093fcce3 This closes #262 on serialization changes over topology 2015-05-18 11:44:21 -04:00
Thiago Kronig 545e67fc96 Fix typos and string concat in Topology 2015-05-14 18:26:05 -03:00
Thiago Kronig 3c6e213f66 Topology executor should be final 2015-05-14 18:26:04 -03:00
Thiago Kronig 59e4f34415 Topology should not be Serializable
Topology serialization is already broken at this point, as its topologyListeners
are not Serializable themselves.
2015-05-14 18:26:03 -03:00
Clebert Suconic 1eb52ce1f1 This closes #259 - fix on a test 2015-05-14 09:59:24 -04:00
Thiago Kronig 031220b185 Fix FileConfigurationTest for Windows
The test wrongly assumes that Class.getResource(..) needs to specify the
System line-separator. The contract for the method dictates:

    "If the name begins with a '/' ('\u002f'), then the absolute name of
     the resource is the portion of the name following the '/'."

Also, it manipulates File.getAbsolutePath() in a way that generates wrong
URL for Windows.
2015-05-14 00:39:01 -03:00
jbertram efb9edbc66 This closes #258 CLI improvements 2015-05-13 14:53:16 -05:00
Clebert Suconic 6cb68f2ce9 Make tools more friendly to user errors 2015-05-13 15:28:17 -04:00
jbertram dc82cd0a51 Make CLI print data more friendly 2015-05-13 10:44:46 -05:00
Martyn Taylor 73c5f2e342 [maven-release-plugin] prepare for next development iteration 2015-05-13 15:24:55 +01:00
Martyn Taylor bfc9d8f72d [maven-release-plugin] prepare release 1.0.0 2015-05-13 15:24:16 +01:00
Clebert Suconic 433ca606f0 removing extra column on a table
removing typo
2015-05-13 09:59:06 -04:00
Clebert Suconic 6c6a53d80a This closes #256 on artemis.log change 2015-05-13 09:36:10 -04:00
Clebert Suconic cbf746dd6f changing logging to artemis.log 2015-05-13 09:34:51 -04:00
Clebert Suconic 2b00c99ad6 This closes #255 on distribution changes 2015-05-13 09:33:37 -04:00
Martyn Taylor e1ce1719b5 Exclude dev files and other docs from src distro 2015-05-13 09:33:30 -04:00
Martyn Taylor b5cb6522a6 Doc updates 2015-05-13 09:33:30 -04:00
Andy Taylor d5f6aec084 merge PR #254 - Ensure all references to the project use ActiveMQ Artemis 2015-05-13 14:28:47 +01:00
Andy Taylor 0854371619 merge PR #253 - Bump Maven Assembly Plugin Version to 2.4 2015-05-13 11:55:08 +01:00
Martyn Taylor 8e0594de05 Bump Maven Assembly Plugin Version to 2.4 2015-05-13 11:52:29 +01:00
Martyn Taylor a17c828b85 Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
Andy Taylor d1b317b975 merge PR #252 - Improvements on CLI and Bootstrap 2015-05-13 11:50:07 +01:00
Clebert Suconic 321c6011cd Improvements on CLI and Bootstrap
- A few improvements on CLI (fixing Windows Service and adding a few options)
- Bootstrap was missing /etc on the classpath so config loaders such as JGroups wouldn't be able to load configurations
2015-05-12 23:24:35 -04:00
Clebert Suconic dfaef58706 This closes #251 - update extra-tests 2015-05-12 11:36:05 -04:00
Clebert Suconic 071d8c6ce2 next iteration on extra-tests 2015-05-12 11:14:12 -04:00