{"action":"created","issue":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/276","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/276/comments","events_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/276/events","html_url":"https://github.com/CloudSlang/cloud-slang-content/issues/276","id":98716380,"number":276,"title":"new OpenStack content issue","user":{"login":"meirwah","id":6059211,"avatar_url":"https://avatars.githubusercontent.com/u/6059211?v=3","gravatar_id":"","url":"https://api.github.com/users/meirwah","html_url":"https://github.com/meirwah","followers_url":"https://api.github.com/users/meirwah/followers","following_url":"https://api.github.com/users/meirwah/following{/other_user}","gists_url":"https://api.github.com/users/meirwah/gists{/gist_id}","starred_url":"https://api.github.com/users/meirwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meirwah/subscriptions","organizations_url":"https://api.github.com/users/meirwah/orgs","repos_url":"https://api.github.com/users/meirwah/repos","events_url":"https://api.github.com/users/meirwah/events{/privacy}","received_events_url":"https://api.github.com/users/meirwah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T10:44:13Z","updated_at":"2015-08-03T10:44:46Z","closed_at":null,"body":"Uma from CSA team is trying to create a new content for OpenStack , an operation named : \r\n“Get Openstack containers” (uses swift)\r\nAnd she get's 500 error when using API from CloudSlang, issue might be that : \r\nContent-Type param is : text/plain\r\n\r\nbut it should be :\r\n\r\ntext/json\r\n\r\neven that she added an input param for that...\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/comments/127189791","html_url":"https://github.com/CloudSlang/cloud-slang-content/issues/276#issuecomment-127189791","issue_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/276","id":127189791,"user":{"login":"meirwah","id":6059211,"avatar_url":"https://avatars.githubusercontent.com/u/6059211?v=3","gravatar_id":"","url":"https://api.github.com/users/meirwah","html_url":"https://github.com/meirwah","followers_url":"https://api.github.com/users/meirwah/followers","following_url":"https://api.github.com/users/meirwah/following{/other_user}","gists_url":"https://api.github.com/users/meirwah/gists{/gist_id}","starred_url":"https://api.github.com/users/meirwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meirwah/subscriptions","organizations_url":"https://api.github.com/users/meirwah/orgs","repos_url":"https://api.github.com/users/meirwah/repos","events_url":"https://api.github.com/users/meirwah/events{/privacy}","received_events_url":"https://api.github.com/users/meirwah/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T10:44:46Z","updated_at":"2015-08-03T10:44:46Z","body":"op code:\r\n\r\nnamespace: io.cloudslang.openstack\r\n\r\noperation:\r\n  name: get_openstack_containers\r\n  inputs:\r\n    - host\r\n    - object_port:\r\n        default: \"'8080'\"\r\n    - token\r\n    - tenant\r\n    - proxy_host:\r\n        required: false\r\n    - proxy_port:\r\n        required: false\r\n    - proxyHost: \"proxy_host if proxy_host else ''\"\r\n    - proxyPort: \"proxy_port if proxy_port else ''\"\r\n    - headers:\r\n        default: \"'X-AUTH-TOKEN:' + token\"\r\n        overridable: false\r\n    - url:\r\n        default: \"'http://'+ host + ':' + object_port + '/v1/' + 'AUTH_' + tenant + '?format=json'\"\r\n        overridable: false\r\n    - method:\r\n        default: \"'get'\"\r\n        overridable: false\r\n  action:\r\n    java_action:\r\n      className: io.cloudslang.content.httpclient.HttpClientAction\r\n      methodName: execute\r\n  outputs:\r\n    - return_result: returnResult\r\n    - status_code: statusCode\r\n    - error_message: returnResult if statusCode != '202' else ''\r\n  results:\r\n    - SUCCESS : \"'statusCode' in locals() and statusCode == '200'\"\r\n    - FAILURE"}}