{"action":"created","comment":{"url":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/comments/312634503","pull_request_review_id":273341987,"id":312634503,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMxMjYzNDUwMw==","diff_hunk":"@@ -81,5 +115,24 @@ func GenerateGenesisDoc() (*did.Doc, error) {\n \t\tCreated:        &time.Time{},\n \t}\n \treturn &did.Doc{Context: doc.Context, PublicKey: doc.PublicKey, Authentication: doc.Authentication,\n-\t\tCreated: doc.Created}, nil\n+\t\tCreated: doc.Created}\n+}\n+\n+func peerDidDoc() (*did.Doc, error){\n+\n+\tdoc :=  genesisDoc()\n+    did, err := newDid(doc)\n+    if err!= nil {\n+    \treturn nil,  err\n+\t}","path":"pkg/didmethod/peer/did_test.go","position":79,"original_position":79,"commit_id":"5b41ebf31a87aeb26e3284dcd8f2603898053f88","original_commit_id":"5b41ebf31a87aeb26e3284dcd8f2603898053f88","user":{"login":"troyronda","id":1906596,"node_id":"MDQ6VXNlcjE5MDY1OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1906596?v=4","gravatar_id":"","url":"https://api.github.com/users/troyronda","html_url":"https://github.com/troyronda","followers_url":"https://api.github.com/users/troyronda/followers","following_url":"https://api.github.com/users/troyronda/following{/other_user}","gists_url":"https://api.github.com/users/troyronda/gists{/gist_id}","starred_url":"https://api.github.com/users/troyronda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troyronda/subscriptions","organizations_url":"https://api.github.com/users/troyronda/orgs","repos_url":"https://api.github.com/users/troyronda/repos","events_url":"https://api.github.com/users/troyronda/events{/privacy}","received_events_url":"https://api.github.com/users/troyronda/received_events","type":"User","site_admin":false},"body":"this go file needs to be formatted.","created_at":"2019-08-09T20:18:29Z","updated_at":"2019-08-09T20:18:29Z","html_url":"https://github.com/hyperledger/aries-framework-go/pull/66#discussion_r312634503","pull_request_url":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/66","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/comments/312634503"},"html":{"href":"https://github.com/hyperledger/aries-framework-go/pull/66#discussion_r312634503"},"pull_request":{"href":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/66","id":304861142,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA0ODYxMTQy","html_url":"https://github.com/hyperledger/aries-framework-go/pull/66","diff_url":"https://github.com/hyperledger/aries-framework-go/pull/66.diff","patch_url":"https://github.com/hyperledger/aries-framework-go/pull/66.patch","issue_url":"https://api.github.com/repos/hyperledger/aries-framework-go/issues/66","number":66,"state":"open","locked":false,"title":"Validate peer DID identifier ","user":{"login":"talwinder50","id":7862595,"node_id":"MDQ6VXNlcjc4NjI1OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/7862595?v=4","gravatar_id":"","url":"https://api.github.com/users/talwinder50","html_url":"https://github.com/talwinder50","followers_url":"https://api.github.com/users/talwinder50/followers","following_url":"https://api.github.com/users/talwinder50/following{/other_user}","gists_url":"https://api.github.com/users/talwinder50/gists{/gist_id}","starred_url":"https://api.github.com/users/talwinder50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talwinder50/subscriptions","organizations_url":"https://api.github.com/users/talwinder50/orgs","repos_url":"https://api.github.com/users/talwinder50/repos","events_url":"https://api.github.com/users/talwinder50/events{/privacy}","received_events_url":"https://api.github.com/users/talwinder50/received_events","type":"User","site_admin":false},"body":"The receiving agent should have the capability to validate the DID Document against the name-string component of the DID Identifier.\r\n\r\ncloses #48 ","created_at":"2019-08-06T19:39:18Z","updated_at":"2019-08-09T20:18:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6960194c24dda301e815152073603f666256e7f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/66/commits","review_comments_url":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/66/comments","review_comment_url":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperledger/aries-framework-go/issues/66/comments","statuses_url":"https://api.github.com/repos/hyperledger/aries-framework-go/statuses/5b41ebf31a87aeb26e3284dcd8f2603898053f88","head":{"label":"talwinder50:issue-48","ref":"issue-48","sha":"5b41ebf31a87aeb26e3284dcd8f2603898053f88","user":{"login":"talwinder50","id":7862595,"node_id":"MDQ6VXNlcjc4NjI1OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/7862595?v=4","gravatar_id":"","url":"https://api.github.com/users/talwinder50","html_url":"https://github.com/talwinder50","followers_url":"https://api.github.com/users/talwinder50/followers","following_url":"https://api.github.com/users/talwinder50/following{/other_user}","gists_url":"https://api.github.com/users/talwinder50/gists{/gist_id}","starred_url":"https://api.github.com/users/talwinder50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talwinder50/subscriptions","organizations_url":"https://api.github.com/users/talwinder50/orgs","repos_url":"https://api.github.com/users/talwinder50/repos","events_url":"https://api.github.com/users/talwinder50/events{/privacy}","received_events_url":"https://api.github.com/users/talwinder50/received_events","type":"User","site_admin":false},"repo":{"id":198504598,"node_id":"MDEwOlJlcG9zaXRvcnkxOTg1MDQ1OTg=","name":"aries-framework-go","full_name":"talwinder50/aries-framework-go","private":false,"owner":{"login":"talwinder50","id":7862595,"node_id":"MDQ6VXNlcjc4NjI1OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/7862595?v=4","gravatar_id":"","url":"https://api.github.com/users/talwinder50","html_url":"https://github.com/talwinder50","followers_url":"https://api.github.com/users/talwinder50/followers","following_url":"https://api.github.com/users/talwinder50/following{/other_user}","gists_url":"https://api.github.com/users/talwinder50/gists{/gist_id}","starred_url":"https://api.github.com/users/talwinder50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talwinder50/subscriptions","organizations_url":"https://api.github.com/users/talwinder50/orgs","repos_url":"https://api.github.com/users/talwinder50/repos","events_url":"https://api.github.com/users/talwinder50/events{/privacy}","received_events_url":"https://api.github.com/users/talwinder50/received_events","type":"User","site_admin":false},"html_url":"https://github.com/talwinder50/aries-framework-go","description":"Hyperledger Aries Framework Go provides packages for building Agent / DIDComm services","fork":true,"url":"https://api.github.com/repos/talwinder50/aries-framework-go","forks_url":"https://api.github.com/repos/talwinder50/aries-framework-go/forks","keys_url":"https://api.github.com/repos/talwinder50/aries-framework-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talwinder50/aries-framework-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talwinder50/aries-framework-go/teams","hooks_url":"https://api.github.com/repos/talwinder50/aries-framework-go/hooks","issue_events_url":"https://api.github.com/repos/talwinder50/aries-framework-go/issues/events{/number}","events_url":"https://api.github.com/repos/talwinder50/aries-framework-go/events","assignees_url":"https://api.github.com/repos/talwinder50/aries-framework-go/assignees{/user}","branches_url":"https://api.github.com/repos/talwinder50/aries-framework-go/branches{/branch}","tags_url":"https://api.github.com/repos/talwinder50/aries-framework-go/tags","blobs_url":"https://api.github.com/repos/talwinder50/aries-framework-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talwinder50/aries-framework-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talwinder50/aries-framework-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/talwinder50/aries-framework-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talwinder50/aries-framework-go/statuses/{sha}","languages_url":"https://api.github.com/repos/talwinder50/aries-framework-go/languages","stargazers_url":"https://api.github.com/repos/talwinder50/aries-framework-go/stargazers","contributors_url":"https://api.github.com/repos/talwinder50/aries-framework-go/contributors","subscribers_url":"https://api.github.com/repos/talwinder50/aries-framework-go/subscribers","subscription_url":"https://api.github.com/repos/talwinder50/aries-framework-go/subscription","commits_url":"https://api.github.com/repos/talwinder50/aries-framework-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/talwinder50/aries-framework-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/talwinder50/aries-framework-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/talwinder50/aries-framework-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/talwinder50/aries-framework-go/contents/{+path}","compare_url":"https://api.github.com/repos/talwinder50/aries-framework-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talwinder50/aries-framework-go/merges","archive_url":"https://api.github.com/repos/talwinder50/aries-framework-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talwinder50/aries-framework-go/downloads","issues_url":"https://api.github.com/repos/talwinder50/aries-framework-go/issues{/number}","pulls_url":"https://api.github.com/repos/talwinder50/aries-framework-go/pulls{/number}","milestones_url":"https://api.github.com/repos/talwinder50/aries-framework-go/milestones{/number}","notifications_url":"https://api.github.com/repos/talwinder50/aries-framework-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talwinder50/aries-framework-go/labels{/name}","releases_url":"https://api.github.com/repos/talwinder50/aries-framework-go/releases{/id}","deployments_url":"https://api.github.com/repos/talwinder50/aries-framework-go/deployments","created_at":"2019-07-23T20:36:07Z","updated_at":"2019-07-23T20:36:09Z","pushed_at":"2019-08-09T01:31:51Z","git_url":"git://github.com/talwinder50/aries-framework-go.git","ssh_url":"git@github.com:talwinder50/aries-framework-go.git","clone_url":"https://github.com/talwinder50/aries-framework-go.git","svn_url":"https://github.com/talwinder50/aries-framework-go","homepage":"https://wiki.hyperledger.org/display/ARIES/aries-framework-go","size":109,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":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":"hyperledger:master","ref":"master","sha":"4406b2c0cbd7c9db1f1faf8c9aa721dfa8297112","user":{"login":"hyperledger","id":7657900,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2NTc5MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/7657900?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperledger","html_url":"https://github.com/hyperledger","followers_url":"https://api.github.com/users/hyperledger/followers","following_url":"https://api.github.com/users/hyperledger/following{/other_user}","gists_url":"https://api.github.com/users/hyperledger/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperledger/subscriptions","organizations_url":"https://api.github.com/users/hyperledger/orgs","repos_url":"https://api.github.com/users/hyperledger/repos","events_url":"https://api.github.com/users/hyperledger/events{/privacy}","received_events_url":"https://api.github.com/users/hyperledger/received_events","type":"Organization","site_admin":false},"repo":{"id":196081240,"node_id":"MDEwOlJlcG9zaXRvcnkxOTYwODEyNDA=","name":"aries-framework-go","full_name":"hyperledger/aries-framework-go","private":false,"owner":{"login":"hyperledger","id":7657900,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2NTc5MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/7657900?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperledger","html_url":"https://github.com/hyperledger","followers_url":"https://api.github.com/users/hyperledger/followers","following_url":"https://api.github.com/users/hyperledger/following{/other_user}","gists_url":"https://api.github.com/users/hyperledger/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperledger/subscriptions","organizations_url":"https://api.github.com/users/hyperledger/orgs","repos_url":"https://api.github.com/users/hyperledger/repos","events_url":"https://api.github.com/users/hyperledger/events{/privacy}","received_events_url":"https://api.github.com/users/hyperledger/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hyperledger/aries-framework-go","description":"Hyperledger Aries Framework Go provides packages for building Agent / DIDComm services","fork":false,"url":"https://api.github.com/repos/hyperledger/aries-framework-go","forks_url":"https://api.github.com/repos/hyperledger/aries-framework-go/forks","keys_url":"https://api.github.com/repos/hyperledger/aries-framework-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperledger/aries-framework-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperledger/aries-framework-go/teams","hooks_url":"https://api.github.com/repos/hyperledger/aries-framework-go/hooks","issue_events_url":"https://api.github.com/repos/hyperledger/aries-framework-go/issues/events{/number}","events_url":"https://api.github.com/repos/hyperledger/aries-framework-go/events","assignees_url":"https://api.github.com/repos/hyperledger/aries-framework-go/assignees{/user}","branches_url":"https://api.github.com/repos/hyperledger/aries-framework-go/branches{/branch}","tags_url":"https://api.github.com/repos/hyperledger/aries-framework-go/tags","blobs_url":"https://api.github.com/repos/hyperledger/aries-framework-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperledger/aries-framework-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperledger/aries-framework-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperledger/aries-framework-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperledger/aries-framework-go/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperledger/aries-framework-go/languages","stargazers_url":"https://api.github.com/repos/hyperledger/aries-framework-go/stargazers","contributors_url":"https://api.github.com/repos/hyperledger/aries-framework-go/contributors","subscribers_url":"https://api.github.com/repos/hyperledger/aries-framework-go/subscribers","subscription_url":"https://api.github.com/repos/hyperledger/aries-framework-go/subscription","commits_url":"https://api.github.com/repos/hyperledger/aries-framework-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperledger/aries-framework-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperledger/aries-framework-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperledger/aries-framework-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperledger/aries-framework-go/contents/{+path}","compare_url":"https://api.github.com/repos/hyperledger/aries-framework-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperledger/aries-framework-go/merges","archive_url":"https://api.github.com/repos/hyperledger/aries-framework-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperledger/aries-framework-go/downloads","issues_url":"https://api.github.com/repos/hyperledger/aries-framework-go/issues{/number}","pulls_url":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperledger/aries-framework-go/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperledger/aries-framework-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperledger/aries-framework-go/labels{/name}","releases_url":"https://api.github.com/repos/hyperledger/aries-framework-go/releases{/id}","deployments_url":"https://api.github.com/repos/hyperledger/aries-framework-go/deployments","created_at":"2019-07-09T20:45:08Z","updated_at":"2019-08-09T16:13:54Z","pushed_at":"2019-08-09T01:31:53Z","git_url":"git://github.com/hyperledger/aries-framework-go.git","ssh_url":"git@github.com:hyperledger/aries-framework-go.git","clone_url":"https://github.com/hyperledger/aries-framework-go.git","svn_url":"https://github.com/hyperledger/aries-framework-go","homepage":"https://wiki.hyperledger.org/display/ARIES/aries-framework-go","size":112,"stargazers_count":11,"watchers_count":11,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":35,"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":9,"open_issues":35,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/66"},"html":{"href":"https://github.com/hyperledger/aries-framework-go/pull/66"},"issue":{"href":"https://api.github.com/repos/hyperledger/aries-framework-go/issues/66"},"comments":{"href":"https://api.github.com/repos/hyperledger/aries-framework-go/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperledger/aries-framework-go/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/hyperledger/aries-framework-go/statuses/5b41ebf31a87aeb26e3284dcd8f2603898053f88"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"troyronda"}}