{"action":"opened","issue":{"url":"https://api.github.com/repos/IBM/osslm-ucd-adaptor/issues/5","repository_url":"https://api.github.com/repos/IBM/osslm-ucd-adaptor","labels_url":"https://api.github.com/repos/IBM/osslm-ucd-adaptor/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/IBM/osslm-ucd-adaptor/issues/5/comments","events_url":"https://api.github.com/repos/IBM/osslm-ucd-adaptor/issues/5/events","html_url":"https://github.com/IBM/osslm-ucd-adaptor/issues/5","id":267974944,"number":5,"title":"Unable to search for instances via UCD Driver","user":{"login":"paulnagleIBM","id":32933588,"avatar_url":"https://avatars2.githubusercontent.com/u/32933588?v=4","gravatar_id":"","url":"https://api.github.com/users/paulnagleIBM","html_url":"https://github.com/paulnagleIBM","followers_url":"https://api.github.com/users/paulnagleIBM/followers","following_url":"https://api.github.com/users/paulnagleIBM/following{/other_user}","gists_url":"https://api.github.com/users/paulnagleIBM/gists{/gist_id}","starred_url":"https://api.github.com/users/paulnagleIBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulnagleIBM/subscriptions","organizations_url":"https://api.github.com/users/paulnagleIBM/orgs","repos_url":"https://api.github.com/users/paulnagleIBM/repos","events_url":"https://api.github.com/users/paulnagleIBM/events{/privacy}","received_events_url":"https://api.github.com/users/paulnagleIBM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-24T10:15:47Z","updated_at":"2017-10-24T10:15:47Z","closed_at":null,"author_association":"NONE","body":"I created a few instances via the UCD driver, and subsequently tries to search for them via the RM API\r\n\r\nGET /api/resource-manager/topology/deployment-locations/Orca@HDC Hursley/instances?instanceType=resource::basic_test::1.0&amp;instanceName=paul1 HTTP/1.1\r\nHost: 9.20.64.109:8294\r\nAccept: */*\r\nContent-Type: application/json\r\nCache-Control: no-cache\r\nPostman-Token: 8f8733d2-ff72-cebe-6604-01c8baa27605\r\n\r\nI got a response with HTTP return code \"400 Bad Request\" and content of\r\n\r\n{\r\n\"timestamp\": \"2017-08-02T15:06:09.250+0000\",\r\n\"status\": 400,\r\n\"error\": \"Bad Request\",\r\n\"exception\": \"com.accantosystems.stratoss.driver.ucd.web.rest.UnsupportedResourceTypeException\",\r\n\"message\": \"Unable to search for instances of type [resource::basic_test::1.0]\",\r\n\"path\": \"/api/resource-manager/topology/deployment-locations/Orca@HDC%20Hursley/instances\"\r\n}\r\n\r\nThe only message in the UCD Driver log file was\r\n\r\n2017-08-02 15:06:09.249 DEBUG 8561 --- [nio-8294-exec-7] c.a.s.d.ucd.web.rest.TopologyController : Received request to search for instance [paul1] of type [resource::basic_test::1.0] in deployment location [Orca@HDC Hursley]\r\n\r\nThe resource type does exist. If I call..\r\n\r\nGET /api/resource-manager/types HTTP/1.1\r\nHost: 9.20.64.109:8294\r\nAccept: */*\r\nContent-Type: application/json\r\nCache-Control: no-cache\r\nPostman-Token: 0d275560-8693-5878-2dca-25f9de9d7cb3\r\n\r\n.. I get a response with HTTP Status \"200 OK\" of ...\r\n\r\n[\r\n{\r\n\"name\": \"resource::UCD-Network::1.0\",\r\n\"state\": \"PUBLISHED\"\r\n},\r\n{\r\n\"name\": \"resource::UCD-Image::1.0\",\r\n\"state\": \"PUBLISHED\"\r\n},\r\n{\r\n\"name\": \"resource::UCD-Flavor::1.0\",\r\n\"state\": \"PUBLISHED\"\r\n},\r\n{\r\n\"name\": \"resource::UCD-Keypair::1.0\",\r\n\"state\": \"PUBLISHED\"\r\n},\r\n{\r\n\"name\": \"resource::basic_test::1.0\",\r\n\"state\": \"PUBLISHED\"\r\n}\r\n]\r\n\r\nThe same request sent to the Test RM returns a HTTP status of \"200 OK\""}}
{"actor":{"display_login":"paulnagleIBM"}}