{"action":"created","comment":{"url":"https://api.github.com/repos/cloud66/starter/pulls/comments/123227781","pull_request_review_id":45409320,"id":123227781,"diff_hunk":"@@ -1,14 +1,37 @@\n package common\n \n type Service struct {\n-\tName          string\n-\tGitRepo       string\n-\tGitBranch     string\n-\tCommand       string\n-\tBuildCommand  string\n-\tDeployCommand string\n-\tPorts         []*PortMapping\n-\tEnvVars       []*EnvVar\n-\tBuildRoot     string\n-\tDatabases \t  []Database\n+\tName          string `yaml:\"name,omitempty\"`\n+\tGitRepo       string `yaml:\"git_url,omitempty\"`\n+\tGitBranch     string `yaml:\"git_branch,omitempty\"`\n+\tCommand       string `yaml:\"command1,omitempty\"`\n+\tBuildCommand  string `yaml:\"build_command,omitempty\"`\n+\tDeployCommand string `yaml:\"deploy,omitempty\"`\n+\tPorts         []*PortMapping `yaml:\"ports1,omitempty\"`\n+\tEnvVars       []*EnvVar `yaml:\"env_vars1,omitempty\"`\n+\tBuildRoot     string `yaml:\"build_root,omitempty\"`\n+\tDatabases     []Database `yaml:\"dbs,omitempty\"`\n+\n+\t//stuff to be added\n+\tImage           string `yaml:\"image,omitempty\"`\n+\tRequires        []string `yaml:\"requires,omitempty\"`\n+\tVolumes         []string `yaml:\"volumes,omitempty\"`\n+\tStop_grace      string `yaml:\"stop_grace,omitempty\"`\n+\tConstraints     Constraints  `yaml:\"constraints,omitempty\"`\n+\tWork_dir        string `yaml:\"work_dir,omitempty\"`\n+\tPrivileged      bool `yaml:\"privileged,omitempty\"`\n+\tDockerfile_path string `yaml:\"dockerfile_path,omitempty\"`","path":"common/service.go","position":33,"original_position":33,"commit_id":"b9f0954a2a0b684c882f3573f595161cdcb728db","original_commit_id":"b9f0954a2a0b684c882f3573f595161cdcb728db","user":{"login":"dragospopa","id":23005747,"avatar_url":"https://avatars1.githubusercontent.com/u/23005747?v=3","gravatar_id":"","url":"https://api.github.com/users/dragospopa","html_url":"https://github.com/dragospopa","followers_url":"https://api.github.com/users/dragospopa/followers","following_url":"https://api.github.com/users/dragospopa/following{/other_user}","gists_url":"https://api.github.com/users/dragospopa/gists{/gist_id}","starred_url":"https://api.github.com/users/dragospopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragospopa/subscriptions","organizations_url":"https://api.github.com/users/dragospopa/orgs","repos_url":"https://api.github.com/users/dragospopa/repos","events_url":"https://api.github.com/users/dragospopa/events{/privacy}","received_events_url":"https://api.github.com/users/dragospopa/received_events","type":"User","site_admin":false},"body":"Solved","created_at":"2017-06-21T12:01:04Z","updated_at":"2017-06-21T12:01:04Z","html_url":"https://github.com/cloud66/starter/pull/52#discussion_r123227781","pull_request_url":"https://api.github.com/repos/cloud66/starter/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/cloud66/starter/pulls/comments/123227781"},"html":{"href":"https://github.com/cloud66/starter/pull/52#discussion_r123227781"},"pull_request":{"href":"https://api.github.com/repos/cloud66/starter/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/cloud66/starter/pulls/52","id":126711063,"html_url":"https://github.com/cloud66/starter/pull/52","diff_url":"https://github.com/cloud66/starter/pull/52.diff","patch_url":"https://github.com/cloud66/starter/pull/52.patch","issue_url":"https://api.github.com/repos/cloud66/starter/issues/52","number":52,"state":"open","locked":false,"title":"Feature/dragos testing","user":{"login":"dragospopa","id":23005747,"avatar_url":"https://avatars1.githubusercontent.com/u/23005747?v=3","gravatar_id":"","url":"https://api.github.com/users/dragospopa","html_url":"https://github.com/dragospopa","followers_url":"https://api.github.com/users/dragospopa/followers","following_url":"https://api.github.com/users/dragospopa/following{/other_user}","gists_url":"https://api.github.com/users/dragospopa/gists{/gist_id}","starred_url":"https://api.github.com/users/dragospopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragospopa/subscriptions","organizations_url":"https://api.github.com/users/dragospopa/orgs","repos_url":"https://api.github.com/users/dragospopa/repos","events_url":"https://api.github.com/users/dragospopa/events{/privacy}","received_events_url":"https://api.github.com/users/dragospopa/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-21T08:55:58Z","updated_at":"2017-06-21T12:01:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c37bafa619e0f62dc32ec1f1a5df8d3fe3c17da","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloud66/starter/pulls/52/commits","review_comments_url":"https://api.github.com/repos/cloud66/starter/pulls/52/comments","review_comment_url":"https://api.github.com/repos/cloud66/starter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloud66/starter/issues/52/comments","statuses_url":"https://api.github.com/repos/cloud66/starter/statuses/b9f0954a2a0b684c882f3573f595161cdcb728db","head":{"label":"dragospopa:feature/dragos-testing","ref":"feature/dragos-testing","sha":"b9f0954a2a0b684c882f3573f595161cdcb728db","user":{"login":"dragospopa","id":23005747,"avatar_url":"https://avatars1.githubusercontent.com/u/23005747?v=3","gravatar_id":"","url":"https://api.github.com/users/dragospopa","html_url":"https://github.com/dragospopa","followers_url":"https://api.github.com/users/dragospopa/followers","following_url":"https://api.github.com/users/dragospopa/following{/other_user}","gists_url":"https://api.github.com/users/dragospopa/gists{/gist_id}","starred_url":"https://api.github.com/users/dragospopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragospopa/subscriptions","organizations_url":"https://api.github.com/users/dragospopa/orgs","repos_url":"https://api.github.com/users/dragospopa/repos","events_url":"https://api.github.com/users/dragospopa/events{/privacy}","received_events_url":"https://api.github.com/users/dragospopa/received_events","type":"User","site_admin":false},"repo":{"id":94796847,"name":"starter","full_name":"dragospopa/starter","owner":{"login":"dragospopa","id":23005747,"avatar_url":"https://avatars1.githubusercontent.com/u/23005747?v=3","gravatar_id":"","url":"https://api.github.com/users/dragospopa","html_url":"https://github.com/dragospopa","followers_url":"https://api.github.com/users/dragospopa/followers","following_url":"https://api.github.com/users/dragospopa/following{/other_user}","gists_url":"https://api.github.com/users/dragospopa/gists{/gist_id}","starred_url":"https://api.github.com/users/dragospopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragospopa/subscriptions","organizations_url":"https://api.github.com/users/dragospopa/orgs","repos_url":"https://api.github.com/users/dragospopa/repos","events_url":"https://api.github.com/users/dragospopa/events{/privacy}","received_events_url":"https://api.github.com/users/dragospopa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dragospopa/starter","description":"Docker starter for Cloud 66","fork":true,"url":"https://api.github.com/repos/dragospopa/starter","forks_url":"https://api.github.com/repos/dragospopa/starter/forks","keys_url":"https://api.github.com/repos/dragospopa/starter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dragospopa/starter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dragospopa/starter/teams","hooks_url":"https://api.github.com/repos/dragospopa/starter/hooks","issue_events_url":"https://api.github.com/repos/dragospopa/starter/issues/events{/number}","events_url":"https://api.github.com/repos/dragospopa/starter/events","assignees_url":"https://api.github.com/repos/dragospopa/starter/assignees{/user}","branches_url":"https://api.github.com/repos/dragospopa/starter/branches{/branch}","tags_url":"https://api.github.com/repos/dragospopa/starter/tags","blobs_url":"https://api.github.com/repos/dragospopa/starter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dragospopa/starter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dragospopa/starter/git/refs{/sha}","trees_url":"https://api.github.com/repos/dragospopa/starter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dragospopa/starter/statuses/{sha}","languages_url":"https://api.github.com/repos/dragospopa/starter/languages","stargazers_url":"https://api.github.com/repos/dragospopa/starter/stargazers","contributors_url":"https://api.github.com/repos/dragospopa/starter/contributors","subscribers_url":"https://api.github.com/repos/dragospopa/starter/subscribers","subscription_url":"https://api.github.com/repos/dragospopa/starter/subscription","commits_url":"https://api.github.com/repos/dragospopa/starter/commits{/sha}","git_commits_url":"https://api.github.com/repos/dragospopa/starter/git/commits{/sha}","comments_url":"https://api.github.com/repos/dragospopa/starter/comments{/number}","issue_comment_url":"https://api.github.com/repos/dragospopa/starter/issues/comments{/number}","contents_url":"https://api.github.com/repos/dragospopa/starter/contents/{+path}","compare_url":"https://api.github.com/repos/dragospopa/starter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dragospopa/starter/merges","archive_url":"https://api.github.com/repos/dragospopa/starter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dragospopa/starter/downloads","issues_url":"https://api.github.com/repos/dragospopa/starter/issues{/number}","pulls_url":"https://api.github.com/repos/dragospopa/starter/pulls{/number}","milestones_url":"https://api.github.com/repos/dragospopa/starter/milestones{/number}","notifications_url":"https://api.github.com/repos/dragospopa/starter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dragospopa/starter/labels{/name}","releases_url":"https://api.github.com/repos/dragospopa/starter/releases{/id}","deployments_url":"https://api.github.com/repos/dragospopa/starter/deployments","created_at":"2017-06-19T16:18:42Z","updated_at":"2017-06-19T16:18:44Z","pushed_at":"2017-06-20T17:27:12Z","git_url":"git://github.com/dragospopa/starter.git","ssh_url":"git@github.com:dragospopa/starter.git","clone_url":"https://github.com/dragospopa/starter.git","svn_url":"https://github.com/dragospopa/starter","homepage":null,"size":1459,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"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":0,"default_branch":"master"}},"base":{"label":"cloud66:dev","ref":"dev","sha":"0d2d97c2ce7ba0c0715b3950e05fdd3bdb55b35d","user":{"login":"cloud66","id":330622,"avatar_url":"https://avatars3.githubusercontent.com/u/330622?v=3","gravatar_id":"","url":"https://api.github.com/users/cloud66","html_url":"https://github.com/cloud66","followers_url":"https://api.github.com/users/cloud66/followers","following_url":"https://api.github.com/users/cloud66/following{/other_user}","gists_url":"https://api.github.com/users/cloud66/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud66/subscriptions","organizations_url":"https://api.github.com/users/cloud66/orgs","repos_url":"https://api.github.com/users/cloud66/repos","events_url":"https://api.github.com/users/cloud66/events{/privacy}","received_events_url":"https://api.github.com/users/cloud66/received_events","type":"Organization","site_admin":false},"repo":{"id":34743746,"name":"starter","full_name":"cloud66/starter","owner":{"login":"cloud66","id":330622,"avatar_url":"https://avatars3.githubusercontent.com/u/330622?v=3","gravatar_id":"","url":"https://api.github.com/users/cloud66","html_url":"https://github.com/cloud66","followers_url":"https://api.github.com/users/cloud66/followers","following_url":"https://api.github.com/users/cloud66/following{/other_user}","gists_url":"https://api.github.com/users/cloud66/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud66/subscriptions","organizations_url":"https://api.github.com/users/cloud66/orgs","repos_url":"https://api.github.com/users/cloud66/repos","events_url":"https://api.github.com/users/cloud66/events{/privacy}","received_events_url":"https://api.github.com/users/cloud66/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloud66/starter","description":"Docker starter for Cloud 66","fork":false,"url":"https://api.github.com/repos/cloud66/starter","forks_url":"https://api.github.com/repos/cloud66/starter/forks","keys_url":"https://api.github.com/repos/cloud66/starter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloud66/starter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloud66/starter/teams","hooks_url":"https://api.github.com/repos/cloud66/starter/hooks","issue_events_url":"https://api.github.com/repos/cloud66/starter/issues/events{/number}","events_url":"https://api.github.com/repos/cloud66/starter/events","assignees_url":"https://api.github.com/repos/cloud66/starter/assignees{/user}","branches_url":"https://api.github.com/repos/cloud66/starter/branches{/branch}","tags_url":"https://api.github.com/repos/cloud66/starter/tags","blobs_url":"https://api.github.com/repos/cloud66/starter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloud66/starter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloud66/starter/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloud66/starter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloud66/starter/statuses/{sha}","languages_url":"https://api.github.com/repos/cloud66/starter/languages","stargazers_url":"https://api.github.com/repos/cloud66/starter/stargazers","contributors_url":"https://api.github.com/repos/cloud66/starter/contributors","subscribers_url":"https://api.github.com/repos/cloud66/starter/subscribers","subscription_url":"https://api.github.com/repos/cloud66/starter/subscription","commits_url":"https://api.github.com/repos/cloud66/starter/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloud66/starter/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloud66/starter/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloud66/starter/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloud66/starter/contents/{+path}","compare_url":"https://api.github.com/repos/cloud66/starter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloud66/starter/merges","archive_url":"https://api.github.com/repos/cloud66/starter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloud66/starter/downloads","issues_url":"https://api.github.com/repos/cloud66/starter/issues{/number}","pulls_url":"https://api.github.com/repos/cloud66/starter/pulls{/number}","milestones_url":"https://api.github.com/repos/cloud66/starter/milestones{/number}","notifications_url":"https://api.github.com/repos/cloud66/starter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloud66/starter/labels{/name}","releases_url":"https://api.github.com/repos/cloud66/starter/releases{/id}","deployments_url":"https://api.github.com/repos/cloud66/starter/deployments","created_at":"2015-04-28T16:54:41Z","updated_at":"2017-06-20T17:43:32Z","pushed_at":"2017-06-21T08:55:59Z","git_url":"git://github.com/cloud66/starter.git","ssh_url":"git@github.com:cloud66/starter.git","clone_url":"https://github.com/cloud66/starter.git","svn_url":"https://github.com/cloud66/starter","homepage":null,"size":1414,"stargazers_count":53,"watchers_count":53,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":17,"mirror_url":null,"open_issues_count":9,"forks":17,"open_issues":9,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloud66/starter/pulls/52"},"html":{"href":"https://github.com/cloud66/starter/pull/52"},"issue":{"href":"https://api.github.com/repos/cloud66/starter/issues/52"},"comments":{"href":"https://api.github.com/repos/cloud66/starter/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/cloud66/starter/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/cloud66/starter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloud66/starter/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/cloud66/starter/statuses/b9f0954a2a0b684c882f3573f595161cdcb728db"}}}}
{"actor":{"display_login":"dragospopa"}}