History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1917
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Blocker Blocker
Assignee: Robin Shen
Reporter: Maikel vd Hurk
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Add default limitation to RestAPI calls which can bring system to not responding

Created: 21/Jan/14 08:08 AM   Updated: 17/Jan/18 07:18 AM
Component/s: None
Affects Version/s: 5.1.7
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Add default limitation to RestAPI calls which can bring system to not responding. Currently calls like for example:
Search Builds (http://localhost:8810/rest/builds?&lt;search criteria1>=<value1>&<search criteria2>=<value2>&...)
Get child configurations of specified configuration (http://localhost:8810/rest/configurations?parent_id=&lt;parent configuration id>)
Get all descendent configurations of specified configuration (http://localhost:8810/rest/configurations?parent_id=&lt;parent configuration id>&recursive=true)
Get all configurations in the system (http://localhost:8810/rest/configurations?recursive=true)

This kind of RestAPI calls can bring the server in 'not responding' mode, ie UI not accessible at all anymore or heap space problems. It would be good to add some default limit on this calls so that system hang up can be avoided.

 All   Comments   Work Log   Change History      Sort Order:
No work has yet been logged on this issue.