-
Notifications
You must be signed in to change notification settings - Fork 479
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
support-logging API do not check record limit #374
Comments
Cannot duplicate this issue outside of a test run. Populate the Mongo DB from the logEntryDb.Json file provided in the PR below and then call the endpoint by itself, not as part of a test, and it will work. |
updated the RAML URL: |
Recreate steps of this issue:
Actual Result: Expected Result: |
fixed by #617 |
Done via #617 |
closes: edgexfoundry#374 Signed-off-by: Valina Li <valina.li@intel.com>
closes: edgexfoundry#374 Signed-off-by: Valina Li <valina.li@intel.com>
closes: edgexfoundry#374 Signed-off-by: Valina Li <valina.li@intel.com>
closes: #374 Signed-off-by: Valina Li <valina.li@intel.com>
According to RAML https://github.com/edgexfoundry/edgex-go/blob/master/support/logging/raml/support-logging.raml#L71 , /api/v1/logs/{{limit}} should check record limit .
eg. the default limit is 100. When the {{limit}} path parameter is 101 and there are more than 101 records in db, the service should return http status 413
However, the current implementation returns 200 ok for this case
The text was updated successfully, but these errors were encountered: