Description of problem: When I request resource in json format, resourceId is String, but it should be number Version-Release number of selected component (if applicable): RHQ 4.8-master How reproducible:always Steps to Reproduce: 1. GET /rest/resource/10014 Actual results: {"resourceName":"RHQ Agent","resourceId":"10014","typeName":"RHQ Agent","typeId":10155,"pluginName":"RHQAgent","parentId":10011,"status":"COMMITTED","links":[{"operationDefinitions":{"href":"http://10.16.23.104:7080/rest/operation/definitions?resourceId=10014"}},{"self":{"href":"http://10.16.23.104:7080/rest/resource/10014"}},{"schedules":{"href":"http://10.16.23.104:7080/rest/resource/10014/schedules"}},{"availability":{"href":"http://10.16.23.104:7080/rest/resource/10014/availability"}},{"alerts":{"href":"http://10.16.23.104:7080/rest/resource/10014/alerts"}},{"parent":{"href":"http://10.16.23.104:7080/rest/resource/10011/"}},{"coregui":{"href":"http://10.16.23.104:7080/coregui/#Resource/10014"}}],"ancestry":"10008_:_10011_:_lzoubek2.bc.jonqe.lab.eng.bos.redhat.com"} Expected results: "resourceId" is rendered as 10014 instead of "10014"
master e5d22cac1559f8f It was internally already an int, but as the very early version of the api returned a String I kept that around. Is changed now.
Bulk close of old bugs in VERIFIED state.