Commit Graph

202 Commits

Author SHA1 Message Date
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
1d064f4676 Merge pull request #13 from irstevenson/unittest-multiport
Change to unit test so that it doesn't require the setup of multiple loopback devices.
2016-01-29 23:33:07 -04:30
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
c8c3332eb0 [maven-release-plugin] prepare for next development iteration 2016-01-01 20:43:41 -05:00
7b2224cd7f [maven-release-plugin] prepare release gossip-0.0.3 2016-01-01 20:43:39 -05:00
8e9e1e83e3 Stuff 2016-01-01 20:42:39 -05:00
dad82be1d0 Merge pull request #12 from edwardcapriolo/logger-to-debug
not rake:)
2016-01-01 20:38:46 -04:30
9419e60f84 not rake:) 2016-01-01 20:03:01 -05:00
c47879db75 Update README.md 2016-01-01 19:03:50 -05:00
ca9c7c9809 Merge pull request #11 from edwardcapriolo/logger-to-debug
Logger to debug
2016-01-01 19:23:48 -04:30
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
b18821d41e Fix indentation 2015-02-21 19:17:15 -05:00
9c3cbf3436 add comments about id 2015-02-21 19:07:32 -05:00
b8c6040ffc Merge pull request #6 from joprice/housekeeping
Small cleanup
2015-02-21 19:01:28 -05:00
4aba10d2c3 Small cleanup 2015-02-21 15:48:03 -05:00
07f47aced6 Merge pull request #5 from edwardcapriolo/callback-for-state
Callback for state
2015-02-15 23:32:00 -05:00
59c96be997 Update readme 2015-02-15 23:31:10 -05:00
7ce0700798 Callback 2015-02-15 23:24:18 -05:00
a1c241b780 Changed live and dead methods to return immutable lists. changed the underlying datastructure to be a map as opposed to two list 2015-02-15 18:57:06 -05:00
067ea5813b Merge pull request #3 from edwardcapriolo/dos2unix
Add a logger
2015-01-17 18:36:51 -05:00
a94ce621db Add a logger 2015-01-17 18:35:45 -05:00
2585d06499 Merge pull request #2 from edwardcapriolo/dos2unix
Dos2unix
2015-01-17 18:24:42 -05:00
17f1ad6f4f Apply formatting 2015-01-17 18:21:57 -05:00
4506fe4a79 Format 2015-01-17 18:17:38 -05:00
6d70b28e82 Dos2unix this joint 2015-01-17 18:15:40 -05:00
a96ae21269 Update README.md 2015-01-14 11:11:37 -05:00
65f13b9052 Update README.md 2015-01-14 11:08:48 -05:00
46ceb972bf Update README.md 2015-01-14 11:06:35 -05:00
1cfc68a57b Update README.md 2015-01-14 10:58:53 -05:00
0e327843e5 Bla 2015-01-14 10:54:56 -05:00
a8fa4787c9 [maven-release-plugin] prepare for next development iteration 2015-01-12 22:43:54 -05:00
3a570a915c [maven-release-plugin] prepare release gossip-0.0.1 2015-01-12 22:43:52 -05:00
6565b03192 Keep references to threads and shut them down more properly 2015-01-12 22:41:21 -05:00
5072be6636 [maven-release-plugin] prepare for next development iteration 2015-01-12 20:11:52 -05:00
f456374fe5 [maven-release-plugin] prepare release gossip-0.0.0 2015-01-12 20:11:49 -05:00
833dfd500d Better description 2015-01-12 20:05:45 -05:00
172789f312 Shut down faster 2015-01-12 20:04:42 -05:00
924bf70f36 Merge pull request #1 from edwardcapriolo/add_id
Add
2015-01-12 10:48:45 -05:00
61332bfbe7 fix gossiping port as id 2015-01-12 10:46:38 -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
844b827dc6 Correcting gossipper so it only binds to a single host/port rather than all 2015-01-09 12:27:55 -05:00
961d93d13b Throw expection 2015-01-09 12:13:41 -05:00
f9d12d4f1a Use mvn to get json not include locally 2015-01-09 11:45:25 -05:00
ab5ceac638 Use byte buffer 2015-01-09 11:38:15 -05:00
b18ad35f17 Fix scm tag 2015-01-09 11:35:17 -05:00