{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/AV4TAr/php-library/pulls/2","id":192519409,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNTE5NDA5","html_url":"https://github.com/AV4TAr/php-library/pull/2","diff_url":"https://github.com/AV4TAr/php-library/pull/2.diff","patch_url":"https://github.com/AV4TAr/php-library/pull/2.patch","issue_url":"https://api.github.com/repos/AV4TAr/php-library/issues/2","number":2,"state":"open","locked":false,"title":"Initial Release ","user":{"login":"fedesilva","id":39183,"node_id":"MDQ6VXNlcjM5MTgz","avatar_url":"https://avatars1.githubusercontent.com/u/39183?v=4","gravatar_id":"","url":"https://api.github.com/users/fedesilva","html_url":"https://github.com/fedesilva","followers_url":"https://api.github.com/users/fedesilva/followers","following_url":"https://api.github.com/users/fedesilva/following{/other_user}","gists_url":"https://api.github.com/users/fedesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/fedesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedesilva/subscriptions","organizations_url":"https://api.github.com/users/fedesilva/orgs","repos_url":"https://api.github.com/users/fedesilva/repos","events_url":"https://api.github.com/users/fedesilva/events{/privacy}","received_events_url":"https://api.github.com/users/fedesilva/received_events","type":"User","site_admin":false},"body":"\r\nThis is the initial release branch of the Datahub php client. The purpose of this PR is gathering feedback before initial release proper.\r\n\r\nIn this PR:\r\n\r\n* We implement the code required connect to the transport  (rabbit),\r\n* a structure that holds configuration information (class `Config`, use it inside your factories),\r\n* the code required to send documents via the transport (class `Publisher`),\r\n* it enforces the types of the fields of the documents (key/value -> string/string),\r\n* it enforces correctness of the namespace and document type parameters,\r\n* and also enforces structural correctness for the documents (all fields present, all fields have correct names and types).\r\n\r\n**Notice:**\r\n\r\n* the readme.md needs updating and will be added before the \r\n\r\n**It lacks**\r\n\r\n* integration tests\r\n* unit tests are still very simple, but cover what I'm interested in right now.\r\n* elasticsearch access will happen in a separate PR/Branch\r\n\r\n\r\n\r\n","created_at":"2018-06-04T20:29:58Z","updated_at":"2018-06-04T20:29:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AV4TAr/php-library/pulls/2/commits","review_comments_url":"https://api.github.com/repos/AV4TAr/php-library/pulls/2/comments","review_comment_url":"https://api.github.com/repos/AV4TAr/php-library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AV4TAr/php-library/issues/2/comments","statuses_url":"https://api.github.com/repos/AV4TAr/php-library/statuses/fdd5a52d3a21e3774bc0513b256658c0e6fe1a8f","head":{"label":"WeConnect:initial-release","ref":"initial-release","sha":"fdd5a52d3a21e3774bc0513b256658c0e6fe1a8f","user":{"login":"WeConnect","id":1301846,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDE4NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1301846?v=4","gravatar_id":"","url":"https://api.github.com/users/WeConnect","html_url":"https://github.com/WeConnect","followers_url":"https://api.github.com/users/WeConnect/followers","following_url":"https://api.github.com/users/WeConnect/following{/other_user}","gists_url":"https://api.github.com/users/WeConnect/gists{/gist_id}","starred_url":"https://api.github.com/users/WeConnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeConnect/subscriptions","organizations_url":"https://api.github.com/users/WeConnect/orgs","repos_url":"https://api.github.com/users/WeConnect/repos","events_url":"https://api.github.com/users/WeConnect/events{/privacy}","received_events_url":"https://api.github.com/users/WeConnect/received_events","type":"Organization","site_admin":false},"repo":{"id":133375988,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzNzU5ODg=","name":"redt-datahub-php","full_name":"WeConnect/redt-datahub-php","owner":{"login":"WeConnect","id":1301846,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDE4NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1301846?v=4","gravatar_id":"","url":"https://api.github.com/users/WeConnect","html_url":"https://github.com/WeConnect","followers_url":"https://api.github.com/users/WeConnect/followers","following_url":"https://api.github.com/users/WeConnect/following{/other_user}","gists_url":"https://api.github.com/users/WeConnect/gists{/gist_id}","starred_url":"https://api.github.com/users/WeConnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeConnect/subscriptions","organizations_url":"https://api.github.com/users/WeConnect/orgs","repos_url":"https://api.github.com/users/WeConnect/repos","events_url":"https://api.github.com/users/WeConnect/events{/privacy}","received_events_url":"https://api.github.com/users/WeConnect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WeConnect/redt-datahub-php","description":"PHP library with helpers to use the datahub project","fork":true,"url":"https://api.github.com/repos/WeConnect/redt-datahub-php","forks_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/forks","keys_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/teams","hooks_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/hooks","issue_events_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/issues/events{/number}","events_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/events","assignees_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/assignees{/user}","branches_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/branches{/branch}","tags_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/tags","blobs_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/statuses/{sha}","languages_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/languages","stargazers_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/stargazers","contributors_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/contributors","subscribers_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/subscribers","subscription_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/subscription","commits_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/contents/{+path}","compare_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/merges","archive_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/downloads","issues_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/issues{/number}","pulls_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/pulls{/number}","milestones_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/milestones{/number}","notifications_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/labels{/name}","releases_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/releases{/id}","deployments_url":"https://api.github.com/repos/WeConnect/redt-datahub-php/deployments","created_at":"2018-05-14T14:42:34Z","updated_at":"2018-06-04T20:17:54Z","pushed_at":"2018-06-04T20:17:53Z","git_url":"git://github.com/WeConnect/redt-datahub-php.git","ssh_url":"git@github.com:WeConnect/redt-datahub-php.git","clone_url":"https://github.com/WeConnect/redt-datahub-php.git","svn_url":"https://github.com/WeConnect/redt-datahub-php","homepage":"","size":6,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AV4TAr:master","ref":"master","sha":"0d8853ac70d84ea2eedeb63c0eda570ec29046f7","user":{"login":"AV4TAr","id":281805,"node_id":"MDQ6VXNlcjI4MTgwNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/281805?v=4","gravatar_id":"","url":"https://api.github.com/users/AV4TAr","html_url":"https://github.com/AV4TAr","followers_url":"https://api.github.com/users/AV4TAr/followers","following_url":"https://api.github.com/users/AV4TAr/following{/other_user}","gists_url":"https://api.github.com/users/AV4TAr/gists{/gist_id}","starred_url":"https://api.github.com/users/AV4TAr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AV4TAr/subscriptions","organizations_url":"https://api.github.com/users/AV4TAr/orgs","repos_url":"https://api.github.com/users/AV4TAr/repos","events_url":"https://api.github.com/users/AV4TAr/events{/privacy}","received_events_url":"https://api.github.com/users/AV4TAr/received_events","type":"User","site_admin":false},"repo":{"id":74162338,"node_id":"MDEwOlJlcG9zaXRvcnk3NDE2MjMzOA==","name":"php-library","full_name":"AV4TAr/php-library","owner":{"login":"AV4TAr","id":281805,"node_id":"MDQ6VXNlcjI4MTgwNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/281805?v=4","gravatar_id":"","url":"https://api.github.com/users/AV4TAr","html_url":"https://github.com/AV4TAr","followers_url":"https://api.github.com/users/AV4TAr/followers","following_url":"https://api.github.com/users/AV4TAr/following{/other_user}","gists_url":"https://api.github.com/users/AV4TAr/gists{/gist_id}","starred_url":"https://api.github.com/users/AV4TAr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AV4TAr/subscriptions","organizations_url":"https://api.github.com/users/AV4TAr/orgs","repos_url":"https://api.github.com/users/AV4TAr/repos","events_url":"https://api.github.com/users/AV4TAr/events{/privacy}","received_events_url":"https://api.github.com/users/AV4TAr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AV4TAr/php-library","description":"Wanna build a php library clone this and start","fork":false,"url":"https://api.github.com/repos/AV4TAr/php-library","forks_url":"https://api.github.com/repos/AV4TAr/php-library/forks","keys_url":"https://api.github.com/repos/AV4TAr/php-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AV4TAr/php-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AV4TAr/php-library/teams","hooks_url":"https://api.github.com/repos/AV4TAr/php-library/hooks","issue_events_url":"https://api.github.com/repos/AV4TAr/php-library/issues/events{/number}","events_url":"https://api.github.com/repos/AV4TAr/php-library/events","assignees_url":"https://api.github.com/repos/AV4TAr/php-library/assignees{/user}","branches_url":"https://api.github.com/repos/AV4TAr/php-library/branches{/branch}","tags_url":"https://api.github.com/repos/AV4TAr/php-library/tags","blobs_url":"https://api.github.com/repos/AV4TAr/php-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AV4TAr/php-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AV4TAr/php-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/AV4TAr/php-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AV4TAr/php-library/statuses/{sha}","languages_url":"https://api.github.com/repos/AV4TAr/php-library/languages","stargazers_url":"https://api.github.com/repos/AV4TAr/php-library/stargazers","contributors_url":"https://api.github.com/repos/AV4TAr/php-library/contributors","subscribers_url":"https://api.github.com/repos/AV4TAr/php-library/subscribers","subscription_url":"https://api.github.com/repos/AV4TAr/php-library/subscription","commits_url":"https://api.github.com/repos/AV4TAr/php-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/AV4TAr/php-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/AV4TAr/php-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/AV4TAr/php-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/AV4TAr/php-library/contents/{+path}","compare_url":"https://api.github.com/repos/AV4TAr/php-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AV4TAr/php-library/merges","archive_url":"https://api.github.com/repos/AV4TAr/php-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AV4TAr/php-library/downloads","issues_url":"https://api.github.com/repos/AV4TAr/php-library/issues{/number}","pulls_url":"https://api.github.com/repos/AV4TAr/php-library/pulls{/number}","milestones_url":"https://api.github.com/repos/AV4TAr/php-library/milestones{/number}","notifications_url":"https://api.github.com/repos/AV4TAr/php-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AV4TAr/php-library/labels{/name}","releases_url":"https://api.github.com/repos/AV4TAr/php-library/releases{/id}","deployments_url":"https://api.github.com/repos/AV4TAr/php-library/deployments","created_at":"2016-11-18T20:01:39Z","updated_at":"2016-11-18T20:03:32Z","pushed_at":"2016-12-07T19:20:48Z","git_url":"git://github.com/AV4TAr/php-library.git","ssh_url":"git@github.com:AV4TAr/php-library.git","clone_url":"https://github.com/AV4TAr/php-library.git","svn_url":"https://github.com/AV4TAr/php-library","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AV4TAr/php-library/pulls/2"},"html":{"href":"https://github.com/AV4TAr/php-library/pull/2"},"issue":{"href":"https://api.github.com/repos/AV4TAr/php-library/issues/2"},"comments":{"href":"https://api.github.com/repos/AV4TAr/php-library/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/AV4TAr/php-library/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/AV4TAr/php-library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AV4TAr/php-library/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/AV4TAr/php-library/statuses/fdd5a52d3a21e3774bc0513b256658c0e6fe1a8f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":6,"additions":4928,"deletions":25,"changed_files":17}}
{"actor":{"display_login":"fedesilva"}}