Commit Graph

841 Commits

Author SHA1 Message Date
Derek Collison
dcb02f93ef Merge pull request #281 from nats-io/conf_variables
Configuration Variables
2016-05-22 10:58:09 -07:00
Derek Collison
8f4b31b5ed Special case raw bcrypted passwords 2016-05-22 10:41:16 -07:00
Derek Collison
832bac98be First pass variable support.
This allows blocked scoped variables to be set and retrieved as values using the $ prefix.
e.g. foo = 22; bar = $foo

Also supports env variables being used as variables and will properly parse to the correct type.
2016-05-22 10:21:00 -07:00
Derek Collison
68e8b83fcd Merge pull request #280 from znly/master
Concurrent map access in server/route.go
2016-05-20 09:16:14 -07:00
Antonin Amand
1eb12a1501 fix concurrent map access 2016-05-19 17:14:48 +02:00
Derek Collison
074c8ce9f4 Merge pull request #279 from nats-io/fix_readme
Fix command line parameters for clustering doc [ci skip]
2016-05-18 12:16:59 -07:00
Ivan Kozlovic
13d6756901 Fix command line parameters for clustering doc [ci skip] 2016-05-18 13:14:10 -06:00
Derek Collison
d932f5686b Merge pull request #276 from nats-io/varz_subs
Report total subscriptions under /varz
2016-05-16 12:54:52 -07:00
Derek Collison
df02549dc2 Report total subscriptions under /varz 2016-05-16 12:46:30 -07:00
Derek Collison
e124d3010f Merge pull request #275 from nats-io/multiuser
Multiuser Auth Support
2016-05-15 10:27:23 -07:00
Derek Collison
82f04baa12 Allow optional reporting of authorized user under connz 2016-05-15 10:07:37 -07:00
Derek Collison
46a9e6f0bc First pass at multi-user support 2016-05-13 12:27:57 -07:00
Derek Collison
01b635cc8f Merge pull request #273 from nats-io/listen
Enable listen address parsing
2016-05-13 06:28:14 -07:00
Derek Collison
4bbd2231a6 update server configs and README to new listen style 2016-05-12 17:34:14 -07:00
Derek Collison
4c36522f55 new listen style 2016-05-12 17:22:09 -07:00
Derek Collison
2aba059523 Supporting test configs 2016-05-12 16:58:43 -07:00
Derek Collison
9e73c1db76 Enable listen address parsing for client, cluster and http, enforce http hosts as separate 2016-05-12 16:47:01 -07:00
Derek Collison
d615273a3e Bump badge to release 0.8.0 2016-05-11 16:29:11 -07:00
Derek Collison
95787732db next working version 2016-05-11 16:17:58 -07:00
Derek Collison
e1bd6f7eaf Merge pull request #271 from nats-io/fix_info_arg
Fix INFO_ARG parsing
2016-05-11 16:17:02 -07:00
Ivan Kozlovic
a8ff707aff Fix INFO_ARG parsing
In split buffer conditions, a buffer is used to accumulate bytes.
After processing, this buffer needs to be reset.

Resolves #270
2016-05-11 15:51:29 -06:00
Derek Collison
26caad27c1 Clear subs activity cache 2016-05-09 13:56:34 -07:00
Derek Collison
3ff8ad706a v0.8.0 release v0.8.0 2016-05-09 12:47:31 -07:00
Derek Collison
bf32f1972d Merge pull request #268 from nats-io/last
Ignore client pings for last connection activity
2016-05-09 10:06:15 -07:00
Derek Collison
fd27025aa3 Ignore client pings for last connection activity 2016-05-09 09:56:38 -07:00
Derek Collison
0378f6d7e1 Merge pull request #266 from nats-io/update-win-pse
Update PSE for Windows
2016-05-05 22:47:18 -07:00
Colin Sullivan
26dab3bf8a Update PSE for Windows
* Call into the performance counter API directly
* Incorporate caching to reduce load on the server
2016-05-05 23:31:05 -06:00
Derek Collison
099aaa3dcb Merge pull request #265 from nats-io/pse_linux
Add sampling for pcpu
2016-05-05 14:10:40 -07:00
Derek Collison
137c2d0109 Add sampling for pcpu 2016-05-05 13:55:23 -07:00
Derek Collison
8e95269db7 Merge pull request #263 from nats-io/cov
Coverage increase for conf parser and lexer
2016-05-04 17:18:51 -04:00
Derek Collison
296227e46e parse test coverage 2016-05-04 13:59:48 -07:00
Derek Collison
9b41ee00aa lex coverage 2016-05-04 12:52:52 -07:00
Derek Collison
8a2af1ec21 don't test coverage on test 2016-05-04 11:23:48 -07:00
Derek Collison
1ebf896980 Fixup for default options 2016-05-03 16:51:23 -07:00
Derek Collison
b5a1365349 Set default host for cluster 2016-05-03 16:44:32 -07:00
Derek Collison
efc262951b Merge pull request #262 from nats-io/move_usage
Move usage.go from server to main package
2016-05-03 19:25:45 -04:00
Ivan Kozlovic
830fb73e44 Remove usage.go and move its content into main.go 2016-05-03 17:15:58 -06:00
Ivan Kozlovic
b36e9fe137 Move usage.go from server to main package 2016-05-03 16:51:57 -06:00
Derek Collison
7b33905db5 beta2 2016-05-03 13:00:18 -07:00
Derek Collison
e8b079951c Merge pull request #261 from nats-io/include-win-pse-test
Update the Windows PSE Test
2016-05-02 18:17:39 -04:00
Colin Sullivan
79b4e6be10 While locally tested, this test wasn't being run with the original enhancement.
* Include the test for windows
* Call ProcUsage (versus procUsage), as test was moved.
2016-05-02 15:25:07 -06:00
Derek Collison
cd07cc377c Merge pull request #260 from nats-io/fix_flapper
Fix flapping test
2016-04-26 17:16:34 -07:00
Ivan Kozlovic
bb81a37cdc Fix flapping test
Introduce sleep when checking activity updates. I had fixed it
originally for Windows and then made it for all platform recently
but only for the publish case. I missed the subscribe test.
2016-04-26 18:14:01 -06:00
Derek Collison
4b20f9d933 Merge pull request #259 from nats-io/add_test_for_total_connections
Add test for Connz Total connections
2016-04-26 17:06:28 -07:00
Ivan Kozlovic
19ea9c5a60 Add test for Connz Total connections 2016-04-26 18:00:58 -06:00
Derek Collison
062172926f Merge pull request #258 from nats-io/add_total_live_connz
Add a live connection count to connz monitoring.
2016-04-26 16:56:15 -07:00
Colin Sullivan
8a07a02a97 Rename the field to 'total'. 2016-04-26 17:49:09 -06:00
Colin Sullivan
19d4848008 Access server clients within lock. 2016-04-26 17:34:03 -06:00
Colin Sullivan
a6dfe88746 Add a live connection count to /connz monitoring. 2016-04-26 17:24:01 -06:00
Derek Collison
83a2b3c595 Merge pull request #257 from nats-io/update_readme_with_cluster_example
Add clustering example in README
2016-04-26 15:08:54 -07:00