Fedora Account System
Red Hat Associate
Red Hat Customer
The rest api already allows to find resources in inventory queue (see below) It should be possible to take them into inventory via PUT call on their URI with a status changed to COMMITTED $ curl -i -u rhqadmin:rhqadmin http://localhost:7080/rest/resource.json\?category=server\&status=new HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 01:00:00 CET Link: http://localhost:7080/rest/resource.json?category=server&status=new&page=0; rel='last' Link: http://localhost:7080/rest/resource.json?category=server&status=new; rel='current' X-collection-size: 2 Content-Type: application/json Transfer-Encoding: chunked Date: Thu, 23 May 2013 08:19:17 GMT [{"resourceName":"snert","resourceId":10033,"typeName":"Samba Server","typeId":10630,"pluginName":"Samba","parentId":10031,"status":"NEW","links":[{"operationDefinitions":{"href":"http://localhost:7080/rest/
master 581a5b0
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.