Commit Graph

198 Commits

Author SHA1 Message Date
d2e8c62b29 GOSSIP-16 - whitespace and spelling changes.
Squashed commit of the following:
  * Replace a few System.err calls with log messages.
  * Fix misspelling
  * Rename `getMemberList` -> `getLiveMembers`
2016-07-18 13:20:32 -05:00
ae3c18499e revert e62b29ee27 2016-07-18 13:12:46 -05:00
e62b29ee27 whitespace change to test access 2016-07-18 13:05:01 -05:00
a045b6f80a GOSSIP-13 Add two way protocol 2016-07-13 20:26:40 -04:00
d28d9b321c Merge branch 'master' of https://github.com/sreev/incubator-gossip 2016-06-25 07:44:35 -04:00
563365664f [GISSIP-7] add log4j.properties and main/resources; rename test package to org.apache.gossip 2016-06-19 18:09:27 -07:00
2b00d6afbc [GISSIP-7] pom.xml license format change back 2016-06-19 14:12:03 -07:00
a6d6639cdd [GISSIP-7] jdk8 and other pom.xml changes 2016-06-19 13:48:27 -07:00
4f1993a7fc GOSSIP-10 simplify code 2016-06-14 09:54:45 -04:00
2c1dc4375b GOSSIP-2 merge 2016-06-07 23:10:14 -04:00
496f299d01 Rebase 2016-06-07 22:55:48 -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
8e8db1c837 Remove dead code 2016-06-07 22:52:53 -04:00
3366f63641 Final final 2016-06-07 22:52:53 -04:00
266e039b29 Too much logging 2016-06-07 22:52:53 -04:00
29f5966463 use jackson 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
5532585e67 Move to URI in model and configuration 2016-06-02 09:23:55 -04:00
3ca8e0f9c8 renamed packages from 'google' to 'apache' and updated necessary imports 2016-05-29 00:50:32 -04:00
4d2ea58bab Merge pull request #25 from edwardcapriolo/use-jackson
Use jackson
2016-05-21 12:57:30 -04:00
441c68c712 clean up warnings 2016-05-16 21:33:45 -04:00
bee4936f43 Remove dead code 2016-05-16 19:37:17 -04:00
95fecb8355 Final final 2016-05-16 19:10:53 -04:00
f252d44f52 Too much logging 2016-05-16 19:03:34 -04:00
4ca9b82ae4 use jackson 2016-05-16 18:54:17 -04:00
176e173fe5 Merge pull request #24 from edwardcapriolo/cleanup-before-merge
Cluster name was null at this context
2016-05-03 11:17:04 -04:00
d191c7cb6d Cluster name was null at this context 2016-05-03 11:15:26 -04:00
654c806ad6 Merge pull request #22 from edwardcapriolo/cleanup-before-merge
Whew
2016-05-01 09:43:50 -04:00
a7f90aae08 Whew 2016-04-29 13:35:51 -04:00
a040e2cd36 Merge pull request #21 from ptgoetz/cluster-ids
WIP on configurable cluster names
2016-04-28 19:51:16 -04:00
723c0a050b WIP on configurable cluster names 2016-04-26 17:08:56 -04:00
fee57b2ad6 Merge pull request #20 from edwardcapriolo/why-null
Why set to null
2016-04-20 14:06:31 -04:30
abbb088d76 More null checking here 2016-04-20 14:31:46 -04:00
e91d4af3bf Why set to null 2016-04-20 14:17:39 -04:00
611b53b475 Merge pull request #19 from ptgoetz/master
add Apache license headers
2016-04-20 13:35:51 -04:30
bea44ea12e add Apache license headers 2016-04-20 13:41:56 -04:00
3a40908783 Possible NPE 2016-03-30 21:21:19 -04:00
a7da35f270 Merge pull request #18 from edwardcapriolo/ts_as_heartbeat
Ts as heartbeat
2016-03-30 14:28:59 -04:30
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
baa3d125e3 Merge pull request #16 from edwardcapriolo/active-cleanup
Better socket cleanup for ActiveThread
2016-03-28 18:34:09 -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
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