Commit Graph

59 Commits (538973fc5eb316030a203fec0dcbac2807cda30d)

Author SHA1 Message Date
Paul Banks e812f5516a Add -sidecar-for and new /agent/service/:service_id endpoint (#4691)
6 years ago
Pierre Souchay c01b410cf5 Fixed flaky watch tests (#4595)
6 years ago
Pierre Souchay 92acdaa94c Fixed flaky tests (#4626)
6 years ago
Paul Banks 597e55e8e2 Misc test fixes
7 years ago
Mitchell Hashimoto 8c713e6104
connect/proxy: don't require proxy ID
7 years ago
Paul Banks e0e12e165b
TLS watching integrated into Service with some basic tests.
7 years ago
Paul Banks e8c510332c
Support legacy watch.HandlerFunc type for backward compat reduces impact of change
7 years ago
Paul Banks ab3df3d4a6
Working proxy config reload tests
7 years ago
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
7 years ago
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