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

Can we simulate consul Exec command using consul-client #155

Closed
inari6 opened this issue Aug 31, 2016 · 2 comments
Closed

Can we simulate consul Exec command using consul-client #155

inari6 opened this issue Aug 31, 2016 · 2 comments

Comments

@inari6
Copy link

inari6 commented Aug 31, 2016

I would like to simulate consul exec command using consul-client java library. Is there a simple way to do it ?

@rickfast
Copy link
Owner

rickfast commented Sep 8, 2016

Upon reading the documentation on exec, I don't see an easy way to do this using the HTTP API only. It seems that it is based on events, so if you can reverse engineer the event that they're using for exec, you could potentially simulate it. I'm going to say it's out of scope for this library though.

@inari6
Copy link
Author

inari6 commented Sep 8, 2016

Thanks for your reply @rickfast. I did reverse engineered their consul exec command in java and using it now.

@inari6 inari6 closed this as completed Sep 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants