Commit Graph

1409 Commits (d5c622246a614518d63d1f5cea4d7d69de9cda5d)

Author SHA1 Message Date
Hans Hasselberg 53b25fbe38
agent: check for gossip encrypt key (#6037)
5 years ago
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
5 years ago
Freddy c24c73bc59
Do not trigger update check when in dev mode
6 years ago
Jeff Mitchell 4243c3ae42
Move internal/ to sdk/ (#5568)
6 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517)
6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342)
6 years ago
Paul Banks dca1303d05 Connect Envoy Command (#4735)
6 years ago
Paul Banks 8336b5e6b9 XDS Server Config (#4730)
6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
6 years ago
Siva Prasad ca35d04472
Adds a new command line flag -log-file for file based logging. (#4581)
6 years ago
Siva 5e04d7f1f1 Merge branch 'master' of github.com:hashicorp/consul into WinService
7 years ago
Paul Banks c6ef6a61c9 Refactor to use embedded struct.
7 years ago
Paul Banks 32f362bad9 StartupTelemetry => InitTelemetry
7 years ago
Paul Banks a7038454fd WIP
7 years ago
Siva 319a0ae2bf Graceful exits added
7 years ago
Kyle Havlovitz 03652a8519
command/agent: don't re-parse the flags on reload
7 years ago
Paul Banks 4de68fcb4b
Merge pull request #4016 from pierresouchay/support_for_prometheus
7 years ago
James Nugent 96f871862e Only call signal.Notify once during agent startup
7 years ago
Pierre Souchay 93a01b0949 Now use prometheus_retention_time > 0 to enable prometheus support
7 years ago
Pierre Souchay fd98fb1449 Added support exposing metrics in Prometheus format
7 years ago
Guido Iaquinti 8cd11d5888 Add package name to log output
7 years ago
Frank Schroeder 9872475167
agent: fix TestRetryJoin
7 years ago
Frank Schroeder 7d3467176b
agent: fix TestRetryJoinFail
7 years ago
Frank Schroeder 96a584dee2
agent: fix TestRetryJoinWanFail
7 years ago
Frank Schroeder b97ab367f4
config: return error on extra command line arguments (#3397)
7 years ago
Frank Schroeder b3292d13fb commands: get HTTP API flags for usage automatically
7 years ago
Frank Schroeder 1b026de1db commands: run all tests in parallel (again)
7 years ago
Frank Schroeder 56b24d3d4f commands: cleanup help and synopsis.
7 years ago
Frank Schroeder d54a5ef8d8 commands: do not run cmd tests in parallel
7 years ago
Frank Schroeder 31d5fb7f47 commands: move agent command to separate pkg
7 years ago
Frank Schroeder 1c75cf1af5 pkg refactor
8 years ago
Frank Schroeder 9ceef2b32e test: move discover tests
8 years ago
Frank Schroeder 902f4caff2 agent: move watch plans into agent
8 years ago
preetapan 2de032125b Fixed regression with dns server start condition (#3137)
8 years ago
Seth Vargo 89f16984f9
Simplify
8 years ago
Seth Vargo ee1b5d5024
Update comment
8 years ago
Seth Vargo 532f8d1435
Parse values given to ?passing in the API
8 years ago
James Phillips 86713c1b8a
Opens up timing bound on flaky test.
8 years ago
James Phillips 66ec9c7a7d
Fixes HTTP header compare by including standard headers.
8 years ago
Frank Schroeder b5f8d6f9fd agent: fix time.Duration parsing
8 years ago
Frank Schroeder 39d33c2fdc
agent: log events and exit code to the log file
8 years ago
Frank Schroeder 4a223111d2
log: use prefix [ERR] instead of [ERROR]
8 years ago
James Phillips fa8a26ad54
Updates static assets to latest.
8 years ago
James Phillips a09eed585e Merge pull request #3121 from hashicorp/increase-graceful-timeout
8 years ago
Frank Schroeder fe69de3bba
agent: increase graceful shutdown timeout
8 years ago
Frank Schroeder 46c055d57b
agent: log differnt shutdown stages
8 years ago
Frank Schröder 825f72f5ef agent: support custom header and method for http checks (#3106)
8 years ago
Frank Schroeder 94b39557e8 test: refactor TestDecodeConfig test
8 years ago
Frank Schroeder 325f82972a test: Fix TestAgent_Reload
8 years ago
James Phillips 240413f5d6 Merge pull request #3105 from hashicorp/test-stability
8 years ago
Frank Schroeder 51e0e158f1 agent: fix graceful http server shutdown
8 years ago
Frank Schroeder ae711c3b04 agent: cleanup run method
8 years ago
Frank Schroeder b203ffab29 agent: move registerWatches out of the run method
8 years ago
Frank Schroeder 11245e53a7 agent: move telemetry out of the run method
8 years ago
Frank Schroeder 84f5e8c3ab agent: move update check out of the run method
8 years ago
Frank Schroeder 96d8035adc agent: simplify signal handling
8 years ago
Frank Schroeder 34fd31b7b1 agent: move config reloading into the agent
8 years ago
Frank Schroeder aa1519c9f7 agent: move parseMetaPair to config and export
8 years ago
Frank Schroeder cb98754cd6 agent: remove agent from command
8 years ago
Frank Schroeder d977aa1fe7 agent: move retry join into agent
8 years ago
Frank Schroeder 55a513da2e agent: add GossipEncrypted function
8 years ago
James Phillips b0b5df579f
Cleans up an unrelated vet error.
8 years ago
James Phillips b4b5036dfb
Adds back the port shuffle on agent start retries.
8 years ago
Frank Schroeder 375825f34c Do not recurse when the service address is a local cname
8 years ago
Frank Schroeder 9956bc9b47 agent: LastContact cannot be negative (#3067)
8 years ago
Frank Schroeder dcc68f0f85
test: we will not use dev mode for testing for now
8 years ago
Frank Schroeder f89ae9f7e7
test: stagger retry attempts of TestAgent.Start
8 years ago
Frank Schroeder bdfed817ee
test: make TestAgent setup reusable
8 years ago
Frank Schroeder 4034d0ac0b
agent: use agent logger for consul client and deps
8 years ago
Frank Schroeder c1e6a77c75
test: start secondary agents also via TestAgent
8 years ago
Frank Schroeder a9451d596f
agent: set tcpKeepAliveListener when there is no error
8 years ago
Frank Schroeder 345666bdb6
test: use test name as log prefix
8 years ago
Frank Schroeder d6c7404b34
agent: simplify shutdown timeout logging
8 years ago
Frank Schroeder 30ba712857
agent: set proto to http since we are logging it now
8 years ago
Frank Schroeder ceda18366f
test: Use Bool() instead of &BoolTrue/False since
8 years ago
Frank Schroeder ec729693d7
Address review comments
8 years ago
Frank Schroeder 26200929c1
agent: start HTTPS only if there is a cert and key
8 years ago
Frank Schroeder b6c69ebf5d
agent: refactor DNS and HTTP server
8 years ago
Frank Schroeder aa92adcdd5
test: increase sleep time for test
8 years ago
Frank Schroeder f498f24032
test: allow tests to control anti-entropy syncs
8 years ago
Frank Schroeder eea16e1640
test: run mock dns recursors on random ports
8 years ago
Frank Schroeder 6148910399
test: skip tests that use cmd.Run until signal handling is fixed
8 years ago
Frank Schroeder 56cf015117
test: add test for starting/stopping lots of agents
8 years ago
Frank Schroeder 7c5892a196
test: use UniqueID prefix for check tests to unify log output
8 years ago
Frank Schroeder 0a31094e06
test: improve TestAgent
8 years ago
Frank Schroeder 10540f8d5f
agent: fix logging
8 years ago
Frank Schroeder fe777852cd
test: call t.Fatal() from main go routine
8 years ago
Frank Schroeder 3e39f04527
dns: do not log socket close during shutdown
8 years ago
Frank Schroeder 1df74e36bd
agent: print more useful shutdown message
8 years ago
Frank Schroeder 2e14c09447
test: start sync after agent start
8 years ago
Frank Schroeder 5b5566d916
test: add test name to output
8 years ago
Frank Schroeder 28ed8f1847
test: perform blocking query on agent
8 years ago
Frank Schroeder ebc0c80f08
test: parallelize dns test
8 years ago
Frank Schroeder c5f565ee1a
test: remove output to stdout
8 years ago
Frank Schroeder 8f943542b0
test: use cli.NewMockUi instead of new(cli.MockUi)
8 years ago
Frank Schroeder 0325a42089
test: fix data race with endpoints
8 years ago
Frank Schroeder e16589c079
agent: shutdown delegate if created
8 years ago
Frank Schroeder 632f837c98
agent: shutdown dns servers on error
8 years ago
Frank Schroeder 8c1a668481
test: Shutdown half-started agent before retrying
8 years ago
Frank Schroeder 584693482d
test: fix data race in MockNotify
8 years ago