{"action":"opened","number":75,"pull_request":{"url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls/75","id":84349513,"html_url":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pull/75","diff_url":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pull/75.diff","patch_url":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pull/75.patch","issue_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues/75","number":75,"state":"open","locked":false,"title":"Generalize DB usage","user":{"login":"jlpadilla","id":4671325,"avatar_url":"https://avatars.githubusercontent.com/u/4671325?v=3","gravatar_id":"","url":"https://api.github.com/users/jlpadilla","html_url":"https://github.com/jlpadilla","followers_url":"https://api.github.com/users/jlpadilla/followers","following_url":"https://api.github.com/users/jlpadilla/following{/other_user}","gists_url":"https://api.github.com/users/jlpadilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jlpadilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlpadilla/subscriptions","organizations_url":"https://api.github.com/users/jlpadilla/orgs","repos_url":"https://api.github.com/users/jlpadilla/repos","events_url":"https://api.github.com/users/jlpadilla/events{/privacy}","received_events_url":"https://api.github.com/users/jlpadilla/received_events","type":"User","site_admin":false},"body":"This is a first pass at generalizing DB usage.  This PR doesn’t remove the existing implementation, the reason for merging partial work is so we can merge with the Retrieve & Rank part currently being developed in parallel. I’ll do the cleanup on the next phase.\n","created_at":"2016-09-07T18:23:21Z","updated_at":"2016-09-07T18:23:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9e0ae2213acb52ad5c4c7665c0207ed683bde06","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls/75/commits","review_comments_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls/75/comments","review_comment_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues/75/comments","statuses_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/statuses/6563c448da662d1b2cb0815eff10edb2312f1c58","head":{"label":"ibm-cloud-solutions:issues/74_multipleDBs","ref":"issues/74_multipleDBs","sha":"6563c448da662d1b2cb0815eff10edb2312f1c58","user":{"login":"ibm-cloud-solutions","id":20565902,"avatar_url":"https://avatars.githubusercontent.com/u/20565902?v=3","gravatar_id":"","url":"https://api.github.com/users/ibm-cloud-solutions","html_url":"https://github.com/ibm-cloud-solutions","followers_url":"https://api.github.com/users/ibm-cloud-solutions/followers","following_url":"https://api.github.com/users/ibm-cloud-solutions/following{/other_user}","gists_url":"https://api.github.com/users/ibm-cloud-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/ibm-cloud-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibm-cloud-solutions/subscriptions","organizations_url":"https://api.github.com/users/ibm-cloud-solutions/orgs","repos_url":"https://api.github.com/users/ibm-cloud-solutions/repos","events_url":"https://api.github.com/users/ibm-cloud-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/ibm-cloud-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":64511350,"name":"hubot-ibmcloud-cognitive-lib","full_name":"ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib","owner":{"login":"ibm-cloud-solutions","id":20565902,"avatar_url":"https://avatars.githubusercontent.com/u/20565902?v=3","gravatar_id":"","url":"https://api.github.com/users/ibm-cloud-solutions","html_url":"https://github.com/ibm-cloud-solutions","followers_url":"https://api.github.com/users/ibm-cloud-solutions/followers","following_url":"https://api.github.com/users/ibm-cloud-solutions/following{/other_user}","gists_url":"https://api.github.com/users/ibm-cloud-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/ibm-cloud-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibm-cloud-solutions/subscriptions","organizations_url":"https://api.github.com/users/ibm-cloud-solutions/orgs","repos_url":"https://api.github.com/users/ibm-cloud-solutions/repos","events_url":"https://api.github.com/users/ibm-cloud-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/ibm-cloud-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib","description":"Provides helper functions for configuring, storing, and processing information related to natural language processing of a statement","fork":false,"url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib","forks_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/forks","keys_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/teams","hooks_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/hooks","issue_events_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues/events{/number}","events_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/events","assignees_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/assignees{/user}","branches_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/branches{/branch}","tags_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/tags","blobs_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/languages","stargazers_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/stargazers","contributors_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/contributors","subscribers_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/subscribers","subscription_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/subscription","commits_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/contents/{+path}","compare_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/merges","archive_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/downloads","issues_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues{/number}","pulls_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/labels{/name}","releases_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/releases{/id}","deployments_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/deployments","created_at":"2016-07-29T21:26:00Z","updated_at":"2016-08-12T03:07:06Z","pushed_at":"2016-09-07T18:23:21Z","git_url":"git://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib.git","ssh_url":"git@github.com:ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib.git","clone_url":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib.git","svn_url":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib","homepage":"http://www.ibm.com/","size":181,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"ibm-cloud-solutions:master","ref":"master","sha":"cabcbed89bad7a33dfd70471877158265a9d3e87","user":{"login":"ibm-cloud-solutions","id":20565902,"avatar_url":"https://avatars.githubusercontent.com/u/20565902?v=3","gravatar_id":"","url":"https://api.github.com/users/ibm-cloud-solutions","html_url":"https://github.com/ibm-cloud-solutions","followers_url":"https://api.github.com/users/ibm-cloud-solutions/followers","following_url":"https://api.github.com/users/ibm-cloud-solutions/following{/other_user}","gists_url":"https://api.github.com/users/ibm-cloud-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/ibm-cloud-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibm-cloud-solutions/subscriptions","organizations_url":"https://api.github.com/users/ibm-cloud-solutions/orgs","repos_url":"https://api.github.com/users/ibm-cloud-solutions/repos","events_url":"https://api.github.com/users/ibm-cloud-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/ibm-cloud-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":64511350,"name":"hubot-ibmcloud-cognitive-lib","full_name":"ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib","owner":{"login":"ibm-cloud-solutions","id":20565902,"avatar_url":"https://avatars.githubusercontent.com/u/20565902?v=3","gravatar_id":"","url":"https://api.github.com/users/ibm-cloud-solutions","html_url":"https://github.com/ibm-cloud-solutions","followers_url":"https://api.github.com/users/ibm-cloud-solutions/followers","following_url":"https://api.github.com/users/ibm-cloud-solutions/following{/other_user}","gists_url":"https://api.github.com/users/ibm-cloud-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/ibm-cloud-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibm-cloud-solutions/subscriptions","organizations_url":"https://api.github.com/users/ibm-cloud-solutions/orgs","repos_url":"https://api.github.com/users/ibm-cloud-solutions/repos","events_url":"https://api.github.com/users/ibm-cloud-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/ibm-cloud-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib","description":"Provides helper functions for configuring, storing, and processing information related to natural language processing of a statement","fork":false,"url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib","forks_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/forks","keys_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/teams","hooks_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/hooks","issue_events_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues/events{/number}","events_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/events","assignees_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/assignees{/user}","branches_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/branches{/branch}","tags_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/tags","blobs_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/languages","stargazers_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/stargazers","contributors_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/contributors","subscribers_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/subscribers","subscription_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/subscription","commits_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/contents/{+path}","compare_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/merges","archive_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/downloads","issues_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues{/number}","pulls_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/labels{/name}","releases_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/releases{/id}","deployments_url":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/deployments","created_at":"2016-07-29T21:26:00Z","updated_at":"2016-08-12T03:07:06Z","pushed_at":"2016-09-07T18:23:21Z","git_url":"git://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib.git","ssh_url":"git@github.com:ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib.git","clone_url":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib.git","svn_url":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib","homepage":"http://www.ibm.com/","size":181,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls/75"},"html":{"href":"https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pull/75"},"issue":{"href":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues/75"},"comments":{"href":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/ibm-cloud-solutions/hubot-ibmcloud-cognitive-lib/statuses/6563c448da662d1b2cb0815eff10edb2312f1c58"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":423,"deletions":98,"changed_files":8}}
{"actor":{"display_login":"jlpadilla"}}