Commit Graph

189 Commits

Author SHA1 Message Date
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
Arches 79f28dce20 Merge branch 'refactor' of ssh://bud-git01.emea.nsn-net.net/etcd-cpp-apiv3 into refactor 2016-06-24 19:04:15 +02:00
arches a43de811f4 Refactor part1 2016-06-24 12:20:31 -04:00
Arches 0cb5bd762a Mentioned path for protofiles in etcd
Mentioned that etcdv3 cpp client does not make use
of etcdv3 indefinite watch functionality.
2016-06-24 10:41:05 +02:00
lampayan 7fec39739b updated README for watch 2016-06-24 10:23:22 +02:00
Arches 8a55c6e49a Update rmdir description. 2016-06-23 17:32:22 +02:00
Arches fb5222a7b5 Updated readme. Make section handling of directories more readeable. 2016-06-23 14:57:09 +02:00
Arches cbff4fe2c9 Updated readme rearding directory nodes. 2016-06-23 10:49:44 +02:00
arches 9d199a8579 Updated readme. mentioned protobuf and grpc 2016-06-22 05:17:12 -04:00
arches 926598143e Removed raft_internal.proto 2016-06-22 05:16:16 -04:00
arches 005be04b50 updated readme 2016-06-22 04:57:52 -04:00
arches 029f46df86 Removed mkdir 2016-06-22 04:34:26 -04:00
lampayan 366f10506c cleanup
removed unused old methods send_get_request and send_del_request
removed unnecessary comments
2016-06-22 09:51:46 +02:00
arches 8ae3a250dd Remove AsyncPutResponse, utils and grpcClient 2016-06-21 10:58:24 -04:00
arches a24750cc40 Merge branch 'other_dev' of ssh://bud-git01.emea.nsn-net.net/etcd-cpp-apiv3 into other_dev
updated watch to return previous values
2016-06-21 10:45:50 -04:00
arches bdfb481f69 Updated Watch so it can return previous values. 2016-06-21 10:45:43 -04:00
lampayan 618995c080 Merge remote-tracking branch 'origin/other_dev' into other_dev
# Conflicts:
#	etcd/Client.hpp
#	src/Client.cpp
2016-06-21 15:59:46 +02:00
lampayan b086ee9d72 Refactored transaction initialization.
cleaned up and added comments for methods in transaction class
2016-06-21 15:52:19 +02:00
arches 808ccd5e3b Updated test cases 2016-06-21 09:48:55 -04:00
arches 63661d3889 Merge branch 'other_dev' of ssh://bud-git01.emea.nsn-net.net/etcd-cpp-apiv3 into other_dev
# Conflicts:
#	src/CMakeLists.txt
2016-06-21 09:38:50 -04:00
arches c467a23958 Added Watch implementation 2016-06-21 09:36:31 -04:00
arches 40c552725b Merge branch 'other_dev' of ssh://bud-git01.emea.nsn-net.net/etcd-cpp-apiv3 into other_dev
# Conflicts:
#	src/CMakeLists.txt
#	src/Client.cpp
2016-06-21 09:34:22 -04:00
lampayan fe5396e437 Refactored Client class to remove boilerplate code.
Responsibility of boilerplate work is transfered to its own class 
(Transaction).
UT for watch are temporarily commented out as they are not supported yet
2016-06-21 15:33:11 +02:00
arches b9eb2633d1 Added watch functionality 2016-06-21 09:19:26 -04:00
lampayan 01bf49bf2d cleanup removing temporary classes AyncDelResponse AsyncModifyResponse
and V3BaseResponse
2016-06-21 10:54:13 +02:00
arches 87dc87abdb Removed createResponse 2016-06-20 06:24:09 -04:00
arches 1ff6d64d98 Updated handling of compareswap/delete. When error code is already set in get
do not overwrite it.
2016-06-20 05:33:13 -04:00