{"action":"created","issue":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/371","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/371/labels{/name}","comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/371/comments","events_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/371/events","html_url":"https://github.com/CloudSlang/cloud-slang-content/pull/371","id":109660754,"number":371,"title":"Google Container Engine (GKE)  & Nutanix contents [3]","user":{"login":"mbettan","id":14251830,"avatar_url":"https://avatars.githubusercontent.com/u/14251830?v=3","gravatar_id":"","url":"https://api.github.com/users/mbettan","html_url":"https://github.com/mbettan","followers_url":"https://api.github.com/users/mbettan/followers","following_url":"https://api.github.com/users/mbettan/following{/other_user}","gists_url":"https://api.github.com/users/mbettan/gists{/gist_id}","starred_url":"https://api.github.com/users/mbettan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbettan/subscriptions","organizations_url":"https://api.github.com/users/mbettan/orgs","repos_url":"https://api.github.com/users/mbettan/repos","events_url":"https://api.github.com/users/mbettan/events{/privacy}","received_events_url":"https://api.github.com/users/mbettan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/labels/Contributor","name":"Contributor","color":"fbca04"},{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/labels/in%20progress","name":"in progress","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"mihaitusa","id":10741864,"avatar_url":"https://avatars.githubusercontent.com/u/10741864?v=3","gravatar_id":"","url":"https://api.github.com/users/mihaitusa","html_url":"https://github.com/mihaitusa","followers_url":"https://api.github.com/users/mihaitusa/followers","following_url":"https://api.github.com/users/mihaitusa/following{/other_user}","gists_url":"https://api.github.com/users/mihaitusa/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaitusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaitusa/subscriptions","organizations_url":"https://api.github.com/users/mihaitusa/orgs","repos_url":"https://api.github.com/users/mihaitusa/repos","events_url":"https://api.github.com/users/mihaitusa/events{/privacy}","received_events_url":"https://api.github.com/users/mihaitusa/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones/16","html_url":"https://github.com/CloudSlang/cloud-slang-content/milestones/0.9%20-%20sprint%204","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones/16/labels","id":1340409,"number":16,"title":"0.9 - sprint 4","description":"","creator":{"login":"oritstone","id":7547370,"avatar_url":"https://avatars.githubusercontent.com/u/7547370?v=3","gravatar_id":"","url":"https://api.github.com/users/oritstone","html_url":"https://github.com/oritstone","followers_url":"https://api.github.com/users/oritstone/followers","following_url":"https://api.github.com/users/oritstone/following{/other_user}","gists_url":"https://api.github.com/users/oritstone/gists{/gist_id}","starred_url":"https://api.github.com/users/oritstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oritstone/subscriptions","organizations_url":"https://api.github.com/users/oritstone/orgs","repos_url":"https://api.github.com/users/oritstone/repos","events_url":"https://api.github.com/users/oritstone/events{/privacy}","received_events_url":"https://api.github.com/users/oritstone/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":5,"state":"open","created_at":"2015-10-06T14:29:00Z","updated_at":"2015-10-30T13:56:29Z","due_on":"2015-11-06T22:00:00Z","closed_at":null},"comments":14,"created_at":"2015-10-04T03:32:12Z","updated_at":"2015-11-01T13:31:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/371","html_url":"https://github.com/CloudSlang/cloud-slang-content/pull/371","diff_url":"https://github.com/CloudSlang/cloud-slang-content/pull/371.diff","patch_url":"https://github.com/CloudSlang/cloud-slang-content/pull/371.patch"},"body":"Hello,\r\n\r\n**Google Container Engine (GKE) content**\r\nI have added a number of operations and sample workflows for Google Container Engine (GKE), which are based on Docker and Kubernetes technologies. These actions have been tested using a free account on Google Container Engine.\r\n\r\nAdded actions are :\r\n- create_clusters\r\n- create_resource_cluster\r\n- delete_clusters\r\n- get_operations\r\n- get_Serverconfig\r\n- list_clusters\r\n- list_operations\r\n\r\nThose actions depends on Google Python Library so I have added this dependency on requirements.txt - Note that I had an issue with Jython and HTTP LIB 0.9.1, it has been completely solved with http lib 0.9.2 release, I have proposed a pull request, so it should solved in 0.9.3.\r\n\r\nHere the temporary fix to apply \r\n```from socket import socket``` instead of  ```import socket```  into python-lib\\httplib2\\socks.py\r\n\r\nAdded workflows in examples folder are \"examples\" in order to show how to use it with inputs.yaml.\r\n\r\nI have a random issue on my laptop when parsing json using Python through \"create_resource_cluster\" operation, here is the output error I have \r\n\r\n```\r\n- createCluster\r\n- return_result = <!DOCTYPE html>\r\n<html lang=en>\r\n  <met...\r\n- error_message = <!DOCTYPE html>\r\n<html lang=en>\r\n  <met...\r\n```\r\nIt would be great if someone can review my code for \"create_resource_cluster\"  and solve this random issue. Review can sign for a free 300$ 60 days account on Google Cloud Platform for testing and improving the content.\r\n\r\nMy next plan is to create content for Google Compute\r\n\r\n**Nutanix content**\r\nI have added a number of operations and sample workflows for Nutanix PRISM API. This content has not been tested through CloudSlang, but was done with HP OO in a customer environment.\r\n\r\nI have uploaded the Nutanix PRISM API guide here - ```http://we.tl/mdv2oxbLnN```\r\nThese websites would be useful as well - http://prismdevkit.com/ and http://prismdevkit.com/nutanix-rest-api-explorer/\r\n\r\nI was not able to find Nutanix API REST API test online somewhere, you will need to access to a Nutanix Prism servers online.\r\n\r\nAdded actions are :\r\n - Create VM - Creating a Virtual Machine\r\n - Clone VM - Cloning a Virtual Machine template\r\n - Delete VM - Delete a Virtual Machine\r\n - Task Poll - Retrieve VM Identifier after cloning it in order to be able to delete the VM\r\n - Power On VM - Powering On the virtual machine\r\n - Power Off VM - Powering Off the virtual machine\r\n\r\nAdding some tests cases in test folder.\r\n\r\nThanks for review."},"comment":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/comments/152825708","html_url":"https://github.com/CloudSlang/cloud-slang-content/pull/371#issuecomment-152825708","issue_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/371","id":152825708,"user":{"login":"oritstone","id":7547370,"avatar_url":"https://avatars.githubusercontent.com/u/7547370?v=3","gravatar_id":"","url":"https://api.github.com/users/oritstone","html_url":"https://github.com/oritstone","followers_url":"https://api.github.com/users/oritstone/followers","following_url":"https://api.github.com/users/oritstone/following{/other_user}","gists_url":"https://api.github.com/users/oritstone/gists{/gist_id}","starred_url":"https://api.github.com/users/oritstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oritstone/subscriptions","organizations_url":"https://api.github.com/users/oritstone/orgs","repos_url":"https://api.github.com/users/oritstone/repos","events_url":"https://api.github.com/users/oritstone/events{/privacy}","received_events_url":"https://api.github.com/users/oritstone/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T13:31:05Z","updated_at":"2015-11-01T13:31:05Z","body":"We made some changes to our DSL as well about a month ago. Including changes to how we write task arguments(https://github.com/CloudSlang/cloud-slang/pull/432)\r\nIf you are working with an older version of the CLI you might have issues because of mismatch between the old compiler version of the CLI and the new content...\r\nSo it is best to download the latest version of the CLI and the builder tool (0.8.5) and work with them"}}