James Nugent
d4e8c8a2c1
cli: Add KV `export` and `import`
...
This commit adds two new commands to the Consul KV CLI, which export and
import a JSON formatted representation of the Consul KV tree. It is
useful to migrate parts of the KV tree between unrelated Consul
clusters, and could also be used for initial data population of the KV
store.
2017-01-05 07:57:38 -06:00
James Nugent
0346e3e64f
Merge pull request #2632 from hashicorp/kv-put-base64
...
cli: Add -base64 option to `consul kv put`
2017-01-04 16:12:42 -06:00
James Nugent
2e8f440ac7
cli: Add -base64 option to `consul kv put`
...
This commit adds a -base64 option to the consul kv put command, which
base 64 decodeds the data prior to writing it. This can be used in
conjunction with `consul kv get -base64 key`.
2017-01-04 16:12:21 -06:00
James Nugent
5334649355
Merge pull request #2631 from hashicorp/kv-get-base64
...
cli: Add -base64 option to `consul kv get`
2017-01-04 16:00:27 -06:00
James Nugent
b79296ac70
cli: Add -base64 option to `consul kv get`
...
This commit adds a `-base64` option to the `consul kv get` command,
which base 64 encodes the output such that it can be processed by
terminal tools in the event that the data is binary. The flag defaults
to false.
2017-01-04 15:41:40 -06:00
James Phillips
dc2a54a77b
Updates downloads page link to 0.7.2.
2016-12-21 05:20:54 -08:00
James Phillips
3002723769
Merge pull request #2607 from bradleyfalzon/patch-2
...
Fix typo in command/kv/put doc
2016-12-20 21:37:27 -08:00
Bradley Falzon
5a0b824ae0
Fix typo in command/kv/put doc
2016-12-21 14:02:26 +10:30
James Phillips
c900966b8c
Puts the tree in 0.7.3 dev mode.
2016-12-19 11:45:15 -08:00
James Phillips
a9afa0c27f
Release v0.7.2
2016-12-19 11:15:39 -08:00
James Phillips
af28466cf0
Puts the tree into 0.7.2 release mode.
2016-12-19 10:06:40 -08:00
James Phillips
04f8e5adc0
Merge pull request #2599 from hashicorp/data-dir-handling
...
Don't error if data-dir doesn't exist
2016-12-15 09:58:40 -08:00
Kyle Havlovitz
8494b06ce0
Don't error if the given data-dir doesn't exist
2016-12-15 12:55:21 -05:00
James Phillips
346899594e
Release v0.7.2-rc1
2016-12-15 08:22:06 -08:00
James Phillips
1d5b15c74f
Puts tree in release mode for -rc1.
2016-12-15 08:21:39 -08:00
James Phillips
d6dc6a1fcc
Adds exception for data-dir check in -dev mode.
...
This was changed in #2529 .
2016-12-14 22:11:16 -08:00
James Phillips
4956a66638
Adds session policy example to ACL internals doc.
2016-12-14 21:31:59 -08:00
James Phillips
2f9c05a75b
Updates web assets to match latest.
2016-12-14 21:08:17 -08:00
James Phillips
e6b79b9a3b
Update CHANGELOG.md
2016-12-14 21:06:57 -08:00
James Phillips
03a4b09c1d
Fixes a typo in the agent options docs.
2016-12-14 21:03:16 -08:00
James Phillips
a67d308175
Merge pull request #2594 from hashicorp/acl-complete
...
Adds complete ACL support for /v1/agent endpoints.
2016-12-14 20:49:00 -08:00
James Phillips
3a44d46126
Adds some basic documentation about the new ACL changes.
2016-12-14 20:32:44 -08:00
James Phillips
ededf330ba
Adds complete ACL support for listing events.
2016-12-14 19:42:37 -08:00
James Phillips
babb0a1235
Adds remaining unit tests for agent ACL vet and filter functions.
2016-12-14 19:28:09 -08:00
James Phillips
171ec6e487
Fixes a race in the monitor endpoint test that would cause panics.
2016-12-14 18:13:30 -08:00
Kyle Havlovitz
d947ef4bfc
Update CHANGELOG.md
2016-12-14 20:22:57 -05:00
Kyle Havlovitz
cb96aa8eb3
Merge pull request #2529 from mckennajones/bug/1838
...
Give a better error message when data-dir is not a directory
2016-12-14 20:21:10 -05:00
Kyle Havlovitz
daa5ba87d4
Handle error from stat on data-dir and shorten error message
2016-12-14 20:06:00 -05:00
James Phillips
4ffd824547
Adds a leader wait when testing with ACLs.
2016-12-14 16:18:17 -08:00
James Phillips
03f40116f4
Adds complete ACL coverage for non-utility agent endpoints.
...
This is a checkpoint - we need to complete some unit tests for agent/acl.go.
2016-12-14 14:53:40 -08:00
Kyle Havlovitz
42113d07c1
Update CHANGELOG.md
2016-12-14 15:40:30 -05:00
Kyle Havlovitz
7fbac3ffad
Merge pull request #2553 from mckennajones/bug/ignoresigpipe
...
Ignore sigpipe signals
2016-12-14 15:36:26 -05:00
Kyle Havlovitz
3eeff546c1
Update CHANGELOG.md
2016-12-14 15:33:04 -05:00
Kyle Havlovitz
25625fbd45
Merge pull request #2597 from hashicorp/atlas-deprecation-notice
...
Add a notice about deprecation of atlas features
2016-12-14 15:30:03 -05:00
Kyle Havlovitz
7f5f1fed81
Add a notice about deprecation of atlas features
2016-12-14 15:13:51 -05:00
James Phillips
01b6766099
Adds complete ACL support for agent utility endpoints.
2016-12-14 11:12:55 -08:00
James Phillips
ca7a243b70
Adds ACL management support to the agent.
2016-12-14 07:07:41 -08:00
James Phillips
022baeea13
Adds support to the ACL package for agent policies.
2016-12-14 07:07:41 -08:00
James Phillips
34da7ccd64
Adds a unit test to make sure the status endpoint doesn't ever show anything
...
with "token" in the name.
2016-12-14 07:07:41 -08:00
James Phillips
d51303b998
Merge pull request #2595 from btfak/master
...
fix fmt.Errorf usage bug
2016-12-14 07:07:21 -08:00
nobody
5beda4d5bc
fix fmt.Errorf error
...
missing argument for Errorf("%q"): format reads arg 1, have only 0 args
2016-12-14 18:57:12 +08:00
Kyle Havlovitz
769a872b71
Update CHANGELOG.md
2016-12-13 19:23:48 -05:00
Kyle Havlovitz
82c5afa6e1
Merge pull request #2593 from hashicorp/f-vendor-memberlist
...
Update memberlist vendor deps
2016-12-13 19:10:17 -05:00
Kyle Havlovitz
42bc44634b
Update memberlist vendor deps
2016-12-13 18:53:40 -05:00
James Phillips
9853df3b8f
Merge pull request #2592 from hashicorp/acl-complete-node-session
...
Adds complete ACL coverage for nodes and sessions.
2016-12-13 13:55:07 -08:00
James Phillips
8b67991ef7
Adds complete ACL coverage for /v1/session endpoints.
2016-12-12 21:59:22 -08:00
James Phillips
60d4322c49
Adds support to ACL package for session policies.
2016-12-12 20:20:28 -08:00
James Phillips
99e810f9c7
Adds complete ACL coverage for /v1/internal/ui/node endpoints.
2016-12-12 18:22:10 -08:00
James Phillips
2404af6f94
Adds complete ACL support for /v1/query/<query id or name>/execute.
...
This was already supported by previous changes to the ACL filter, so
we just added a test to show it working.
2016-12-12 17:28:06 -08:00
James Phillips
9c785c7022
Fixes implementation of node ACLs for /v1/catalog/node/<node>.
...
This would return a "permission denied" error, but this changes it to
return the same response as a node that doesn't exist (as was originally
intended and written in the code comments).
2016-12-12 16:53:31 -08:00