{"action":"created","comment":{"url":"https://api.github.com/repos/ligato/networkservicemesh/pulls/comments/199184154","pull_request_review_id":133257543,"id":199184154,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTE4NDE1NA==","diff_hunk":"@@ -0,0 +1,67 @@\n+// Copyright (c) 2018 Cisco and/or its affiliates.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at:\n+//\n+//     http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+package objectstore\n+\n+import (\n+\t\"testing\"\n+\n+\t\"github.com/ligato/networkservicemesh/netmesh/model/netmesh\"\n+)\n+\n+type networkserviceStore struct {\n+\t*networkServicesStore\n+}\n+\n+const (\n+\tnsTestName      = \"EndpointTest\"\n+\tnsTestNamespace = \"default\"\n+)\n+\n+var networkservices *networkserviceStore\n+\n+func TestNetworkServiceStore(t *testing.T) {\n+\tnetworkservices := &networkserviceStore{}\n+\tnetworkservices.networkServicesStore = newNetworkServicesStore()\n+\n+\tns := netmesh.NetworkService{","path":"plugins/objectstore/networkservice_test.go","position":38,"original_position":38,"commit_id":"ad303902daf58ee202f74e5dcbe4818aa118f0ba","original_commit_id":"ad303902daf58ee202f74e5dcbe4818aa118f0ba","user":{"login":"mestery","id":1313334,"node_id":"MDQ6VXNlcjEzMTMzMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1313334?v=4","gravatar_id":"","url":"https://api.github.com/users/mestery","html_url":"https://github.com/mestery","followers_url":"https://api.github.com/users/mestery/followers","following_url":"https://api.github.com/users/mestery/following{/other_user}","gists_url":"https://api.github.com/users/mestery/gists{/gist_id}","starred_url":"https://api.github.com/users/mestery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mestery/subscriptions","organizations_url":"https://api.github.com/users/mestery/orgs","repos_url":"https://api.github.com/users/mestery/repos","events_url":"https://api.github.com/users/mestery/events{/privacy}","received_events_url":"https://api.github.com/users/mestery/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-06-29T14:49:33Z","updated_at":"2018-06-29T14:49:33Z","html_url":"https://github.com/ligato/networkservicemesh/pull/126#discussion_r199184154","pull_request_url":"https://api.github.com/repos/ligato/networkservicemesh/pulls/126","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ligato/networkservicemesh/pulls/comments/199184154"},"html":{"href":"https://github.com/ligato/networkservicemesh/pull/126#discussion_r199184154"},"pull_request":{"href":"https://api.github.com/repos/ligato/networkservicemesh/pulls/126"}},"in_reply_to_id":199180396},"pull_request":{"url":"https://api.github.com/repos/ligato/networkservicemesh/pulls/126","id":198154199,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MTU0MTk5","html_url":"https://github.com/ligato/networkservicemesh/pull/126","diff_url":"https://github.com/ligato/networkservicemesh/pull/126.diff","patch_url":"https://github.com/ligato/networkservicemesh/pull/126.patch","issue_url":"https://api.github.com/repos/ligato/networkservicemesh/issues/126","number":126,"state":"open","locked":false,"title":"Add channels and endpoints into the objectstore","user":{"login":"mestery","id":1313334,"node_id":"MDQ6VXNlcjEzMTMzMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1313334?v=4","gravatar_id":"","url":"https://api.github.com/users/mestery","html_url":"https://github.com/mestery","followers_url":"https://api.github.com/users/mestery/followers","following_url":"https://api.github.com/users/mestery/following{/other_user}","gists_url":"https://api.github.com/users/mestery/gists{/gist_id}","starred_url":"https://api.github.com/users/mestery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mestery/subscriptions","organizations_url":"https://api.github.com/users/mestery/orgs","repos_url":"https://api.github.com/users/mestery/repos","events_url":"https://api.github.com/users/mestery/events{/privacy}","received_events_url":"https://api.github.com/users/mestery/received_events","type":"User","site_admin":false},"body":"This commit adds an objectstore backend for channels and endpoints,\r\nincluding Create/Delete/List methods for each as well. The objectstore\r\nwill be complete after this commit, and can cache all CRD objects\r\nfor NSM clients to utilize.\r\n\r\nSigned-off-by: Kyle Mestery <mestery@mestery.com>","created_at":"2018-06-28T21:10:01Z","updated_at":"2018-06-29T14:49:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d87807198ba5a7369a9aca0efc02a894870a1752","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ligato/networkservicemesh/pulls/126/commits","review_comments_url":"https://api.github.com/repos/ligato/networkservicemesh/pulls/126/comments","review_comment_url":"https://api.github.com/repos/ligato/networkservicemesh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ligato/networkservicemesh/issues/126/comments","statuses_url":"https://api.github.com/repos/ligato/networkservicemesh/statuses/ad303902daf58ee202f74e5dcbe4818aa118f0ba","head":{"label":"mestery:encroach","ref":"encroach","sha":"ad303902daf58ee202f74e5dcbe4818aa118f0ba","user":{"login":"mestery","id":1313334,"node_id":"MDQ6VXNlcjEzMTMzMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1313334?v=4","gravatar_id":"","url":"https://api.github.com/users/mestery","html_url":"https://github.com/mestery","followers_url":"https://api.github.com/users/mestery/followers","following_url":"https://api.github.com/users/mestery/following{/other_user}","gists_url":"https://api.github.com/users/mestery/gists{/gist_id}","starred_url":"https://api.github.com/users/mestery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mestery/subscriptions","organizations_url":"https://api.github.com/users/mestery/orgs","repos_url":"https://api.github.com/users/mestery/repos","events_url":"https://api.github.com/users/mestery/events{/privacy}","received_events_url":"https://api.github.com/users/mestery/received_events","type":"User","site_admin":false},"repo":{"id":129969051,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5NjkwNTE=","name":"networkservicemesh","full_name":"mestery/networkservicemesh","owner":{"login":"mestery","id":1313334,"node_id":"MDQ6VXNlcjEzMTMzMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1313334?v=4","gravatar_id":"","url":"https://api.github.com/users/mestery","html_url":"https://github.com/mestery","followers_url":"https://api.github.com/users/mestery/followers","following_url":"https://api.github.com/users/mestery/following{/other_user}","gists_url":"https://api.github.com/users/mestery/gists{/gist_id}","starred_url":"https://api.github.com/users/mestery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mestery/subscriptions","organizations_url":"https://api.github.com/users/mestery/orgs","repos_url":"https://api.github.com/users/mestery/repos","events_url":"https://api.github.com/users/mestery/events{/privacy}","received_events_url":"https://api.github.com/users/mestery/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mestery/networkservicemesh","description":null,"fork":true,"url":"https://api.github.com/repos/mestery/networkservicemesh","forks_url":"https://api.github.com/repos/mestery/networkservicemesh/forks","keys_url":"https://api.github.com/repos/mestery/networkservicemesh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mestery/networkservicemesh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mestery/networkservicemesh/teams","hooks_url":"https://api.github.com/repos/mestery/networkservicemesh/hooks","issue_events_url":"https://api.github.com/repos/mestery/networkservicemesh/issues/events{/number}","events_url":"https://api.github.com/repos/mestery/networkservicemesh/events","assignees_url":"https://api.github.com/repos/mestery/networkservicemesh/assignees{/user}","branches_url":"https://api.github.com/repos/mestery/networkservicemesh/branches{/branch}","tags_url":"https://api.github.com/repos/mestery/networkservicemesh/tags","blobs_url":"https://api.github.com/repos/mestery/networkservicemesh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mestery/networkservicemesh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mestery/networkservicemesh/git/refs{/sha}","trees_url":"https://api.github.com/repos/mestery/networkservicemesh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mestery/networkservicemesh/statuses/{sha}","languages_url":"https://api.github.com/repos/mestery/networkservicemesh/languages","stargazers_url":"https://api.github.com/repos/mestery/networkservicemesh/stargazers","contributors_url":"https://api.github.com/repos/mestery/networkservicemesh/contributors","subscribers_url":"https://api.github.com/repos/mestery/networkservicemesh/subscribers","subscription_url":"https://api.github.com/repos/mestery/networkservicemesh/subscription","commits_url":"https://api.github.com/repos/mestery/networkservicemesh/commits{/sha}","git_commits_url":"https://api.github.com/repos/mestery/networkservicemesh/git/commits{/sha}","comments_url":"https://api.github.com/repos/mestery/networkservicemesh/comments{/number}","issue_comment_url":"https://api.github.com/repos/mestery/networkservicemesh/issues/comments{/number}","contents_url":"https://api.github.com/repos/mestery/networkservicemesh/contents/{+path}","compare_url":"https://api.github.com/repos/mestery/networkservicemesh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mestery/networkservicemesh/merges","archive_url":"https://api.github.com/repos/mestery/networkservicemesh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mestery/networkservicemesh/downloads","issues_url":"https://api.github.com/repos/mestery/networkservicemesh/issues{/number}","pulls_url":"https://api.github.com/repos/mestery/networkservicemesh/pulls{/number}","milestones_url":"https://api.github.com/repos/mestery/networkservicemesh/milestones{/number}","notifications_url":"https://api.github.com/repos/mestery/networkservicemesh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mestery/networkservicemesh/labels{/name}","releases_url":"https://api.github.com/repos/mestery/networkservicemesh/releases{/id}","deployments_url":"https://api.github.com/repos/mestery/networkservicemesh/deployments","created_at":"2018-04-17T21:48:20Z","updated_at":"2018-06-05T18:03:44Z","pushed_at":"2018-06-29T13:47:28Z","git_url":"git://github.com/mestery/networkservicemesh.git","ssh_url":"git@github.com:mestery/networkservicemesh.git","clone_url":"https://github.com/mestery/networkservicemesh.git","svn_url":"https://github.com/mestery/networkservicemesh","homepage":null,"size":6759,"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":"ligato:master","ref":"master","sha":"13bed450fc5428e2323f15831d3f5e98b021abc3","user":{"login":"ligato","id":28989152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTg5MTUy","avatar_url":"https://avatars0.githubusercontent.com/u/28989152?v=4","gravatar_id":"","url":"https://api.github.com/users/ligato","html_url":"https://github.com/ligato","followers_url":"https://api.github.com/users/ligato/followers","following_url":"https://api.github.com/users/ligato/following{/other_user}","gists_url":"https://api.github.com/users/ligato/gists{/gist_id}","starred_url":"https://api.github.com/users/ligato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligato/subscriptions","organizations_url":"https://api.github.com/users/ligato/orgs","repos_url":"https://api.github.com/users/ligato/repos","events_url":"https://api.github.com/users/ligato/events{/privacy}","received_events_url":"https://api.github.com/users/ligato/received_events","type":"Organization","site_admin":false},"repo":{"id":127937836,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc5Mzc4MzY=","name":"networkservicemesh","full_name":"ligato/networkservicemesh","owner":{"login":"ligato","id":28989152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTg5MTUy","avatar_url":"https://avatars0.githubusercontent.com/u/28989152?v=4","gravatar_id":"","url":"https://api.github.com/users/ligato","html_url":"https://github.com/ligato","followers_url":"https://api.github.com/users/ligato/followers","following_url":"https://api.github.com/users/ligato/following{/other_user}","gists_url":"https://api.github.com/users/ligato/gists{/gist_id}","starred_url":"https://api.github.com/users/ligato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligato/subscriptions","organizations_url":"https://api.github.com/users/ligato/orgs","repos_url":"https://api.github.com/users/ligato/repos","events_url":"https://api.github.com/users/ligato/events{/privacy}","received_events_url":"https://api.github.com/users/ligato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ligato/networkservicemesh","description":"An attempt to re-imagine NFV in a Cloudnative way","fork":false,"url":"https://api.github.com/repos/ligato/networkservicemesh","forks_url":"https://api.github.com/repos/ligato/networkservicemesh/forks","keys_url":"https://api.github.com/repos/ligato/networkservicemesh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ligato/networkservicemesh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ligato/networkservicemesh/teams","hooks_url":"https://api.github.com/repos/ligato/networkservicemesh/hooks","issue_events_url":"https://api.github.com/repos/ligato/networkservicemesh/issues/events{/number}","events_url":"https://api.github.com/repos/ligato/networkservicemesh/events","assignees_url":"https://api.github.com/repos/ligato/networkservicemesh/assignees{/user}","branches_url":"https://api.github.com/repos/ligato/networkservicemesh/branches{/branch}","tags_url":"https://api.github.com/repos/ligato/networkservicemesh/tags","blobs_url":"https://api.github.com/repos/ligato/networkservicemesh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ligato/networkservicemesh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ligato/networkservicemesh/git/refs{/sha}","trees_url":"https://api.github.com/repos/ligato/networkservicemesh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ligato/networkservicemesh/statuses/{sha}","languages_url":"https://api.github.com/repos/ligato/networkservicemesh/languages","stargazers_url":"https://api.github.com/repos/ligato/networkservicemesh/stargazers","contributors_url":"https://api.github.com/repos/ligato/networkservicemesh/contributors","subscribers_url":"https://api.github.com/repos/ligato/networkservicemesh/subscribers","subscription_url":"https://api.github.com/repos/ligato/networkservicemesh/subscription","commits_url":"https://api.github.com/repos/ligato/networkservicemesh/commits{/sha}","git_commits_url":"https://api.github.com/repos/ligato/networkservicemesh/git/commits{/sha}","comments_url":"https://api.github.com/repos/ligato/networkservicemesh/comments{/number}","issue_comment_url":"https://api.github.com/repos/ligato/networkservicemesh/issues/comments{/number}","contents_url":"https://api.github.com/repos/ligato/networkservicemesh/contents/{+path}","compare_url":"https://api.github.com/repos/ligato/networkservicemesh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ligato/networkservicemesh/merges","archive_url":"https://api.github.com/repos/ligato/networkservicemesh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ligato/networkservicemesh/downloads","issues_url":"https://api.github.com/repos/ligato/networkservicemesh/issues{/number}","pulls_url":"https://api.github.com/repos/ligato/networkservicemesh/pulls{/number}","milestones_url":"https://api.github.com/repos/ligato/networkservicemesh/milestones{/number}","notifications_url":"https://api.github.com/repos/ligato/networkservicemesh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ligato/networkservicemesh/labels{/name}","releases_url":"https://api.github.com/repos/ligato/networkservicemesh/releases{/id}","deployments_url":"https://api.github.com/repos/ligato/networkservicemesh/deployments","created_at":"2018-04-03T16:36:32Z","updated_at":"2018-06-29T02:34:28Z","pushed_at":"2018-06-29T13:47:29Z","git_url":"git://github.com/ligato/networkservicemesh.git","ssh_url":"git@github.com:ligato/networkservicemesh.git","clone_url":"https://github.com/ligato/networkservicemesh.git","svn_url":"https://github.com/ligato/networkservicemesh","homepage":"","size":6743,"stargazers_count":15,"watchers_count":15,"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":15,"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":15,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ligato/networkservicemesh/pulls/126"},"html":{"href":"https://github.com/ligato/networkservicemesh/pull/126"},"issue":{"href":"https://api.github.com/repos/ligato/networkservicemesh/issues/126"},"comments":{"href":"https://api.github.com/repos/ligato/networkservicemesh/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/ligato/networkservicemesh/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/ligato/networkservicemesh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ligato/networkservicemesh/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/ligato/networkservicemesh/statuses/ad303902daf58ee202f74e5dcbe4818aa118f0ba"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mestery"}}