Description of problem: Currently our REST API allows creating a resource, but there is no way to pass configuration for such resource. If I try to create such resource (i.e. Network Interface on AS7 Server) it get's created, but does not appear in Child History and it's kind of broken (configuration fails to be loaded, I am not able to delete such resource) Version-Release number of selected component (if applicable): RHQ 4.7-master How reproducible: always Steps to Reproduce: 1. have RHQ with imported AS7 Standalone server (ID 123456) 2. run curl -v --data "{\"resourceName\":\"testnetifaceX\",\"typeName\":\"Network Interface\",\"pluginName\":\"JBossAS7\",\"parentId\":123456}" -H "Content-Type: application/json" -H "Accept: application/json" --anyauth -u rhqadmin:rhqadmin http://127.0.0.1:7080/rest/resource Actual results: REST API returns new resource, resource is created in inventory. This creation does not appear to history. When I open Inventory tab of this new resource, UI reports The following connection settings have invalid values: [Path]. The values must be corrected before the settings can be saved. I am not able to delete such resource with error: java.lang.IllegalArgumentException: Delete for [null] failed: JBAS014739: No handler for remove at address [], rolled-back=true at org.rhq.modules.plugins.jbossas7.BaseComponent.deleteResource(BaseComponent.java:333) Expected results: Additional info:
*** Bug 1076052 has been marked as a duplicate of this bug. ***
Pull request #5 merged to master as 69439e8d5014983ed9ab439dad7d72295beda612 https://github.com/rhq-project/rhq/commit/69439e8d5014983ed9ab439dad7d72295beda612
Bulk closing of RHQ 4.11 issues, now that RHQ 4.12 is out. If you find an issue with those, please open a new BZ, linking to the old one.