{"action":"created","comment":{"url":"https://api.github.com/repos/intuit/katlas/pulls/comments/245186582","pull_request_review_id":189247879,"id":245186582,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTE4NjU4Mg==","diff_hunk":"@@ -37,12 +37,11 @@ type IEntityService interface {\n // EntityService provides service for controller and frontend by implement IEntityService interface\n type EntityService struct {\n \tdbclient db.IDGClient\n-\tmetaSvc  *MetaService\n }\n \n // NewEntityService creates a new EntityService with the given dgraph client.\n-func NewEntityService(dc db.IDGClient, msvc *MetaService) *EntityService {\n-\treturn &EntityService{dc, msvc}\n+func NewEntityService(dc db.IDGClient) *EntityService {\n+\treturn &EntityService{dc}\n }\n ","path":"service/apis/entity_service.go","position":13,"original_position":13,"commit_id":"819ef2d15188820bd010545e87775e70c9fa4c15","original_commit_id":"dcbf7be62772f8b3e3f8936e6331ba5c1938b674","user":{"login":"ylei8","id":18623126,"node_id":"MDQ6VXNlcjE4NjIzMTI2","avatar_url":"https://avatars3.githubusercontent.com/u/18623126?v=4","gravatar_id":"","url":"https://api.github.com/users/ylei8","html_url":"https://github.com/ylei8","followers_url":"https://api.github.com/users/ylei8/followers","following_url":"https://api.github.com/users/ylei8/following{/other_user}","gists_url":"https://api.github.com/users/ylei8/gists{/gist_id}","starred_url":"https://api.github.com/users/ylei8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylei8/subscriptions","organizations_url":"https://api.github.com/users/ylei8/orgs","repos_url":"https://api.github.com/users/ylei8/repos","events_url":"https://api.github.com/users/ylei8/events{/privacy}","received_events_url":"https://api.github.com/users/ylei8/received_events","type":"User","site_admin":false},"body":"Had to update all related tests","created_at":"2019-01-04T02:11:25Z","updated_at":"2019-01-04T02:11:26Z","html_url":"https://github.com/intuit/katlas/pull/9#discussion_r245186582","pull_request_url":"https://api.github.com/repos/intuit/katlas/pulls/9","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/intuit/katlas/pulls/comments/245186582"},"html":{"href":"https://github.com/intuit/katlas/pull/9#discussion_r245186582"},"pull_request":{"href":"https://api.github.com/repos/intuit/katlas/pulls/9"}},"in_reply_to_id":243644536},"pull_request":{"url":"https://api.github.com/repos/intuit/katlas/pulls/9","id":240331707,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMzMxNzA3","html_url":"https://github.com/intuit/katlas/pull/9","diff_url":"https://github.com/intuit/katlas/pull/9.diff","patch_url":"https://github.com/intuit/katlas/pull/9.patch","issue_url":"https://api.github.com/repos/intuit/katlas/issues/9","number":9,"state":"open","locked":false,"title":"initial metadata creation with verification","user":{"login":"ylei8","id":18623126,"node_id":"MDQ6VXNlcjE4NjIzMTI2","avatar_url":"https://avatars3.githubusercontent.com/u/18623126?v=4","gravatar_id":"","url":"https://api.github.com/users/ylei8","html_url":"https://github.com/ylei8","followers_url":"https://api.github.com/users/ylei8/followers","following_url":"https://api.github.com/users/ylei8/following{/other_user}","gists_url":"https://api.github.com/users/ylei8/gists{/gist_id}","starred_url":"https://api.github.com/users/ylei8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylei8/subscriptions","organizations_url":"https://api.github.com/users/ylei8/orgs","repos_url":"https://api.github.com/users/ylei8/repos","events_url":"https://api.github.com/users/ylei8/events{/privacy}","received_events_url":"https://api.github.com/users/ylei8/received_events","type":"User","site_admin":false},"body":"This PR including the following:\r\n1. Take json input via handler /metadata\r\n2. verify json file include the required fields\r\n3. create metadata\r\n4. updated EntityService interface and all related tests","created_at":"2018-12-20T23:30:37Z","updated_at":"2019-01-04T02:11:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"579858d5bdfc54e4989b0c5eea2bc9e3d85c9f86","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/intuit/katlas/pulls/9/commits","review_comments_url":"https://api.github.com/repos/intuit/katlas/pulls/9/comments","review_comment_url":"https://api.github.com/repos/intuit/katlas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intuit/katlas/issues/9/comments","statuses_url":"https://api.github.com/repos/intuit/katlas/statuses/819ef2d15188820bd010545e87775e70c9fa4c15","head":{"label":"ylei8:master","ref":"master","sha":"819ef2d15188820bd010545e87775e70c9fa4c15","user":{"login":"ylei8","id":18623126,"node_id":"MDQ6VXNlcjE4NjIzMTI2","avatar_url":"https://avatars3.githubusercontent.com/u/18623126?v=4","gravatar_id":"","url":"https://api.github.com/users/ylei8","html_url":"https://github.com/ylei8","followers_url":"https://api.github.com/users/ylei8/followers","following_url":"https://api.github.com/users/ylei8/following{/other_user}","gists_url":"https://api.github.com/users/ylei8/gists{/gist_id}","starred_url":"https://api.github.com/users/ylei8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylei8/subscriptions","organizations_url":"https://api.github.com/users/ylei8/orgs","repos_url":"https://api.github.com/users/ylei8/repos","events_url":"https://api.github.com/users/ylei8/events{/privacy}","received_events_url":"https://api.github.com/users/ylei8/received_events","type":"User","site_admin":false},"repo":{"id":162189437,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIxODk0Mzc=","name":"katlas","full_name":"ylei8/katlas","private":false,"owner":{"login":"ylei8","id":18623126,"node_id":"MDQ6VXNlcjE4NjIzMTI2","avatar_url":"https://avatars3.githubusercontent.com/u/18623126?v=4","gravatar_id":"","url":"https://api.github.com/users/ylei8","html_url":"https://github.com/ylei8","followers_url":"https://api.github.com/users/ylei8/followers","following_url":"https://api.github.com/users/ylei8/following{/other_user}","gists_url":"https://api.github.com/users/ylei8/gists{/gist_id}","starred_url":"https://api.github.com/users/ylei8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylei8/subscriptions","organizations_url":"https://api.github.com/users/ylei8/orgs","repos_url":"https://api.github.com/users/ylei8/repos","events_url":"https://api.github.com/users/ylei8/events{/privacy}","received_events_url":"https://api.github.com/users/ylei8/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ylei8/katlas","description":"A distributed graph-based platform to automatically collect, discover, explore and relate multi-cluster kubernetes resources and metadata.","fork":true,"url":"https://api.github.com/repos/ylei8/katlas","forks_url":"https://api.github.com/repos/ylei8/katlas/forks","keys_url":"https://api.github.com/repos/ylei8/katlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ylei8/katlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ylei8/katlas/teams","hooks_url":"https://api.github.com/repos/ylei8/katlas/hooks","issue_events_url":"https://api.github.com/repos/ylei8/katlas/issues/events{/number}","events_url":"https://api.github.com/repos/ylei8/katlas/events","assignees_url":"https://api.github.com/repos/ylei8/katlas/assignees{/user}","branches_url":"https://api.github.com/repos/ylei8/katlas/branches{/branch}","tags_url":"https://api.github.com/repos/ylei8/katlas/tags","blobs_url":"https://api.github.com/repos/ylei8/katlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ylei8/katlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ylei8/katlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/ylei8/katlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ylei8/katlas/statuses/{sha}","languages_url":"https://api.github.com/repos/ylei8/katlas/languages","stargazers_url":"https://api.github.com/repos/ylei8/katlas/stargazers","contributors_url":"https://api.github.com/repos/ylei8/katlas/contributors","subscribers_url":"https://api.github.com/repos/ylei8/katlas/subscribers","subscription_url":"https://api.github.com/repos/ylei8/katlas/subscription","commits_url":"https://api.github.com/repos/ylei8/katlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/ylei8/katlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/ylei8/katlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/ylei8/katlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/ylei8/katlas/contents/{+path}","compare_url":"https://api.github.com/repos/ylei8/katlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ylei8/katlas/merges","archive_url":"https://api.github.com/repos/ylei8/katlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ylei8/katlas/downloads","issues_url":"https://api.github.com/repos/ylei8/katlas/issues{/number}","pulls_url":"https://api.github.com/repos/ylei8/katlas/pulls{/number}","milestones_url":"https://api.github.com/repos/ylei8/katlas/milestones{/number}","notifications_url":"https://api.github.com/repos/ylei8/katlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ylei8/katlas/labels{/name}","releases_url":"https://api.github.com/repos/ylei8/katlas/releases{/id}","deployments_url":"https://api.github.com/repos/ylei8/katlas/deployments","created_at":"2018-12-17T21:01:04Z","updated_at":"2019-01-04T01:57:25Z","pushed_at":"2019-01-04T01:57:23Z","git_url":"git://github.com/ylei8/katlas.git","ssh_url":"git@github.com:ylei8/katlas.git","clone_url":"https://github.com/ylei8/katlas.git","svn_url":"https://github.com/ylei8/katlas","homepage":"http://katlas.io","size":252,"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,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"intuit:master","ref":"master","sha":"adf9677b4537f537e9f9779b9502d463779036fc","user":{"login":"intuit","id":2495066,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTUwNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/2495066?v=4","gravatar_id":"","url":"https://api.github.com/users/intuit","html_url":"https://github.com/intuit","followers_url":"https://api.github.com/users/intuit/followers","following_url":"https://api.github.com/users/intuit/following{/other_user}","gists_url":"https://api.github.com/users/intuit/gists{/gist_id}","starred_url":"https://api.github.com/users/intuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intuit/subscriptions","organizations_url":"https://api.github.com/users/intuit/orgs","repos_url":"https://api.github.com/users/intuit/repos","events_url":"https://api.github.com/users/intuit/events{/privacy}","received_events_url":"https://api.github.com/users/intuit/received_events","type":"Organization","site_admin":false},"repo":{"id":161317797,"node_id":"MDEwOlJlcG9zaXRvcnkxNjEzMTc3OTc=","name":"katlas","full_name":"intuit/katlas","private":false,"owner":{"login":"intuit","id":2495066,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTUwNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/2495066?v=4","gravatar_id":"","url":"https://api.github.com/users/intuit","html_url":"https://github.com/intuit","followers_url":"https://api.github.com/users/intuit/followers","following_url":"https://api.github.com/users/intuit/following{/other_user}","gists_url":"https://api.github.com/users/intuit/gists{/gist_id}","starred_url":"https://api.github.com/users/intuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intuit/subscriptions","organizations_url":"https://api.github.com/users/intuit/orgs","repos_url":"https://api.github.com/users/intuit/repos","events_url":"https://api.github.com/users/intuit/events{/privacy}","received_events_url":"https://api.github.com/users/intuit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/intuit/katlas","description":"A distributed graph-based platform to automatically collect, discover, explore and relate multi-cluster kubernetes resources and metadata.","fork":false,"url":"https://api.github.com/repos/intuit/katlas","forks_url":"https://api.github.com/repos/intuit/katlas/forks","keys_url":"https://api.github.com/repos/intuit/katlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intuit/katlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intuit/katlas/teams","hooks_url":"https://api.github.com/repos/intuit/katlas/hooks","issue_events_url":"https://api.github.com/repos/intuit/katlas/issues/events{/number}","events_url":"https://api.github.com/repos/intuit/katlas/events","assignees_url":"https://api.github.com/repos/intuit/katlas/assignees{/user}","branches_url":"https://api.github.com/repos/intuit/katlas/branches{/branch}","tags_url":"https://api.github.com/repos/intuit/katlas/tags","blobs_url":"https://api.github.com/repos/intuit/katlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intuit/katlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intuit/katlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/intuit/katlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intuit/katlas/statuses/{sha}","languages_url":"https://api.github.com/repos/intuit/katlas/languages","stargazers_url":"https://api.github.com/repos/intuit/katlas/stargazers","contributors_url":"https://api.github.com/repos/intuit/katlas/contributors","subscribers_url":"https://api.github.com/repos/intuit/katlas/subscribers","subscription_url":"https://api.github.com/repos/intuit/katlas/subscription","commits_url":"https://api.github.com/repos/intuit/katlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/intuit/katlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/intuit/katlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/intuit/katlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/intuit/katlas/contents/{+path}","compare_url":"https://api.github.com/repos/intuit/katlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intuit/katlas/merges","archive_url":"https://api.github.com/repos/intuit/katlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intuit/katlas/downloads","issues_url":"https://api.github.com/repos/intuit/katlas/issues{/number}","pulls_url":"https://api.github.com/repos/intuit/katlas/pulls{/number}","milestones_url":"https://api.github.com/repos/intuit/katlas/milestones{/number}","notifications_url":"https://api.github.com/repos/intuit/katlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intuit/katlas/labels{/name}","releases_url":"https://api.github.com/repos/intuit/katlas/releases{/id}","deployments_url":"https://api.github.com/repos/intuit/katlas/deployments","created_at":"2018-12-11T10:35:33Z","updated_at":"2019-01-04T01:09:17Z","pushed_at":"2019-01-04T01:57:24Z","git_url":"git://github.com/intuit/katlas.git","ssh_url":"git@github.com:intuit/katlas.git","clone_url":"https://github.com/intuit/katlas.git","svn_url":"https://github.com/intuit/katlas","homepage":"http://katlas.io","size":245,"stargazers_count":14,"watchers_count":14,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7,"open_issues":10,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intuit/katlas/pulls/9"},"html":{"href":"https://github.com/intuit/katlas/pull/9"},"issue":{"href":"https://api.github.com/repos/intuit/katlas/issues/9"},"comments":{"href":"https://api.github.com/repos/intuit/katlas/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/intuit/katlas/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/intuit/katlas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intuit/katlas/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/intuit/katlas/statuses/819ef2d15188820bd010545e87775e70c9fa4c15"}},"author_association":"NONE"}}
{"actor":{"display_login":"ylei8"}}