Description of problem: Creating a draft operation accepts wrong parameters (I've hitted this by mistake). Version-Release number of selected component (if applicable): RHQ 4.8-master How reproducible:always Steps to Reproduce: let's have OP_ID and RES_ID, where OP_ID is *NOT* an operation definition ID for particular resource (type) having RES_ID 1. do POST /operation/definition/<OP_ID>?resourceId=<RES_ID> Actual results: server returns successfull response with body {u'name': u'postStatus', u'links': [{u'edit': {u'href': u'http://localhost:7080/rest/operation/1365114332'}}], u'resourceId': 10006, u'definitionId': 10001, u'readyToSubmit': False, u'params': {u'message': u'TODO'}, u'id': 1365114332} Expected results: server must return error response, since it cannot schedule operation for this resource Additional info: