Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Added etcd storage #306

Merged
merged 1 commit into from
Apr 21, 2021
Merged

Added etcd storage #306

merged 1 commit into from
Apr 21, 2021

Conversation

g4s8
Copy link
Member

@g4s8 g4s8 commented Apr 20, 2021

For #305 - introduced etcd storage, added integration test
using junit extension.

@g4s8 g4s8 requested a review from a team April 20, 2021 13:59
Copy link
Member

@olenagerasimova olenagerasimova left a 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
Copy link
Member

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())
Copy link
Member

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);
Copy link
Member

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

@g4s8 g4s8 enabled auto-merge (squash) April 21, 2021 07:51
For #305 - introduced etcd storage, added integration test
using junit extension.
Copy link
Member

@olenagerasimova olenagerasimova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@g4s8 thanks

@g4s8 g4s8 disabled auto-merge April 21, 2021 09:43
@g4s8 g4s8 merged commit fc2ec93 into master Apr 21, 2021
@g4s8 g4s8 deleted the 305-etcd branch April 21, 2021 09:44
@g4s8
Copy link
Member Author

g4s8 commented Apr 21, 2021

@olenagerasimova thanks

@0pdd
Copy link

0pdd commented Apr 21, 2021

@g4s8 2 puzzles #309, #310 are still not solved.

@0pdd
Copy link

0pdd commented Nov 29, 2021

@g4s8 2 puzzles #310, #384 are still not solved; solved: #309.

@0pdd
Copy link

0pdd commented Dec 7, 2021

@g4s8 the puzzle #384 is still not solved; solved: #309, #310.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants