{"action":"created","comment":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/comments/41864567","id":41864567,"diff_hunk":"@@ -0,0 +1,20 @@\n+#   (c) Copyright 2014 Hewlett-Packard Development Company, L.P.\n+#   All rights reserved. This program and the accompanying materials\n+#   are made available under the terms of the Apache License v2.0 which accompany this distribution.\n+#\n+#   The Apache License is available at\n+#   http://www.apache.org/licenses/LICENSE-2.0\n+#\n+####################################################\n+projectId: \"cloudslang-1074\"\n+zone: \"us-central1-f\"\n+jSonGoogleAuthPath: \"C:\\\\Users\\\\bettanm\\\\Documents\\\\GitHub\\\\cloud-slang-content\\\\cloudslang-026ac0ebb6e0.json\"\n+name: \"mbettan\"\n+initialNodeCount: \"1\"\n+network: \"default\"\n+enableCloudLogging: \"true\"\n+enableCloudMonitoring: \"false\"\n+operationId: \"operation-1443134355472-11f26864\"\n+machineType: \"n1-standard-1\"\n+masterauthUsername: \"admin\"\n+masterauthPassword: \"RYHtTtxLmW4hsqJ6\"","path":"content/io/cloudslang/cloud_provider/google/gke/examples/inputs.yaml","position":20,"original_position":20,"commit_id":"f7142973576df0b6ef901cca0bfdd33cff05a7b5","original_commit_id":"f7142973576df0b6ef901cca0bfdd33cff05a7b5","user":{"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},"body":"Is not a good practice to commit actual working passwords. Google will say that the account is compromise and it will suspend it.","created_at":"2015-10-13T13:26:18Z","updated_at":"2015-10-13T13:26:18Z","html_url":"https://github.com/CloudSlang/cloud-slang-content/pull/371#discussion_r41864567","pull_request_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/371","_links":{"self":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/comments/41864567"},"html":{"href":"https://github.com/CloudSlang/cloud-slang-content/pull/371#discussion_r41864567"},"pull_request":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/371"}}},"pull_request":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/371","id":46718417,"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","issue_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/371","number":371,"state":"open","locked":false,"title":"Google Container Engine (GKE)  & Nutanix contents [5]","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},"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 - 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\nAdded workflows in examples folder are \"examples\" in order to show how to use it with inputs.yaml.\r\n\r\nThanks for review.","created_at":"2015-10-04T03:32:12Z","updated_at":"2015-10-13T13:26:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7993a50dd927e65b7063928ed7b2f065c22d046d","assignee":{"login":"gituser173","id":12094982,"avatar_url":"https://avatars.githubusercontent.com/u/12094982?v=3","gravatar_id":"","url":"https://api.github.com/users/gituser173","html_url":"https://github.com/gituser173","followers_url":"https://api.github.com/users/gituser173/followers","following_url":"https://api.github.com/users/gituser173/following{/other_user}","gists_url":"https://api.github.com/users/gituser173/gists{/gist_id}","starred_url":"https://api.github.com/users/gituser173/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gituser173/subscriptions","organizations_url":"https://api.github.com/users/gituser173/orgs","repos_url":"https://api.github.com/users/gituser173/repos","events_url":"https://api.github.com/users/gituser173/events{/privacy}","received_events_url":"https://api.github.com/users/gituser173/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones/15","html_url":"https://github.com/CloudSlang/cloud-slang-content/milestones/0.9%20-%20sprint%203","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones/15/labels","id":1340408,"number":15,"title":"0.9 - sprint 3","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":10,"closed_issues":0,"state":"open","created_at":"2015-10-06T14:28:52Z","updated_at":"2015-10-12T08:32:56Z","due_on":"2015-10-23T21:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/371/commits","review_comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/371/comments","review_comment_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/371/comments","statuses_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/statuses/f7142973576df0b6ef901cca0bfdd33cff05a7b5","head":{"label":"mbettan:master","ref":"master","sha":"f7142973576df0b6ef901cca0bfdd33cff05a7b5","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},"repo":{"id":42400502,"name":"cloud-slang-content","full_name":"mbettan/cloud-slang-content","owner":{"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},"private":false,"html_url":"https://github.com/mbettan/cloud-slang-content","description":"Ready-Made CloudSlang Flows and Operations","fork":true,"url":"https://api.github.com/repos/mbettan/cloud-slang-content","forks_url":"https://api.github.com/repos/mbettan/cloud-slang-content/forks","keys_url":"https://api.github.com/repos/mbettan/cloud-slang-content/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbettan/cloud-slang-content/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbettan/cloud-slang-content/teams","hooks_url":"https://api.github.com/repos/mbettan/cloud-slang-content/hooks","issue_events_url":"https://api.github.com/repos/mbettan/cloud-slang-content/issues/events{/number}","events_url":"https://api.github.com/repos/mbettan/cloud-slang-content/events","assignees_url":"https://api.github.com/repos/mbettan/cloud-slang-content/assignees{/user}","branches_url":"https://api.github.com/repos/mbettan/cloud-slang-content/branches{/branch}","tags_url":"https://api.github.com/repos/mbettan/cloud-slang-content/tags","blobs_url":"https://api.github.com/repos/mbettan/cloud-slang-content/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbettan/cloud-slang-content/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbettan/cloud-slang-content/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbettan/cloud-slang-content/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbettan/cloud-slang-content/statuses/{sha}","languages_url":"https://api.github.com/repos/mbettan/cloud-slang-content/languages","stargazers_url":"https://api.github.com/repos/mbettan/cloud-slang-content/stargazers","contributors_url":"https://api.github.com/repos/mbettan/cloud-slang-content/contributors","subscribers_url":"https://api.github.com/repos/mbettan/cloud-slang-content/subscribers","subscription_url":"https://api.github.com/repos/mbettan/cloud-slang-content/subscription","commits_url":"https://api.github.com/repos/mbettan/cloud-slang-content/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbettan/cloud-slang-content/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbettan/cloud-slang-content/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbettan/cloud-slang-content/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbettan/cloud-slang-content/contents/{+path}","compare_url":"https://api.github.com/repos/mbettan/cloud-slang-content/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbettan/cloud-slang-content/merges","archive_url":"https://api.github.com/repos/mbettan/cloud-slang-content/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbettan/cloud-slang-content/downloads","issues_url":"https://api.github.com/repos/mbettan/cloud-slang-content/issues{/number}","pulls_url":"https://api.github.com/repos/mbettan/cloud-slang-content/pulls{/number}","milestones_url":"https://api.github.com/repos/mbettan/cloud-slang-content/milestones{/number}","notifications_url":"https://api.github.com/repos/mbettan/cloud-slang-content/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbettan/cloud-slang-content/labels{/name}","releases_url":"https://api.github.com/repos/mbettan/cloud-slang-content/releases{/id}","created_at":"2015-09-13T15:11:06Z","updated_at":"2015-09-21T19:56:12Z","pushed_at":"2015-10-09T00:25:27Z","git_url":"git://github.com/mbettan/cloud-slang-content.git","ssh_url":"git@github.com:mbettan/cloud-slang-content.git","clone_url":"https://github.com/mbettan/cloud-slang-content.git","svn_url":"https://github.com/mbettan/cloud-slang-content","homepage":"http://www.cloudslang.io/","size":2063,"stargazers_count":1,"watchers_count":1,"language":"Slash","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"CloudSlang:master","ref":"master","sha":"e2f0c33963d9900cbc7b66e457d84298a4cdec08","user":{"login":"CloudSlang","id":10261505,"avatar_url":"https://avatars.githubusercontent.com/u/10261505?v=3","gravatar_id":"","url":"https://api.github.com/users/CloudSlang","html_url":"https://github.com/CloudSlang","followers_url":"https://api.github.com/users/CloudSlang/followers","following_url":"https://api.github.com/users/CloudSlang/following{/other_user}","gists_url":"https://api.github.com/users/CloudSlang/gists{/gist_id}","starred_url":"https://api.github.com/users/CloudSlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloudSlang/subscriptions","organizations_url":"https://api.github.com/users/CloudSlang/orgs","repos_url":"https://api.github.com/users/CloudSlang/repos","events_url":"https://api.github.com/users/CloudSlang/events{/privacy}","received_events_url":"https://api.github.com/users/CloudSlang/received_events","type":"Organization","site_admin":false},"repo":{"id":28634263,"name":"cloud-slang-content","full_name":"CloudSlang/cloud-slang-content","owner":{"login":"CloudSlang","id":10261505,"avatar_url":"https://avatars.githubusercontent.com/u/10261505?v=3","gravatar_id":"","url":"https://api.github.com/users/CloudSlang","html_url":"https://github.com/CloudSlang","followers_url":"https://api.github.com/users/CloudSlang/followers","following_url":"https://api.github.com/users/CloudSlang/following{/other_user}","gists_url":"https://api.github.com/users/CloudSlang/gists{/gist_id}","starred_url":"https://api.github.com/users/CloudSlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloudSlang/subscriptions","organizations_url":"https://api.github.com/users/CloudSlang/orgs","repos_url":"https://api.github.com/users/CloudSlang/repos","events_url":"https://api.github.com/users/CloudSlang/events{/privacy}","received_events_url":"https://api.github.com/users/CloudSlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CloudSlang/cloud-slang-content","description":"Ready-Made CloudSlang Flows and Operations","fork":false,"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content","forks_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/forks","keys_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/teams","hooks_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/hooks","issue_events_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/events{/number}","events_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/events","assignees_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/assignees{/user}","branches_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/branches{/branch}","tags_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/tags","blobs_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/refs{/sha}","trees_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/statuses/{sha}","languages_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/languages","stargazers_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/stargazers","contributors_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/contributors","subscribers_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/subscribers","subscription_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/subscription","commits_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/commits{/sha}","git_commits_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/commits{/sha}","comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/comments{/number}","issue_comment_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/comments{/number}","contents_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/contents/{+path}","compare_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/merges","archive_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/downloads","issues_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues{/number}","pulls_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls{/number}","milestones_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones{/number}","notifications_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/labels{/name}","releases_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/releases{/id}","created_at":"2014-12-30T14:47:38Z","updated_at":"2015-10-08T09:27:58Z","pushed_at":"2015-10-13T09:30:57Z","git_url":"git://github.com/CloudSlang/cloud-slang-content.git","ssh_url":"git@github.com:CloudSlang/cloud-slang-content.git","clone_url":"https://github.com/CloudSlang/cloud-slang-content.git","svn_url":"https://github.com/CloudSlang/cloud-slang-content","homepage":"http://www.cloudslang.io/","size":6453,"stargazers_count":22,"watchers_count":22,"language":"Slash","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":50,"forks":20,"open_issues":50,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/371"},"html":{"href":"https://github.com/CloudSlang/cloud-slang-content/pull/371"},"issue":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/371"},"comments":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/371/comments"},"review_comments":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/371/comments"},"review_comment":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/371/commits"},"statuses":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/statuses/f7142973576df0b6ef901cca0bfdd33cff05a7b5"}}}}