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

Allow to send a directCommand to the Ocean Node, for testing purposes #75

Open
paulo-ocean opened this issue Nov 14, 2024 · 3 comments
Open
Assignees

Comments

@paulo-ocean
Copy link
Contributor

paulo-ocean commented Nov 14, 2024

We still don't have any support for sending a directCommand to the node. This could be very useful for testing many features.
The idea is to have a new command on the CLI (the directCommand), where we just specify the input from a JSON file
Some commands might require additional work, like for instance the ones needing a signature.. or the ones requiring a nonce (we need to get the correct one first)

@jamiehewitt15
Copy link
Member

This could be very useful for testing many features.

I'm curious about what features would use this? For testing the direct command, we can just use postman...

@paulo-ocean
Copy link
Contributor Author

paulo-ocean commented Nov 21, 2024

This could be very useful for testing many features.

I'm curious about what features would use this? For testing the direct command, we can just use postman...

Not sure what you mean by "features".. Its for testing purposes
I know we can use postman, for the direct commands, but we have to recreate/ copy paste the json all the time we want to test a specific command... If we had some command JSON samples on the cli (like we have for the DDOs on the metadata folder) we could simply run a specific command... and it would just pick the corresponding JSON payload (that we could fine tune if/when needed).
but If nobody else sees value on this, we can close it.. no worries

@jamiehewitt15
Copy link
Member

Not sure what you mean by "features".. It's for testing purposes

Fair enough, I miss read your comment, I thought you mean it would be used by features.

but If nobody else sees value on this, we can close it.. no worries

I'm fine with testing via postman but maybe others have a different opinion. We can discuss at the sprint planning.

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

2 participants