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

query CK crowdnode status from CK machine module #12

Open
gfursin opened this issue Oct 7, 2016 · 3 comments
Open

query CK crowdnode status from CK machine module #12

gfursin opened this issue Oct 7, 2016 · 3 comments

Comments

@gfursin
Copy link
Member

gfursin commented Oct 7, 2016

We should obtain various parameters automatically (including full path, etc) when registering CK crowdnode in the CK machine module (to be more user-friendly) using new status function. It is not critical though at this moment.

@DVEfremov
Copy link
Collaborator

I've already implemented status command at commit dd94fd4
you can try it with command:
ck status remote-ck-node:: --remote_server_url=http://localhost:3333 --secretkey=<secretkey>
and get result like this:
{"return":"0","path_to_files":"/home/daniil/ck-crowdnode-files"}
Is that you've expected ?

@gfursin
Copy link
Member Author

gfursin commented Oct 7, 2016

Yes - thanks! Is it just possible to add "cfg" key there, please, i.e.:
{"return":"0","cfg":{"path_to_files":"/home/daniil/ck-crowdnode-files"}}
Since we may add more keys or other information groups ...

This ticket is about adding some extra functionality in ''machine'' module to query CK crowdnode using ''status'' and then fill in required info. It shouldn't be very difficult to do and I may actually do it at some point - just have a few other urgent things to do right now ;) ...

@DVEfremov
Copy link
Collaborator

no prob

DVEfremov pushed a commit that referenced this issue Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants