Commit Graph

27 Commits

Author SHA1 Message Date
563365664f [GISSIP-7] add log4j.properties and main/resources; rename test package to org.apache.gossip 2016-06-19 18:09:27 -07:00
2c1dc4375b GOSSIP-2 merge 2016-06-07 23:10:14 -04:00
900bfda955 GOSSIP-2 rebase 2016-06-07 22:52:54 -04:00
ddc9a67dd6 Move to URI in model and configuration 2016-06-07 22:52:54 -04:00
968203e8a0 renamed packages from 'google' to 'apache' and updated necessary imports 2016-06-07 22:52:54 -04:00
6a35db7cb9 clean up warnings 2016-06-07 22:52:53 -04:00
fe196cd788 GOSSIP-4: Use builder to create RandomGossipManager (Jaideep Dhok via EGC) 2016-06-06 22:43:41 -04:00
3ca8e0f9c8 renamed packages from 'google' to 'apache' and updated necessary imports 2016-05-29 00:50:32 -04:00
441c68c712 clean up warnings 2016-05-16 21:33:45 -04:00
723c0a050b WIP on configurable cluster names 2016-04-26 17:08:56 -04:00
bea44ea12e add Apache license headers 2016-04-20 13:41:56 -04:00
2eebb7b952 Longer 2016-03-29 15:43:29 -04:00
3cbd29cfe2 Merge master 2016-03-29 15:37:05 -04:00
5a5f16515f Use timestamp as heartbeat 2016-03-29 13:50:12 -04:00
25a33ff61e Merge pull request #14 from irstevenson/doc-updates-fileconfig-test
Added test for `StartupSettings` and documentation of use - in `README.md`
2016-03-28 18:38:06 -04:30
400d0760b6 Better socket cleanup for ActiveThread 2016-03-28 19:00:22 -04:00
Ian
c97c5ff810 Added test for StartupSettings and documentation of use - in README.md.
* Also tweaked the `StartupSettings` so that it now reads in an `id` for the node, rather than just resulting in a blank `id`;
* Moved some logging from stdout to log4j
* Full `maven test` passing

Arguably this would result in a version change, as the settings file format has changed and now requires an id field. However we could make it optional, but it seems odd to have nodes with no ids.
2016-01-31 11:17:34 +11:00
Ian
0393d99c09 Change to unit test so that it doesn't require the setup of multiple loopback devices.
Instead of using addresses in the format of `"127.0.0." + i` it now instead uses a first address of 127.0.0.1 with variable ports in the form of `50000 + i`. This way straight out of the repo you can run the tests, and to some degree achieves the same level of functional testing.

Also added a small additional bit of debug logging in `GossipService` as well as some `INFO` logging in the test - as I figure it's a test that should be suitable.
2016-01-30 14:43:39 +11:00
f263fd41ae Use tunit instead of long sleeps 2016-01-01 18:51:30 -05:00
80bbccbd68 Logging cleanup 2016-01-01 18:27:11 -05:00
4aba10d2c3 Small cleanup 2015-02-21 15:48:03 -05:00
7ce0700798 Callback 2015-02-15 23:24:18 -05:00
6565b03192 Keep references to threads and shut them down more properly 2015-01-12 22:41:21 -05:00
4245908b38 Add id field 2015-01-12 09:35:22 -05:00
d2ad190b93 Lower test time 2015-01-10 15:11:40 -05:00
980e3f51e9 Added log4j logger and removed obvious comments 2015-01-09 14:32:30 -05:00
bf5b777808 added a unit test 2015-01-09 13:20:00 -05:00