Commit Graph

326 Commits

Author SHA1 Message Date
Ken Robertson
dacf0e033a Fix Travis to properly fail the build on go fmt and go vet.
When running go fmt/vet, they do not exit non-zero if they detect any issues,
they only print out information. This wraps go fmt/vet in a script that
captures the output to a temp file and checks if anything was written to it.
If any was, it prints it out then exits 1.
2014-08-12 23:03:38 -07:00
Derek Collison
39e7050187 Merge pull request #39 from WuLonghui/hw-issue-1
Use authTimeout in setAuthTimer
2014-08-12 07:40:20 -07:00
w00228948
31bc0bdb8c Use authTimeout in setAuthTimer 2014-08-12 17:55:59 +00:00
Derek Collison
c01c3e15d9 Merge pull request #34 from simonleung8/selfReferenceFix
Remove self-referencing ip/host in route configs and log a warning.
2014-07-31 11:14:39 -07:00
Simon Leung
afc9f6222f remove self referencing ip/host
Signed-off-by: Jonathan Berkhahn <jaberkha@us.ibm.com>
2014-07-31 10:30:43 -07:00
Derek Collison
7e198fb2f8 Changed travis image link. v0.5.4 2014-07-25 13:29:32 -07:00
Derek Collison
11afe75636 Merge pull request #37 from apcera/coveralls.yml
Should have been included from the coveralls instructions to know more.
2014-07-25 13:18:56 -07:00
Jonathon Klobucar
683bbc671b Should have been included from the coveralls instructions to know more.
https://coveralls.io/docs/supported_continuous_integration
2014-07-25 13:16:58 -07:00
Derek Collison
a8c9c6dd2d Merge pull request #36 from apcera/add-coveralls
Add a small script to run the tests and report to coveralls in travis.
2014-07-25 13:11:36 -07:00
Jonathon Klobucar
2661e88113 Add a small script to run the tests and report to coveralls in travis. 2014-07-25 13:04:53 -07:00
Derek Collison
ec72a05277 Just test 1.3 2014-07-24 16:13:41 -07:00
Derek Collison
a48084a2af Make sure to account for route connections 2014-07-24 16:01:50 -07:00
Derek Collison
bfe88c335c test fixups for 1.3, add in test for leaked route Go routines 2014-07-24 16:01:28 -07:00
Derek Collison
13d256b8cc Fix minor races, add in 1.3 to testing, bump version 2014-07-24 08:03:04 -07:00
Derek Collison
c0941c99a8 Docker support for generating single executable image 2014-07-23 17:39:59 -07:00
Derek Collison
3e86a2cbeb Added cluster restart test with queue subscribers 2014-07-23 17:39:15 -07:00
Derek Collison
0464ad3512 Reload config option.
This will be useful to be able to turn on and off debug and/or trace flags for logging.
2014-06-19 15:54:45 -07:00
Derek Collison
bdb94fc399 Added some 1.3 options. 2014-06-19 13:47:38 -07:00
Alex Toombs
a364e852ca Merge pull request #32 from apcera/allow-external-listener
Allow nats to choose a random port when given port -1
2014-06-09 10:11:31 -07:00
Alex Toombs
ae0e8e5f53 Write back resolved port to options. 2014-06-06 16:05:37 -07:00
Alex Toombs
8014866791 PR feedback (nits) 2014-06-06 15:49:13 -07:00
Alex Toombs
20b08f5a33 Allow nats to choose a random port when given port -1.
* In order to allow nats to resolve a randomly-chosen port, we want to
  sometimes give net.Listen a port of 0. However, a port of 0 in the
  config resolve to a constant port. In order to avoid behavioral
  changes, we define '-1' to be the default "choose random port"
  number.
* Resolve ports can be retrievd using the server's Addr() method.
2014-06-05 19:48:42 -07:00
Derek Collison
76aa5a2a01 Merge pull request #31 from apcera/add-addr-helper
Added Server.Addr() helper to allow querying of the server's bound address
2014-05-27 09:23:53 -07:00
Ken Robertson
e6d60881cb Added Server.Addr() helper to allow querying of the server's bound address
This can be useful in testing scenarios by allowing you to have the system pick
a random port by passing 0 on options.Port, but also give the user a way to
query the server for what port it actually bound to.
2014-05-27 09:08:07 -07:00
Derek Collison
4a522014f6 Moved travis status. 2014-05-08 13:25:36 -07:00
Derek Collison
e172f4bdf9 Fixed issue #29 with subscriptions leaking across routes on auto-unsubscribe v0.5.2 2014-04-30 14:18:42 -07:00
Derek Collison
cd56514808 pass by address 2014-04-25 13:18:50 -06:00
Derek Collison
2141cc7381 bad copy of file 2014-04-25 13:11:58 -06:00
Derek Collison
ac975a9856 Bumped version v0.5.1 2014-04-25 12:27:40 -06:00
Derek Collison
de4e748b2e Added perf test for defers and parseInt 2014-04-25 11:26:07 -07:00
Derek Collison
5d820d881e Merge pull request #30 from pivotal-cf-experimental/profiling-port-config-file
Make profiling port configurable via file
2014-04-25 11:24:50 -07:00
Derek Collison
7c0f112a9c perf results 2014-04-25 12:21:58 -06:00
Eric Malm
89452213bf Make profiling port configurable via file
- Port can be specified with 'prof_port' value in file
- CLI flag overrides config file setting
2014-04-24 18:01:09 -07:00
Derek Collison
98b7482b68 syntax 2014-04-16 09:25:13 -07:00
Derek Collison
ff2e2d40ae Should receive msgs 2014-04-05 00:06:19 +02:00
Derek Collison
53c5674ce5 Added results from go1.2.1 on new MBA 2014-04-04 23:52:19 +02:00
Derek Collison
5a64b25384 Added in three and four token match benchmarks 2014-04-04 23:47:19 +02:00
Derek Collison
7da1e87748 copyright hygiene 2014-02-06 19:34:12 -08:00
Derek Collison
edc49b7924 Fixes issues #21 and #22 2014-02-06 19:24:11 -08:00
Derek Collison
efa5629e59 Proper link to Fowler algorithm, fixes #23 2014-02-02 16:01:46 -08:00
Derek Collison
6eb1dd247c Merge pull request #19 from apcera/match_iteral_bug
Match Literal Bug Fix
2014-01-08 21:26:50 -08:00
Derek Collison
0e47153275 Move to %q to properly print out 2014-01-09 00:04:35 -05:00
Derek Collison
afb456e2ea Bumped version 2014-01-07 18:37:06 -08:00
Derek Collison
c36036541b Fix for MatchLiteral bug, report #18 2014-01-07 18:35:18 -08:00
Derek Collison
ddb54bb154 Need to flush the clients 2013-12-12 14:56:24 -08:00
Derek Collison
e01bd2a6f1 go fmt fix 2013-12-12 14:39:51 -08:00
Derek Collison
e7cc9c086c 1.2 only 2013-12-12 14:37:22 -08:00
Derek Collison
4af2395e7f go vet fixes for 1.2 2013-12-12 14:37:15 -08:00
Derek Collison
8f5518d5ac fixup for change to go vet 2013-12-12 14:17:58 -08:00
Derek Collison
6cbe515497 Clean up after ourselves 2013-12-12 14:09:40 -08:00