Anthony Romano
fe727f3106
auth: reject empty signing method for JWT token provider
2017-06-07 16:49:02 -07:00
Anthony Romano
a36d62a30c
Merge pull request #8049 from heyitsanthony/flock-base-test
...
fileutil: test some fallback functionality
2017-06-07 16:12:38 -07:00
Anthony Romano
29911195de
Merge pull request #8046 from heyitsanthony/fix-falloc-0
...
fileutil: return immediately if preallocating 0 bytes
2017-06-07 11:55:27 -07:00
Anthony Romano
c3fcf0f339
fileutil: test some fallback functionality
...
syscall.Flock fallback and preallocExtendTrunc
2017-06-07 11:22:40 -07:00
Anthony Romano
09abea5784
Merge pull request #8047 from heyitsanthony/extra-cov
...
mvcc, v3rpc: minor coverage improvements
2017-06-07 10:50:30 -07:00
Anthony Romano
87a3c87e45
fileutil: return immediately if preallocating 0 bytes
...
fallocate will return EINVAL, causing zeroing to the end of a
0 byte file to fail.
Fixes #8045
2017-06-07 09:57:14 -07:00
Anthony Romano
fb086ef13f
v3rpc: dedup resp.Header == nil checks
2017-06-07 09:25:42 -07:00
Anthony Romano
fd71da47d1
mvcc: remove unused store.Equals function
2017-06-07 09:25:42 -07:00
Anthony Romano
4c5f9e0910
Merge pull request #8043 from heyitsanthony/grpc-error
...
v3rpc: use map for translating errors to grpc errors
2017-06-07 09:13:17 -07:00
Anthony Romano
e12c7f6dd4
Merge pull request #8042 from heyitsanthony/auth-tests
...
e2e: add role get and role list e2e tests
2017-06-06 21:51:41 -07:00
Anthony Romano
8542f2e673
v3rpc: use map for translating errors to grpc errors
...
Switch statement had poor coverage, use a map instead
2017-06-06 16:55:44 -07:00
Anthony Romano
d83d7e8262
Merge pull request #8041 from heyitsanthony/fix-test-split
...
test: fix package splitting when appending REPO_PATH to tests
2017-06-06 16:39:41 -07:00
Anthony Romano
d8935903a2
e2e: add role get and role list e2e tests
...
Wasn't being covered
2017-06-06 16:21:00 -07:00
Anthony Romano
9a367a39d0
test: fix package splitting when appending REPO_PATH to tests
2017-06-06 15:20:39 -07:00
Anthony Romano
7350525937
Merge pull request #8039 from heyitsanthony/client-example-sort
...
client: sort nodes in example
2017-06-06 12:29:12 -07:00
Anthony Romano
0989780a77
Merge pull request #8038 from heyitsanthony/txn-alloc
...
mvcc: don't use pointer for storeTxnRead in storeTxnWrite
2017-06-06 11:31:42 -07:00
Anthony Romano
1711fdba32
client: sort nodes in example
2017-06-06 10:56:24 -07:00
Anthony Romano
f5a5abf8ad
Merge pull request #8029 from heyitsanthony/shellcheck
...
test: shellcheck
2017-06-06 10:35:19 -07:00
Anthony Romano
402fa8a827
Merge pull request #8034 from heyitsanthony/client-examples
...
client: add golang examples for KeysAPI
2017-06-06 10:06:40 -07:00
Anthony Romano
ef63abdf7f
mvcc: don't use pointer for storeTxnRead in storeTxnWrite
...
Saves an allocation when creating a storeTxnWrite.
2017-06-06 09:51:57 -07:00
Anthony Romano
85f433232a
*: clear rarer shellcheck errors on scripts
...
Clean up the tail of the warnings
2017-06-06 09:36:25 -07:00
Anthony Romano
17ad275124
travis: add shellcheck
2017-06-06 09:36:25 -07:00
Anthony Romano
42104fd44b
test: shellcheck
2017-06-06 09:36:25 -07:00
Gyu-Ho Lee
2332afe877
Merge pull request #8037 from kragniz/patch-2
...
doc: python-etcd3 is pretty stable now
2017-06-06 07:49:32 -07:00
Louis Taylor
e3ff4bf095
doc: python-etcd3 is pretty stable now
2017-06-06 15:45:38 +01:00
Anthony Romano
1561eb612c
client: add golang examples for KeysAPI
2017-06-05 23:05:17 -07:00
Anthony Romano
8fbf7ce744
Merge pull request #8035 from heyitsanthony/fix-e2e-cov-sig
...
test, osutil: disable setting SIG_DFL on linux if built with cov tag
2017-06-05 22:48:50 -07:00
Anthony Romano
88a3bb74b3
test, osutil: disable setting SIG_DFL on linux if built with cov tag
...
Was causing etcd to terminate before finishing writing its
coverage profile.
2017-06-05 21:09:35 -07:00
Gyu-Ho Lee
f5fc6649fe
Merge pull request #8033 from gyuho/grafana
...
Documentation/op-guide: fix typo in grafana.json
2017-06-05 16:47:59 -07:00
Gyu-Ho Lee
aefd3eb4cf
Documentation/op-guide: fix typo in grafana.json
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-05 15:56:16 -07:00
Gyu-Ho Lee
9c2bbc51ca
Merge pull request #8027 from connor4312/patch-1
...
doc: add mixer/etcd3 as a Node.js client integration
2017-06-05 05:35:23 -07:00
Hitoshi Mitake
3cbbb54927
Merge pull request #8026 from heyitsanthony/document-cn
...
op-guide: document CN certs in security.md
2017-06-04 18:31:09 -07:00
Anthony Romano
ace1760628
Merge pull request #8028 from heyitsanthony/govet-more
...
test: speedup and strengthen go vet checking
2017-06-03 22:29:49 -07:00
Anthony Romano
887db5a3db
*: fix go tool vet -all -shadow errors
2017-06-03 21:32:36 -07:00
Anthony Romano
9b33aa1967
test: speedup and strengthen go vet checking
...
Was iterating over every file, reloading everything. Instead,
analyze the package directories. On my machine, the time for
vet checking goes from 34s to 3s. Scans more code too.
2017-06-03 21:31:49 -07:00
Connor Peet
591443d838
doc: add mixer/etcd3 as a Node.js client integration
2017-06-03 09:54:03 -07:00
Anthony Romano
68e0e4abc1
op-guide: document CN certs in security.md
2017-06-02 11:32:12 -07:00
Anthony Romano
cdb722123a
Merge pull request #8024 from heyitsanthony/fix-swagger
...
scripts, Documentation: fix swagger generation
2017-06-02 11:04:23 -07:00
Anthony Romano
1be245269e
scripts, Documentation: fix swagger generation
...
Changes to the genproto to support splitting out the grpc-gateway broke
swagger generation.
2017-06-02 10:54:05 -07:00
Anthony Romano
97519cf79f
Merge pull request #8023 from heyitsanthony/protodoc-update
...
Documentation, scripts: update RPC API docs
2017-06-02 10:26:12 -07:00
Anthony Romano
156612bb25
Documentation, scripts: regen RPC docs
...
Was missing the new cancel_reason field. Also includes updated protodoc
sha to fix generating documentation for upcoming txn compare range patchset.
2017-06-02 10:15:12 -07:00
Vitaly Isaev
4301f49988
rafthttp: configurable stream reader retry timeout
...
rafthttp.Transport.DialRetryTimeout field alters the frequency of dial attempts
+ minor changes after code review
2017-06-02 08:53:17 -07:00
Anthony Romano
c578ac4a1a
Merge pull request #8017 from heyitsanthony/doc-gateway-flags
...
op-guide: document configuration flags for gateway
2017-06-01 15:50:46 -07:00
Anthony Romano
1cbc7cc274
op-guide: document configuration flags for gateway
2017-06-01 15:46:12 -07:00
Anthony Romano
f80be42a55
Merge pull request #8012 from heyitsanthony/cov-corruption
...
test: incrementally merge coverage files
2017-06-01 11:51:49 -07:00
Anthony Romano
82153e8840
Merge pull request #8015 from heyitsanthony/fix-ctlv2getrole
...
e2e: make CtlV2GetRoleUser non-quorum
2017-06-01 11:19:24 -07:00
Anthony Romano
e0653043ff
e2e: make CtlV2GetRoleUser non-quorum
...
GetUser doesn't go through quorum, so issuing a user get to any member
of a cluster may fetch stale data from a slow member. Instead, use a
single member cluster for the test.
Fixes #7993
2017-06-01 10:13:47 -07:00
Anthony Romano
0c923bdf11
Merge pull request #8010 from heyitsanthony/json-txn
...
e2e: test txn over grpc json
2017-06-01 10:01:41 -07:00
Anthony Romano
085bea5c5a
Merge pull request #8013 from heyitsanthony/fix-tls-dial
...
clientv3: use Endpoints[0] to initialize grpc creds
2017-06-01 09:45:44 -07:00
Anthony Romano
166ae10ca3
integration: use unixs:// if client port configured for tls
2017-05-31 15:51:48 -07:00