Commit Graph

1594 Commits (85bfd8f3397e662dea2c04ff14b47a8e38b63ea4)

Author SHA1 Message Date
Frank Schroeder 85bfd8f339 commands: move event command to separate pkg
7 years ago
Frank Schroeder d870c6289b commands: move join command to separate pkg
7 years ago
Frank Schroeder e0551b80a6 commands: move validate command to separate pkg
7 years ago
Frank Schroeder cef6a80ae6 commands: move flag handling into flags pkg
7 years ago
Frank Schroeder a49711b8bf config: refactor commands to print help for flags (#3536)
7 years ago
Ryan Slade 85e4aea9d1 Replace time.Now().Sub(x) with time.Since(x)
7 years ago
James Phillips 575d70aaa7
Cleans up some drift between the OSS and Enterprise trees.
7 years ago
Frank Schroeder 7bee8e644d
command: show full help text on usage
7 years ago
Frank Schroeder bb13277ca1 command: do not merge flags in-place
7 years ago
Frank Schroeder e769cd22f6 command: simplify duplicate code
7 years ago
Frank Schroeder a364555121 command: drop hidden flags from base command
7 years ago
Frank Schroeder bc78fa576a command: drop unused hidden flags for 'validate'
7 years ago
Frank Schroeder 497d2702bf
command: drop legacy 'operator raft' tests
7 years ago
Frank Schroeder 4d604c5138 command: simplify 'operator raft'
7 years ago
Frank Schroeder 3a7fb35fb0 command: don't show confusing error on usage output
7 years ago
Frank Schroeder ce0d03c46a command: drop deprecated 'configtest' command
7 years ago
Kyle Havlovitz adf29675f3 Merge pull request #3535 from hashicorp/metric-docs
7 years ago
Kyle Havlovitz 198ed6076d Clean up subprocess handling and make shell use optional (#3509)
7 years ago
Kyle Havlovitz c728564994
Update metric names and add a legacy config flag
7 years ago
Kyle Havlovitz 787787f904
Split BaseCommand http config into a separate function
7 years ago
Kyle Havlovitz 8b31eef467
Add base command option for hiding generated help for normal args
7 years ago
James Phillips be92c6862d
Returns errors properly from the consul operator raft list-peers command.
7 years ago
Frank Schröder e84c2b2edd Metrics service prefix (#3498)
7 years ago
Preetha Appan 3c4a108769 Move Raft protocol version for list peers end point to server side, fix unit tests. This fixes #3449
7 years ago
preetapan 73951d8319 Merge pull request #3494 from hashicorp/enforce_json_extension
7 years ago
James Phillips 45646ac3f4 Bumps default Raft protocol to version 3. (#3477)
7 years ago
Preetha Appan a286ad7533 Enforce json or hcl extension to Consul config files, updated unit tests
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
James Phillips 00605c0214
Shows the segment name in the keyring API and command output.
7 years ago
James Phillips d12b172a5d
Remaps servers to "<all>" only when listing multiple segments.
7 years ago
James Phillips 1a117ba0a8
Makes the all segments query explict, and the default for `consul members`.
7 years ago
James Phillips 74d635e9c6
Simplifies members command to not fetch segments.
7 years ago
Kyle Havlovitz f8261330f0
Remove duplicate error message
7 years ago
Kyle Havlovitz 62102a537e
Organize segments for a cleaner split between enterprise and OSS
7 years ago
Kyle Havlovitz 7e565d7338
Fix some inconsistencies with segment logic and comments
7 years ago
Kyle Havlovitz 21513b0393
Update coord display in ui to account for segments
7 years ago
Kyle Havlovitz d129767657
Add agent.segment interpolation to prepared queries
7 years ago
Kyle Havlovitz 2ada0439d4
Add rpc_listener option to segment config
7 years ago
James Phillips b1a15e0c3d
Adds open source side of network segments (feature is Enterprise-only).
7 years ago
Frank Schroeder 831d84c940 build: make tests independent of build tags
7 years ago
wuxin d6729243eb fix command/kv_import.go help text (#3387)
7 years ago
Frank Schröder 4b642fed2f agent: honor deprecated flags for retry-join-{ec2,azure,gce} (#3384)
7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs
7 years ago
Kyle Havlovitz d5634fe2a8
Add support for labels/filters from go-metrics
7 years ago
Frank Schroeder 2fac427cd4 agent: use github.com/hashicorp/go-discover
7 years ago
Preetha Appan 840749db7e Fix comments, and remove redundant TestConfig init from a couple of unit tests
7 years ago
Preetha Appan aa98aeb4b1 Moved handling advertise address to readConfig and out of the agent's constructor, plus unit test fixes
7 years ago
Preetha Appan 25acd1534a Move go-socketaddr template parsing into config package to make it happen before creating a new agent. Also removed redundant parsetemplate calls from agent.go.
7 years ago
James Phillips 08a8d9f2a7 command/lock: Add -child-exitcode, return 2 on child error (#3329)
7 years ago
Kyle Havlovitz 9268849d11
Add UpgradeVersionTag to autopilot get/set commands
7 years ago