-
Notifications
You must be signed in to change notification settings - Fork 240
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
DH-4724/adding support for db level instructions #185
DH-4724/adding support for db level instructions #185
Conversation
@@ -19,6 +19,13 @@ def __init__(self, system: System): | |||
"ssh_settings": None, | |||
} | |||
] | |||
self.memory["instructions"] = [ | |||
{ | |||
"_id": "64dfa0e103f5134086f7090c", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see we are adding an instruction but are we testing the 4 new instruction endpoints?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aazo11 we basically don't test the instructions, all of the pytests that we have are only empty classes, almost for all of the classes
README.md
Outdated
|
||
``` | ||
curl -X 'GET' \ | ||
'<host>/api/v1/instructions?page=1&limit=10' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can set db_connection_id
here '/api/v1/instructions?page=1&limit=10&db_connection_id=12312312'
docs/api.list_instructions.rst
Outdated
.. code-block:: rst | ||
|
||
curl -X 'GET' \ | ||
'<host>/api/v1/instructions?page=1&limit=10' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set db_connection_id as query param
* DH-4724/adding support for db level instructions * DH-4724/chanign the database tests * DH-4724/changing the find_all() function * DH-4724/changing the tests * DH-4724/adding find_by method to instructionRepo * DH-4724/reformat * DH-4724/add paginating to the db * DH-4724/reformat with black * DH-4724/updating the endpoints to be RESTfull * DH-4724/reformat with black * DH-4724/changing the docs
No description provided.