Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etcd launcher (based on Testcontainers) #384

Closed
vorburger opened this issue Sep 6, 2018 · 4 comments
Closed

etcd launcher (based on Testcontainers) #384

vorburger opened this issue Sep 6, 2018 · 4 comments

Comments

@vorburger
Copy link
Member

[This is similar to #361, but based on jetcd code as-is with Testcontainers, instead of ch.vorburger.exec]

It can be useful for projects using this jetcd project to be able to start etcd server in their respective tests. And not just for tests, but possibly also to simplify at least development (but probably never production) set ups - think "embedded database" (à la Derby, h2, MariaDB4j & Co.).

The tests in this project use Testcontainers to achieve this, but this is currently tucked away and hidden in package io.etcd.jetcd.internal.infrastructure in src/test/java of jetcd-core, and therefore not available to anything else.

How about we offer a new published artifact, let me propose to name it jetcd-launcher, where we move io.etcd.jetcd.internal.infrastructure into, as a "supported" utility API? I would, at least eventually, probably even make it generic enough so that it could be implemented not just by Testcontainers, but, later, may be, also by simple local exec as in #361.

@lburgazzoli @fanminshi @hexfusion @gyuho @bsideup OK for you if I raise a PR proposing this?

@lburgazzoli
Copy link
Collaborator

lburgazzoli commented Sep 6, 2018 via email

@vorburger
Copy link
Member Author

Fine with me but I’d sai this low priority

but I need it to be able to contribute a non-regression test for #382, AND I'm wiling to actually do it... 😃

@fanminshi
Copy link
Member

it sounds like a good idea to me. free feel to work on it.

@vorburger
Copy link
Member Author

done! But let's keep this issue open, so that remember to add a blurb about it to the README ...

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

No branches or pull requests

3 participants