{"action":"created","comment":{"url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/comments/185477755","pull_request_review_id":116872089,"id":185477755,"diff_hunk":"@@ -57,69 +117,126 @@ func (clsp *CloudifyScaleProvider) Refresh() error {\n \n // NodeGroups returns all node groups configured for this cloud provider.\n func (clsp *CloudifyScaleProvider) NodeGroups() []cloudprovider.NodeGroup {\n-\tglog.V(4).Infof(\"NodeGroups, Deployment: %+v\", clsp.deploymentID)\n \tnodes := []cloudprovider.NodeGroup{}\n-\n-\tdeployment, err := clsp.client.GetDeployment(clsp.deploymentID)\n+\titems, err := clsp.GetDeploymentNodeInfo()\n \tif err != nil {\n \t\tglog.Errorf(\"Cloudify error: %s\\n\", err.Error())\n-\t\treturn nodes\n \t}\n \n-\tif deployment.ScalingGroups != nil {\n-\t\tfor groupName := range deployment.ScalingGroups {\n-\t\t\tnodes = append(nodes, NodeToNodeGroup(clsp.client, clsp.deploymentID, groupName))\n-\t\t}\n+\tif items == nil {\n+\t\tglog.Errorf(\"no deployments found !!!\")\n \t}\n \n+\tfor _, dep := range items {\n+\t\tglog.V(4).Infof(\"NodeGroups, Deployment: %+v\", dep[\"id\"])\n+\t\tdeployment, err := clsp.client.GetDeployment(dep[\"id\"])\n+\t\tif err != nil {\n+\t\t\tglog.Errorf(\"Cloudify error: %s\\n\", err.Error())\n+\t\t\treturn nodes\n+\t\t}\n+\n+\t\tif deployment.ScalingGroups != nil {\n+\t\t\tfor groupName := range deployment.ScalingGroups {\n+\t\t\t\tnodes = append(nodes, NodeToNodeGroup(clsp.client, dep[\"id\"], groupName, dep[\"node_data_type\"]))\n+\t\t\t}\n+\t\t}\n+\t}\n \tglog.Warningf(\"NodeGroups: %+v\", nodes)\n \treturn nodes\n }\n \n // NodeGroupForNode returns the node group for the given node.\n func (clsp *CloudifyScaleProvider) NodeGroupForNode(kubeNode *apiv1.Node) (cloudprovider.NodeGroup, error) {\n-\tglog.V(4).Infof(\"NodeGroupForNode(%v.%v)\", clsp.deploymentID, kubeNode.Name)\n-\n-\tgroupedInstances, err := clsp.client.GetDeploymentInstancesScaleGrouped(\n-\t\tclsp.deploymentID, cloudify.KubernetesNode)\n-\n+\titems, err := clsp.GetDeploymentNodeInfo()\n \tif err != nil {\n \t\tglog.Errorf(\"Cloudify error: %s\\n\", err.Error())\n-\t\treturn nil, err\n \t}\n \n-\tfor groupName, cloudInstances := range groupedInstances {\n-\t\t// search instance\n-\t\tfor _, cloudInstance := range cloudInstances.Items {\n-\t\t\t// check runtime properties\n-\t\t\tif cloudInstance.GetStringProperty(\"hostname\") != kubeNode.Name {\n-\t\t\t\tcontinue\n+\tif items == nil {\n+\t\tglog.Errorf(\"no deployments found !!!\")\n+\t}\n+\tfor _, dep := range items {\n+\t\tif dep[\"deployment_type\"] == \"node\" {\n+\t\t\tglog.V(4).Infof(\"NodeGroupForNode(%v.%v)\", dep[\"id\"], kubeNode.Name)\n+\t\t\tgroupedInstances, err := clsp.client.GetDeploymentInstancesScaleGrouped(\n+\t\t\t\tdep[\"id\"], dep[\"node_data_type\"])\n+\n+\t\t\tif err != nil {\n+\t\t\t\tglog.Errorf(\"Cloudify error: %s\\n\", err.Error())\n+\t\t\t\treturn nil, err\n \t\t\t}\n \n-\t\t\treturn NodeToNodeGroup(clsp.client, clsp.deploymentID, groupName), nil\n+\t\t\tfor groupName, cloudInstances := range groupedInstances {\n+\t\t\t\t// search instance\n+\t\t\t\tfor _, cloudInstance := range cloudInstances.Items {\n+\t\t\t\t\t// check runtime properties\n+\t\t\t\t\tif cloudInstance.GetStringProperty(\"hostname\") != kubeNode.Name {\n+\t\t\t\t\t\tcontinue\n+\t\t\t\t\t}\n+\n+\t\t\t\t\treturn NodeToNodeGroup(clsp.client, dep[\"id\"], groupName, dep[\"node_data_type\"]), nil\n+\t\t\t\t}\n+\t\t\t}\n+\t\t\tglog.Warningf(\"NodeGroupForNode(%v.%v): Skiped, check list of members in scale group\", dep[\"id\"], kubeNode.Name)\n \t\t}\n \t}\n-\tglog.Warningf(\"NodeGroupForNode(%v.%v): Skiped, check list of members in scale group\", clsp.deploymentID, kubeNode.Name)\n+\n \treturn nil, nil\n }\n \n // Pricing returns pricing model for this cloud provider or error if not available.\n func (clsp *CloudifyScaleProvider) Pricing() (cloudprovider.PricingModel, errors.AutoscalerError) {\n-\tglog.Errorf(\"?Pricing: %v\", clsp.deploymentID)\n+\titems, err := clsp.GetDeploymentNodeInfo()\n+\tif err != nil {\n+\t\tglog.Errorf(\"Cloudify error: %s\\n\", err.Error())\n+\t}\n+\n+\tif items == nil {\n+\t\tglog.Errorf(\"no deployments found !!!\")\n+\t}\n+\n+\tfor _, dep := range items {\n+\t\tglog.Errorf(\"?Pricing: %v\", dep[\"id\"])\n+\n+\t}\n \treturn nil, cloudprovider.ErrNotImplemented\n }\n \n // GetAvailableMachineTypes get all machine types that can be requested from the cloud provider.\n // Implementation optional.\n func (clsp *CloudifyScaleProvider) GetAvailableMachineTypes() ([]string, error) {\n-\tglog.Errorf(\"?GetAvailableMachineTypes: %v\", clsp.deploymentID)\n+\titems, err := clsp.GetDeploymentNodeInfo()\n+\tif err != nil {\n+\t\tglog.Errorf(\"Cloudify error: %s\\n\", err.Error())\n+\t}\n+\n+\tif items == nil {\n+\t\tglog.Errorf(\"no deployments found !!!\")\n+\t}\n+\n+\tfor _, dep := range items {\n+\t\tglog.Errorf(\"?GetAvailableMachineTypes: %v\", dep[\"id\"])\n+\n+\t}\n \treturn []string{}, cloudprovider.ErrNotImplemented\n }\n \n // NewNodeGroup builds a theoretical node group based on the node definition provided. The node group is not automatically\n // created on the cloud provider side. The node group is not returned by NodeGroups() until it is created.\n func (clsp *CloudifyScaleProvider) NewNodeGroup(machineType string, labels map[string]string, extraResources map[string]resource.Quantity) (cloudprovider.NodeGroup, error) {\n-\tglog.Errorf(\"?NewNodeGroup(%v): %+v %+v %+v\", clsp.deploymentID, machineType, labels, extraResources)","path":"cluster-autoscaler/cloudprovider/cloudifyprovider/scale_provider.go","position":238,"original_position":238,"commit_id":"5da72f970e3c774523655d087c09d7bde772e3fd","original_commit_id":"5da72f970e3c774523655d087c09d7bde772e3fd","user":{"login":"0lvin","id":73573,"avatar_url":"https://avatars3.githubusercontent.com/u/73573?v=4","gravatar_id":"","url":"https://api.github.com/users/0lvin","html_url":"https://github.com/0lvin","followers_url":"https://api.github.com/users/0lvin/followers","following_url":"https://api.github.com/users/0lvin/following{/other_user}","gists_url":"https://api.github.com/users/0lvin/gists{/gist_id}","starred_url":"https://api.github.com/users/0lvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0lvin/subscriptions","organizations_url":"https://api.github.com/users/0lvin/orgs","repos_url":"https://api.github.com/users/0lvin/repos","events_url":"https://api.github.com/users/0lvin/events{/privacy}","received_events_url":"https://api.github.com/users/0lvin/received_events","type":"User","site_admin":false},"body":"Looks as debug code, could we drop it?","created_at":"2018-05-02T12:25:37Z","updated_at":"2018-05-02T12:25:45Z","html_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler/pull/1#discussion_r185477755","pull_request_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/comments/185477755"},"html":{"href":"https://github.com/cloudify-incubator/kubernetes-autoscaler/pull/1#discussion_r185477755"},"pull_request":{"href":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/1","id":185377948,"html_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler/pull/1","diff_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler/pull/1.diff","patch_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler/pull/1.patch","issue_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues/1","number":1,"state":"open","locked":false,"title":"Update autoscaler to use multiple deployments","user":{"login":"mabuaisha","id":8628200,"avatar_url":"https://avatars3.githubusercontent.com/u/8628200?v=4","gravatar_id":"","url":"https://api.github.com/users/mabuaisha","html_url":"https://github.com/mabuaisha","followers_url":"https://api.github.com/users/mabuaisha/followers","following_url":"https://api.github.com/users/mabuaisha/following{/other_user}","gists_url":"https://api.github.com/users/mabuaisha/gists{/gist_id}","starred_url":"https://api.github.com/users/mabuaisha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mabuaisha/subscriptions","organizations_url":"https://api.github.com/users/mabuaisha/orgs","repos_url":"https://api.github.com/users/mabuaisha/repos","events_url":"https://api.github.com/users/mabuaisha/events{/privacy}","received_events_url":"https://api.github.com/users/mabuaisha/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-02T09:12:07Z","updated_at":"2018-05-02T12:25:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"578a27239dba33210a41e204b23f07ce896e3b5d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/1/commits","review_comments_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/1/comments","review_comment_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues/1/comments","statuses_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/statuses/5da72f970e3c774523655d087c09d7bde772e3fd","head":{"label":"cloudify-incubator:stable-1.1.3","ref":"stable-1.1.3","sha":"5da72f970e3c774523655d087c09d7bde772e3fd","user":{"login":"cloudify-incubator","id":26762417,"avatar_url":"https://avatars0.githubusercontent.com/u/26762417?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify-incubator","html_url":"https://github.com/cloudify-incubator","followers_url":"https://api.github.com/users/cloudify-incubator/followers","following_url":"https://api.github.com/users/cloudify-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudify-incubator/orgs","repos_url":"https://api.github.com/users/cloudify-incubator/repos","events_url":"https://api.github.com/users/cloudify-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":106709914,"name":"kubernetes-autoscaler","full_name":"cloudify-incubator/kubernetes-autoscaler","owner":{"login":"cloudify-incubator","id":26762417,"avatar_url":"https://avatars0.githubusercontent.com/u/26762417?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify-incubator","html_url":"https://github.com/cloudify-incubator","followers_url":"https://api.github.com/users/cloudify-incubator/followers","following_url":"https://api.github.com/users/cloudify-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudify-incubator/orgs","repos_url":"https://api.github.com/users/cloudify-incubator/repos","events_url":"https://api.github.com/users/cloudify-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler","description":"Autoscaling components for Kubernetes","fork":true,"url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler","forks_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/forks","keys_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/teams","hooks_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/hooks","issue_events_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/events","assignees_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/tags","blobs_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/languages","stargazers_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/stargazers","contributors_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/contributors","subscribers_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/subscribers","subscription_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/subscription","commits_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/merges","archive_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/downloads","issues_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/releases{/id}","deployments_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/deployments","created_at":"2017-10-12T15:18:37Z","updated_at":"2017-11-29T18:20:40Z","pushed_at":"2018-05-02T09:12:07Z","git_url":"git://github.com/cloudify-incubator/kubernetes-autoscaler.git","ssh_url":"git@github.com:cloudify-incubator/kubernetes-autoscaler.git","clone_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler.git","svn_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler","homepage":"","size":22902,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"stable-1.1.0"}},"base":{"label":"cloudify-incubator:testing","ref":"testing","sha":"78dcb2dae701c25a79968d9e98b8f87c0ef0529d","user":{"login":"cloudify-incubator","id":26762417,"avatar_url":"https://avatars0.githubusercontent.com/u/26762417?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify-incubator","html_url":"https://github.com/cloudify-incubator","followers_url":"https://api.github.com/users/cloudify-incubator/followers","following_url":"https://api.github.com/users/cloudify-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudify-incubator/orgs","repos_url":"https://api.github.com/users/cloudify-incubator/repos","events_url":"https://api.github.com/users/cloudify-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":106709914,"name":"kubernetes-autoscaler","full_name":"cloudify-incubator/kubernetes-autoscaler","owner":{"login":"cloudify-incubator","id":26762417,"avatar_url":"https://avatars0.githubusercontent.com/u/26762417?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify-incubator","html_url":"https://github.com/cloudify-incubator","followers_url":"https://api.github.com/users/cloudify-incubator/followers","following_url":"https://api.github.com/users/cloudify-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudify-incubator/orgs","repos_url":"https://api.github.com/users/cloudify-incubator/repos","events_url":"https://api.github.com/users/cloudify-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler","description":"Autoscaling components for Kubernetes","fork":true,"url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler","forks_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/forks","keys_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/teams","hooks_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/hooks","issue_events_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/events","assignees_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/tags","blobs_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/languages","stargazers_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/stargazers","contributors_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/contributors","subscribers_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/subscribers","subscription_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/subscription","commits_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/merges","archive_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/downloads","issues_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/releases{/id}","deployments_url":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/deployments","created_at":"2017-10-12T15:18:37Z","updated_at":"2017-11-29T18:20:40Z","pushed_at":"2018-05-02T09:12:07Z","git_url":"git://github.com/cloudify-incubator/kubernetes-autoscaler.git","ssh_url":"git@github.com:cloudify-incubator/kubernetes-autoscaler.git","clone_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler.git","svn_url":"https://github.com/cloudify-incubator/kubernetes-autoscaler","homepage":"","size":22902,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"stable-1.1.0"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/1"},"html":{"href":"https://github.com/cloudify-incubator/kubernetes-autoscaler/pull/1"},"issue":{"href":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues/1"},"comments":{"href":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-incubator/kubernetes-autoscaler/statuses/5da72f970e3c774523655d087c09d7bde772e3fd"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"0lvin"}}