Commit Graph

50 Commits (484f6ccaf25a62dd21c87cec1adbf9b94594f4fb)

Author SHA1 Message Date
Matt Keeler 1fbe828c35 Add RunWithConfig and put Run signature back to normal
7 years ago
Matt Keeler 53fbe2b111 Update unit tests to reflect change to func signature
7 years ago
Matt Keeler 8e0e239e42 Allow passing in a config to the watch plan to use when creating the API client
7 years ago
Guido Iaquinti 8cd11d5888 Add package name to log output
7 years ago
Frank Schroeder 570ddaae98
watch: make sure invoke channels timeout evenutally
7 years ago
Frank Schroeder f55e234f2e
watch: run tests in parallel
7 years ago
Frank Schroeder a54b0994ed
watch: convert TestEventWatch to use channels
7 years ago
Frank Schroeder e9766c8bd4
watch: convert TestKeyPrefixWatch to use channels
7 years ago
Frank Schroeder 144b337aa5
watch: convert TestKeyWatch_With_PrefixDelete to use channels
7 years ago
Frank Schroeder bad870dc68
watch: convert TestKeyWatch to use channels
7 years ago
Frank Schroeder 7a84f1c82d
watch: convert TestChecksWatch_Service to use channels
7 years ago
Frank Schroeder d57ef823f9
watch: convert TestChecksWatch_State to use channels
7 years ago
Frank Schroeder eb2963345e
watch: convert TestServicesWatch to use channels
7 years ago
Frank Schroeder ef4e8b5811
watch: convert TestServiceWatch to use channels
7 years ago
Frank Schroeder 375fbcb643
watch: convert TestNodesWatch to use channels
7 years ago
Frank Schroeder a7c78e637d
watch: use test agent instead of external Consul instance
7 years ago
James Phillips 23d4b24792
Cleans up import sorting.
7 years ago
Hadar Greinsmark 7e1a860978 Implement HTTP Watch handler (#3413)
7 years ago
Preetha Appan 36acf8d6a4 Use new DeletePrefixMethod for implementing KVSDeleteTree operation. This makes deletes on sub trees larger than one million nodes about 100 times faster. Added unit tests.
7 years ago
James Phillips 8d0a048408 Expands and rework context support in the API client. (#3273)
7 years ago
Preetha Appan d25be8671a Make sure to call cancel on the context
8 years ago
Preetha Appan a6c3cf0403 Made helper method for query options with context
8 years ago
Preetha Appan 9eaf56bfe3 Fix socket file handle leaks from old blocking queries upon consul reload. This fixes issue #3018
8 years ago
James Phillips 6977e40077 Fixes watch tracking during reloads and fixes address issue. (#3189)
8 years ago
James Phillips 5f9776ac89 Merge pull request #2621 from alicebob/devwatch
8 years ago
Frank Schroeder d7e23857ad golint: No stutter
8 years ago
Frank Schroeder eddb1af603 Remove duplicate constants
8 years ago
James Phillips d9e6f3c894
Makes watcher test more robust.
8 years ago
Harmen d7b5f41447 reset the watch index when somehow the index goes backwards
8 years ago
Harmen 021cc2017d reset index to 0, not to 1
8 years ago
Harmen 4a13cafa98 reset watch's lastIndex on error
8 years ago
James Phillips 888f27de2b
Moves stale code to same spot and adds it everywhere that supports it.
8 years ago
Evan Gilman 965fcf9d6b
Enable Stale mode for watchers
9 years ago
Sean Chittenden e63d3a1275 Update Check API to use constants
9 years ago
Ryan Uber 5555e0eb9b api: initial import from armon/consul-api
10 years ago
Emil Hessman c9333b1b9b Fix missing arguments
10 years ago
Armon Dadgar e13ba2f2da watch: Adding support for events
10 years ago
Armon Dadgar 94615b0b7e watch: Fixing bug with null keys
10 years ago
Armon Dadgar 4b547a43d0 agent: First pass at agent-based watches
10 years ago
Armon Dadgar ad40ddf361 watch: Remove DSL in place of JSON
10 years ago
Armon Dadgar ee4a1a960f watch: Set the ACL token
10 years ago
Armon Dadgar 723352fc37 watch: support parameter exemption
10 years ago
Armon Dadgar 5aefdf01a0 watch: support checks watch
10 years ago
Armon Dadgar f3c8873009 watch: supporting service watch
10 years ago
Armon Dadgar 8d70128761 watch: node watcher
10 years ago
Armon Dadgar 00358baa7f watch: service watcher
10 years ago
Armon Dadgar 970c606f1a watch: Support for key prefix
10 years ago
Armon Dadgar 68a829119e watch: test key watch
10 years ago
Armon Dadgar 66edf0075a watch: Testing plan execution
10 years ago
Armon Dadgar 2b07355b94 watch: First pass at query parsing
10 years ago