Commit Graph

1901 Commits (4f3d2d843e90250871a338117a136c79d9e6050f)

Author SHA1 Message Date
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Alvin Huang 31af6be26a add serf check to TestLockCommand
6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342)
6 years ago
R.B. Boyer adbe8ed370 correct some typos
6 years ago
R.B. Boyer de50bc3295
cli: fix typo in help text for 'consul acl role read' (#5311)
6 years ago
R.B. Boyer 5165874318
incorrect examples for 'consul acl policy' commands (#5303)
6 years ago
Matt Keeler 9715e1a08e
Basic TLS Command Tests (#5259)
6 years ago
Matt Keeler 1f2d1d4f75
Fix typo that prevented using the default ca domain for tls cert creation (#5258)
6 years ago
Hans Hasselberg 174099593a
agent: display messages from serf in cli (#5236)
6 years ago
Grégoire Seux 4f62a3b528 Implement /v1/agent/health/service/<service name> endpoint (#3551)
6 years ago
Boris Popovschi b4eca8fcd7 Fixed gziping function for debug archive (#5184)
6 years ago
Hans Hasselberg acc458d7a4
Builtin tls helper (#5078)
6 years ago
Jack Pearkes a90c29e60d Doc changes for 1.4 Final (#4870)
6 years ago
Paul Banks 37d88cad29
Allow ACL legacy migration via CLI (#4882)
6 years ago
R.B. Boyer 57dd160f40 command/debug: make better use of atomic operations to write out the debug snapshots to disk
6 years ago
R.B. Boyer 9211d2701d
fix comment typos (#4890)
6 years ago
Paul Banks 33ae0149ea
Doc and whitespace fixes for translate-rules command (#4877)
6 years ago
Martin Halder 988ceb697a website: fix minor typo in documentation (#4864)
6 years ago
Matt Keeler a02a6be6b9
Implement CLI token cloning & special ID handling (#4827)
6 years ago
Dhi Aurrahman 649082ab35 connect: Fix comment DYNAMIC_DNS to LOGICAL_DNS (#4799)
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Jack Pearkes 8c684db488 New command: consul debug (#4754)
6 years ago
Aestek 25f04fbd21 [Security] Add finer control over script checks (#4715)
6 years ago
Paul Banks c9217c958e merge feedback: fix typos; actually use deliverLatest added previously but not plumbed in
6 years ago
Paul Banks f9c0f00abb cli: envoy command default gRPC port (#4768)
6 years ago
R.B. Boyer c310451b2b cli: avoid passing envoy bootstrap configuration as arguments (#4747)
6 years ago
Paul Banks 161482d2cd Fix up tests broken by master merge; add proxy tests to services command (and fix it!); actually run the proxycfg.Manager
6 years ago
Paul Banks dca1303d05 Connect Envoy Command (#4735)
6 years ago
Paul Banks 8336b5e6b9 XDS Server Config (#4730)
6 years ago
Paul Banks e812f5516a Add -sidecar-for and new /agent/service/:service_id endpoint (#4691)
6 years ago
Paul Banks b83bbf248c Add Proxy Upstreams to Service Definition (#4639)
6 years ago
Paul Banks b06ddc9187 Rename proxy package (re-run of #4550) (#4638)
6 years ago
Mitchell Hashimoto 69cdab0d84
command/services: just add additional output feedback on success
6 years ago
Mitchell Hashimoto 657682def9
command/services: add test to ensure that dev mode introduces no
6 years ago
Mitchell Hashimoto e00c40b4f5
command: register new commands
6 years ago
Mitchell Hashimoto bf83309124
command/services/register: flag-based registration
6 years ago
Mitchell Hashimoto 939708138f
command/services/deregister: tests for flag validation
6 years ago
Mitchell Hashimoto 3425f123ef
command/services/deregister: -id flag for deletion
6 years ago
Mitchell Hashimoto 2f97a618dc
command/services/deregister: basics working from file
6 years ago
Mitchell Hashimoto 4b887d6dda
command/services: move the config helpers to parent package
6 years ago
Mitchell Hashimoto 1e7d038b37
command/services/register: registration from files work
6 years ago
Mitchell Hashimoto 0fbaa18ed3
command/services/register: config mapping tests
6 years ago
Mitchell Hashimoto b315e79cfe
command/services
6 years ago
Benjamin Sago 20645c8459 Exit with error code 1 when failing to list DCs (#4583)
6 years ago
Pierre Souchay 1a906ef34e Fix more unstable tests in agent and command
6 years ago
Pierre Souchay 22500f242e Fix unstable tests in agent, api, and command/watch
6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
6 years ago
Pierre Souchay 92acdaa94c Fixed flaky tests (#4626)
6 years ago
Siva Prasad ca35d04472
Adds a new command line flag -log-file for file based logging. (#4581)
6 years ago
Pierre Souchay 8e7b8bb524 Fixed unit test TestCatalogListServicesCommand (#4592)
6 years ago
Pierre Souchay af90c88f6a Fixed unstable test TestRTTCommand_LAN in command/rtt (#4585)
6 years ago
Pierre Souchay 3f9d1370b7 Fix unstable test TestRegisterMonitor_heartbeat (#4568)
6 years ago
Shubheksha fc3997f266 replace old fork of text package (#4501)
6 years ago
Freddy 6d43d24edb
Improve reliability of tests with TestAgent (#4525)
6 years ago
Freddy e305443db4
Address flakiness in command/exec tests (#4517)
6 years ago
Pierre Souchay cec5d72396 BUGFIX: Unit test relying on WaitForLeader() did not work due to wrong test (#4472)
6 years ago
Mitchell Hashimoto effb17098a
Merge pull request #4314 from hashicorp/b-ignore-check
6 years ago
Mitchell Hashimoto e39dfc919a
command/connect/proxy: ignore check doesn't exist on -register
7 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
Paul Banks ecfda7cda5 Fix unreachable code warning from go vet
7 years ago
Paul Banks d1c67d90bc Fixs a few issues that stopped this working in real life but not caught by tests:
7 years ago
Mitchell Hashimoto caae034f3b command/connect/proxy: can specify prepared query upstream types
7 years ago
Paul Banks cdc7cfaa36 Abandon daemonize for simpler solution (preserving history):
7 years ago
Paul Banks ba0fb58a72 Make daemoinze an option on test binary without hacks. Misc fixes for racey or broken tests. Still failing on several though.
7 years ago
Paul Banks 2b377dc624 Run daemon processes as a detached child.
7 years ago
Siva 319a0ae2bf Graceful exits added
7 years ago
Kyle Havlovitz 61d7e38148
Clarify CA commands' help text
7 years ago
Kyle Havlovitz 6ca7543ea6
Add CA CLI commands for getting/setting config
7 years ago
Mitchell Hashimoto 7d24ecd700
command/connect/proxy: register monitor tests
7 years ago
Mitchell Hashimoto eb2a6952ba
address comment feedback
7 years ago
Mitchell Hashimoto db10240bea
command/connect/proxy: register monitor and -register flag
7 years ago
Mitchell Hashimoto 1db42050bd
command/connect/proxy: output information when starting similar to agent
7 years ago
Mitchell Hashimoto 55c6d34ea0
command/connect/proxy: detailed help
7 years ago
Mitchell Hashimoto b1d709fc9f
command/connect/proxy: -service-addr required for -listen
7 years ago
Mitchell Hashimoto 83f2509c6f
command/connect/proxy: can set public listener from flags
7 years ago
Mitchell Hashimoto c93ba83310
command/connect/proxy: tests for configuration
7 years ago
Mitchell Hashimoto 42ee214c8a
command/connect/proxy: accept -service and -upstream
7 years ago
Mitchell Hashimoto 8c713e6104
connect/proxy: don't require proxy ID
7 years ago
Mitchell Hashimoto a69e3087b2
command/intention: address comment feedback
7 years ago
Mitchell Hashimoto be82b94f81
command/intention/create: -replace does an atomic change
7 years ago
Mitchell Hashimoto 6a82e78cb4
command/intention/match
7 years ago
Mitchell Hashimoto 8ffca97596
command/intention/delete: tests
7 years ago
Mitchell Hashimoto 88639b802c
command/intention/check: check tests
7 years ago
Mitchell Hashimoto 971b3c06a1
command/intention/get: tests
7 years ago
Mitchell Hashimoto 66deffafbb
command/intention/match
7 years ago
Mitchell Hashimoto a083870872
command/intentions/check
7 years ago
Mitchell Hashimoto dba937847f
command/intention/create: -replace flag, jank, we should change to PUT
7 years ago
Mitchell Hashimoto 888dc78180
command/intentions/delete
7 years ago
Mitchell Hashimoto 272211e171
command/intention/get: the get command without tests
7 years ago
Mitchell Hashimoto 988d7d984a
command/intention/finder: package for finding based on src/dst
7 years ago
Mitchell Hashimoto 961e9c1eaf
command/intention/create
7 years ago
Mitchell Hashimoto 5d969e3cbb
command/connect/proxy: set ACL token based on proxy token flag
7 years ago
Mitchell Hashimoto 867db89303
command/connect/proxy: set proxy ID from env var if set
7 years ago
Paul Banks 1b197d934a
Don't allow connect watches in agent/cli yet
7 years ago
Paul Banks e8c510332c
Support legacy watch.HandlerFunc type for backward compat reduces impact of change
7 years ago
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
7 years ago
Paul Banks 10db79c8ae
Rework connect/proxy and command/connect/proxy. End to end demo working again
7 years ago
Paul Banks 69d5efdbbd
Original proxy and connect.Client implementation. Working end to end.
7 years ago
Paul Banks 5f3d20c5cf
Merge pull request #4194 from hashicorp/fix-kv-del-validation
7 years ago
Matt Keeler 88a8c5e968
Merge pull request #4156 from hashicorp/enterprise-coexistence
7 years ago
Paul Banks 378c37fadd
Fix KV del command validation error
7 years ago
Kyle Havlovitz 03652a8519
command/agent: don't re-parse the flags on reload
7 years ago
Matt Keeler 2e7a37890c Move data source loading into a command helpers function
7 years ago
Paul Banks 4de68fcb4b
Merge pull request #4016 from pierresouchay/support_for_prometheus
7 years ago
Matt Keeler 63250c5d43
Merge pull request #4024 from jen20/signal-notify-once
7 years ago
Kyle Havlovitz af4be34a2a
Update make static-assets goal and run format
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
Matt Keeler 48bd84073a Address PR feedback
7 years ago
Matt Keeler 9f64d4856a Update unit-tests to use requirements instead of manual checks.
7 years ago
Matt Keeler 92ceaaad81 Update case of member in comment
7 years ago
Matt Keeler 4e6f0f9a79 Formatting update
7 years ago
Matt Keeler ada1252480 GH-3996: Add config-format flag to validate subcommand
7 years ago
Guido Iaquinti 8cd11d5888 Add package name to log output
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
Paul Banks de58eb1820
Fixes #3891: agent monitor no longer unresponsive before logs stream.
7 years ago
Kyle Havlovitz d16f103b48
Pull http config flag merge into public method
7 years ago
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
Chad Whitacre 9ff59df34b Fix typo
7 years ago
Kyle Havlovitz a86d11ec0a
Merge pull request #3737 from hashicorp/autopilot-refactor
7 years ago
James Phillips c676e6b8c8
Adds -base64 support to kv get command.
7 years ago
Kyle Havlovitz de28555671
Move autopilot to a standalone package
7 years ago
James Phillips 521e46ce91
Adds a registry mechanism for CLI commands.
7 years ago
Kyle Havlovitz 921d2e1469
Fix a panic in snapshot inspect command
7 years ago
Frank Schroeder 8f145559d8
Decouple the code that executes checks from the agent
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
James Phillips ecee15b466
Updates documentation for consul validate.
7 years ago
Frank Schroeder 9dec64dd17
commands: add shorter helper vars to keep fmt sane
7 years ago
Frank Schroeder 983e4aa0eb
commands: cleanup init
7 years ago
Frank Schroeder b3292d13fb commands: get HTTP API flags for usage automatically
7 years ago
Frank Schroeder 0cadee99ff commands: drop http server flags from reload command
7 years ago
Frank Schroeder cb96d1f126 commands: drop http server flags from leave command
7 years ago
Frank Schroeder cb95cf2a34 commands: drop http server flags from keyring command
7 years ago
Frank Schroeder 1715cbd5de commands: drop http server flags from force-leave command
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 e5d08cf47d commands: add missing noTabs test
7 years ago
Frank Schroeder 84a82cff3d commands: cleanup test names
7 years ago
Frank Schroeder 5979723446 commands: cleanup catalog list services tests
7 years ago
Frank Schroeder a03738c117 commands: cleanup catalog list nodes tests
7 years ago
Frank Schroeder 2530b9dd83 commands: simplify import names
7 years ago
Frank Schroeder 2bd8b070fb commands: move operator subcommands to subdirs
7 years ago