-
Notifications
You must be signed in to change notification settings - Fork 109
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
Implement GET /processors #186
Comments
Should it return all the stored files in one response object or maybe it should be implemented as a scroll? |
hi @syncush |
Sound good to me! |
Sounds good but according to what api? |
As of now, I am working on the GET /processors, therefore, the API for this specific route is pretty straight forward, in addition, I am learning my way through Predator's backend because there are packages(like sequelize and express-ajv-swagger-validation) I have never used before.
maybe it was an overstatement, but my main goal right now is to be able to contribute to Predator's backend code, I'll edit my previous comment. |
hi @syncush |
Thank you 😊
I totally agree that an API should be defined first. |
To anyone who is not in slack here is the API proposal: |
* feat(api): add api spec for processors resource closes #185 fix #185 * feat(api): add api spec for processors resource (#200) * feat(api): add api spec for processors resource * fix(typo): typo date_time to date-time * fix(typo): typo date_time to date-time * chore(openapi3): code review comments addressed * docs(api): add download endpoint for processor files * chore(dependencies): update cassandra-driver to v4.1.0 (#210) * chore: fix rebase to master * WIP: feat(custom-js): implement POST /processors (#213) * docs(image): fix outdated image in docs (#214) * chore(ci/cd): remove circleci docker_layer_caching (#218) * feat(api): add api spec for processors resource (#200) * feat(api): add api spec for processors resource * feat(api): add api spec for processors resource closes #185 fix #185 * fix(typo): typo date_time to date-time * fix(typo): typo date_time to date-time * chore(openapi3): code review comments addressed * docs(api): add download endpoint for processor files * chore(dependencies): update cassandra-driver to v4.1.0 (#210) * chore: fix rebase to master * feat(custom-js): implement POST /processors * test(processors): add tests for POST /processors (#217) * test(processors): add tests for POST /processors * style(processors): fix processors cassandra connector name * feat(processors): add js validation on POST /processors * fix(processors): add updated_at/created_at to processors resource * test(processors): add validateJavascriptContent unit-tests * test(create-test): fix processor file download error message in test * feat(custom-js): implement GET /processors (#212) * chore(dependencies): update cassandra-driver to v4.1.0 (#210) * feat(custom-js): implement GET /processors (Sequelize only) * test(processors): add tests for GET /processors (#186) * feat(custom-js): implement GET /processors (cassandra) * test(processors): add unit-tests for insertProcessor * feat(custom-js): implement DELETE /processors/{processor_id} * feat(custom-js): implement DELETE /processors/{processor_id}
* feat(api): add api spec for processors resource closes #185 fix #185 * feat(api): add api spec for processors resource (#200) * feat(api): add api spec for processors resource * fix(typo): typo date_time to date-time * fix(typo): typo date_time to date-time * chore(openapi3): code review comments addressed * docs(api): add download endpoint for processor files * chore(dependencies): update cassandra-driver to v4.1.0 (#210) * chore: fix rebase to master * WIP: feat(custom-js): implement POST /processors (#213) * docs(image): fix outdated image in docs (#214) * chore(ci/cd): remove circleci docker_layer_caching (#218) * feat(api): add api spec for processors resource (#200) * feat(api): add api spec for processors resource * feat(api): add api spec for processors resource closes #185 fix #185 * fix(typo): typo date_time to date-time * fix(typo): typo date_time to date-time * chore(openapi3): code review comments addressed * docs(api): add download endpoint for processor files * chore(dependencies): update cassandra-driver to v4.1.0 (#210) * chore: fix rebase to master * feat(custom-js): implement POST /processors * test(processors): add tests for POST /processors (#217) * test(processors): add tests for POST /processors * style(processors): fix processors cassandra connector name * feat(processors): add js validation on POST /processors * fix(processors): add updated_at/created_at to processors resource * test(processors): add validateJavascriptContent unit-tests * test(create-test): fix processor file download error message in test * feat(custom-js): implement GET /processors (#212) * chore(dependencies): update cassandra-driver to v4.1.0 (#210) * feat(custom-js): implement GET /processors (Sequelize only) * test(processors): add tests for GET /processors (#186) * feat(custom-js): implement GET /processors (cassandra) * test(processors): add unit-tests for insertProcessor * feat(custom-js): implement DELETE /processors/{processor_id} * feat(custom-js): implement DELETE /processors/{processor_id}
No description provided.
The text was updated successfully, but these errors were encountered: