-
Notifications
You must be signed in to change notification settings - Fork 2
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
Write up tickets #3
Comments
Issues with real files:
Many files default to the standard dictionary. Most files have errors. Many have thousands of errors. One had 205529 errors. Some of the files with errors were ISO-8859 encoded. I remember Jenn having all kinds of file encoding issues before. For Unicode errors, the API could report the line number of the offending character. The exception message reports the position in bytes, but line number would be more user friendly. |
Some files fail and don't get a full output e.g. We should find that text in the output and use it to create a better log file. |
Can we provide a Python / Requests code snippet in the README that shows how to upload and validate a file in a script? |
Bugs: When running against the internally deployed version:
|
Added requirement to limit the upload size to 50MB (would cover vast majority of use cases). This would be total size limit, so one 50 MB file or fifty 1MB files May need to set maximum number of files if performance is poor. Solutions |
I've moved the contributions to upstream project out to a separate ticket #24 |
I've moved the file size limit to version 2 (#30) |
All tasks done here and released as v1.1.0. |
Tasks
Tasks for V1.0 - Minimum viable product
Limit Total Upload Size - 50MBExtra tasks:
validate
endpoint to handle multiple filesconvert
endpoint to handle multiple filesAPI spec
/openapi.json
Parameters: None
Response: JSON specification
/docs
Parameters: None
Response: HTML Swagger page with basic interface
/api/v1/validate
POST: Binary upload of file
Response: File download of log
Errors: 400 - some problem with uploaded file
/api/v1/convert
POST: Binary upload of file
Response: File download of log
Errors: 400 - some problem with uploaded file
/api/v1/isvalid
POST: Binary upload of file
Response:
{"result": "true"}
Errors: 400 - some problem with uploaded file
/
returns HTML page with a formParameters: None
Response: HTML page with from
API questions
/convertmany
)?Backend functions
Notes:
The text was updated successfully, but these errors were encountered: