-
Notifications
You must be signed in to change notification settings - Fork 14
Added etcd storage #306
Added etcd storage #306
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@g4s8 thanks, please, check my comments
README.md
Outdated
- [X] S3 | ||
Dictionary used for ASTO: | ||
- `Storage` - key-value based storage | ||
- `Key` - storage keys, could be conferted to strings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@g4s8 seems like typo conferted
-> converted
return new Concatenation(content).single() | ||
.map(buf -> new Remaining(buf).bytes()) | ||
.map(bytes -> ByteSequence.from(bytes)) | ||
.to(SingleInterop.get()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@g4s8 you can simply use PublisherAs()
here to read all bytes from content
|
||
@Override | ||
public CompletableFuture<Void> delete(final Key key) { | ||
return this.client.getKVClient().delete(keyToSeq(key)).thenApply(ignore -> (Void) null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@g4s8 hm, will this method fail if key does not exist? It should according to Storage
contract
For #305 - introduced etcd storage, added integration test using junit extension.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@g4s8 thanks
@olenagerasimova thanks |
For #305 - introduced etcd storage, added integration test
using junit extension.