Red Hat Bugzilla – Bug 963734
GET multiMetricData does not check for negative dataPoints value
Last modified: 2015-11-01 19:43:11 EST
Version-Release number of selected component (if applicable):
How reproducible: always
Steps to Reproduce:
1. have a shedule with some metric data
2. do GET /metric/data/?sid=<schedule id>&dataPoints=0
Actual results: you get a lot of dataPoints (default value)
Expected results: server should return 406 response code
Additional info: server returns 406 when you do GET /metric/data/<scheduleId>?dataPoints=0 so we should be consistent
Created attachment 754518 [details]
addressed in master f14fbc3a29e by removing that query parameter, as internally we can use 60 buckets only at the moment.
We now allow to supply variable number of data points with 60 being the default in various places. This above check has been implemented.
Bulk closing of old issues now that HRQ 4.9 is in front of the door.
If you think the issue has not been solved, then please open a new bug and mention this one in the description.