Commit Graph

315 Commits

Author SHA1 Message Date
Tao He 3305a19d15 Drop the Interceptor-based implementation to be compatible with ealier version of gRPC (pre-0.17.0).
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-10 20:17:32 +08:00
Tao He eb284103e0 Auto and watch functionalities on SyncClient.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-10 20:17:32 +08:00
Tao He 0fb4f2887d Implements etcd v3 authentication.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-10 20:17:32 +08:00
Tao He 65271bb92d Enhance tests and improve documents about about build & install.
Should fixes #2, #4.

Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-01 01:47:43 +08:00
Tao He e24f3c0de9 Fixes ccache.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 15:44:37 +08:00
Tao He 12f59ca48e Enable github CI.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 15:26:58 +08:00
Tao He 100eae97e9 Improve the etcd watcher to detect error when the connection lost.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He 611ab05de0 Move generated protobuf files to binary directory.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He 6eb725de0e Add "limit" support on "ls" command.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He 60ffe62b26 Update accumulated changes.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He bb33b76544 Optimize protobuf generation process in CMakeLists.txt.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He 72b215a513 Re-org v3 related files to make it a submodule. 2020-09-30 00:32:00 +08:00
Tao He 4e9d17c188 Update protobuf, implments lock, fixes watch and improves txn (#1) 2020-09-30 00:32:00 +08:00
Gergely Csatari ac9cce8815
Add license refrence to README.md (#15) 2020-09-30 00:31:17 +08:00
Arches be7b029bd2 Updated readme forat 2016-12-13 15:20:16 +01:00
Arches b081afa286 Updated formatting 2016-12-13 15:17:07 +01:00
Arches 1bf2caf5e3 Updated readme format 2016-12-13 15:10:21 +01:00
Arches f995eaa673 updated readme 2016-12-13 15:08:18 +01:00
Arches 0c52135bf8 Deleted junk files
Added #include <grpc/support/log.h> since this is where GPR_ASSERT is now defined.
2016-12-13 11:14:49 +01:00
Arches a5d2140793 Updated logic for stripping of endpoint 2016-09-26 11:56:04 +02:00
Arches e37cb46922 First commit 2016-08-29 16:14:57 +02:00
Arches 19061bd9e1 updated readme 2016-08-29 16:00:51 +02:00
arches 7758842ada updated readme 2016-08-29 09:51:46 -04:00
arches 70bef36f64 Updated waitResponse 2016-07-26 10:06:33 -04:00
arches 60383a502c Make mvccpb::KeyValue a member of etcdv3::keyValue instead of
inheriting from it.
2016-07-26 10:04:26 -04:00
arches 16936603b5 Fixed how leaseid can be fetched. 2016-07-13 08:30:34 -04:00
arches d9b18e6b7e Mentioned leasegrant() and Watcher()
Also updated rmdir().
2016-07-13 08:23:28 -04:00
arches 888946b589 Added new interface for leasegrant and leaseId in add, set, modify, modify_if 2016-07-13 07:56:43 -04:00
arches ac54e84f6d Use ttl 2016-07-13 07:20:15 -04:00
arches 93f8131e83 put deleted keys in values() when prefix = true. 2016-07-13 06:46:56 -04:00
arches 82034a87db Updated makefiles 2016-07-13 05:54:27 -04:00
arches 3c52636028 Implemented TTL and Lease 2016-07-13 05:09:42 -04:00
arches 658eaf7190 Remove extra ";" 2016-07-11 09:07:02 -04:00
arches dd798f5dfd Updated rmdir. withPrefix value should be based on the argument pass
by the client
2016-07-08 10:30:43 -04:00
arches 77109d06e4 Updated access of V3Response 2016-07-08 10:00:15 -04:00
arches 6dfbe791a0 Added DeleteRangeResponse.
Refactor how value/values are filled up by parseResponse
2016-07-08 08:48:39 -04:00
arches 6dad838545 Update Action class 2016-07-07 05:58:52 -04:00
arches c2af35f20b Updated test cases 2016-07-07 05:40:42 -04:00
arches 48d95e8569 Use prev_kv 2016-07-07 05:39:52 -04:00
arches 1e046d87a0 Use Actionv2::ActionParameters to pass arguments to AsyncActions. 2016-07-06 12:11:27 -04:00
arches 7d64447e76 Updates for Watcher 2016-07-05 05:22:11 -04:00
arches 174ea401b8 Added SyncClient class 2016-07-04 06:54:07 -04:00
arches 4fa21b4956 Set prefix before if(withPrefix) so it will always have a value. 2016-07-04 06:45:55 -04:00
arches f4e8406f7c Merge branch 'other_dev' of gitlabe1.ext.net.nokia.com:tas/etcd-cpp-apiv3 into other_dev
# Conflicts:
#	README.md
2016-07-04 05:43:36 -04:00
Arches fa1a396e8a Updated readme to indicate correct etcd version to use 2016-07-04 10:32:31 +02:00
Arches d016f2b5d5 Update readme. Add description on what compatible etcd version
to use with this cpp client.
2016-07-04 10:30:05 +02:00
arches 9538f63ab9 Mentioned compatible etcd version for this client. 2016-07-01 10:21:38 -04:00
arches 30ea761261 Merge branch 'other_dev' of gitlabe1.ext.net.nokia.com:tas/etcd-cpp-apiv3 into other_dev 2016-07-01 10:18:42 -04:00
arches dd1d01519c Fixed bug when only one key is returned during ls().
Instead of placing it in response::value it should be placed in
reponse::values
2016-07-01 10:17:41 -04:00
Arches 00565282ff Updated readme. Add compatible etcd version 2016-06-30 15:07:51 +02:00