{"action":"closed","number":52,"pull_request":{"url":"https://api.github.com/repos/xapi-project/xcp-rrdd/pulls/52","id":42610458,"html_url":"https://github.com/xapi-project/xcp-rrdd/pull/52","diff_url":"https://github.com/xapi-project/xcp-rrdd/pull/52.diff","patch_url":"https://github.com/xapi-project/xcp-rrdd/pull/52.patch","issue_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/issues/52","number":52,"state":"closed","locked":false,"title":"CP-12902: Expose the control interface over a message queue","user":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"body":"If the message switch is enabled, then this will serve control RPCs\r\nover the well-known queue name (org.xen.xcp.rrd). If the message\r\nswitch is not enabled, then there is no change.\r\n\r\nNote that we are still using a mix of Xcp_service code and custom\r\nUnix domain socket code because Xcp_service is not able to create the\r\nHTTP server configuration that we need. This means we must take care\r\nto only call `Xcp_service.make` when the message switch is enabled,\r\nor else it will erase the Unix domain socket that we just created.\r\n\r\nThis also changes the command-line syntax to be more consistent with\r\nother services. In particular the init.d script must use\r\n\r\n  --pidfile <foo> --daemon true\r\n\r\nSigned-off-by: David Scott <dave.scott@citrix.com>\r\n\r\nNeeds to be merged at the same time as [xenserver/xen-api-libs-specs#119]","created_at":"2015-08-17T17:02:45Z","updated_at":"2015-08-25T22:28:09Z","closed_at":"2015-08-25T22:28:09Z","merged_at":"2015-08-25T22:28:09Z","merge_commit_sha":"edb471de6df740e2f2ec2fbbef8d02b8f7138dc0","assignee":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/pulls/52/commits","review_comments_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/pulls/52/comments","review_comment_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/issues/52/comments","statuses_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/statuses/3d66272978eae413426e3cdc262128e581054221","head":{"label":"djs55:use-message-switch","ref":"use-message-switch","sha":"3d66272978eae413426e3cdc262128e581054221","user":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"repo":{"id":10758595,"name":"xcp-rrdd","full_name":"djs55/xcp-rrdd","owner":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djs55/xcp-rrdd","description":"The XCP RRDD daemon","fork":true,"url":"https://api.github.com/repos/djs55/xcp-rrdd","forks_url":"https://api.github.com/repos/djs55/xcp-rrdd/forks","keys_url":"https://api.github.com/repos/djs55/xcp-rrdd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djs55/xcp-rrdd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djs55/xcp-rrdd/teams","hooks_url":"https://api.github.com/repos/djs55/xcp-rrdd/hooks","issue_events_url":"https://api.github.com/repos/djs55/xcp-rrdd/issues/events{/number}","events_url":"https://api.github.com/repos/djs55/xcp-rrdd/events","assignees_url":"https://api.github.com/repos/djs55/xcp-rrdd/assignees{/user}","branches_url":"https://api.github.com/repos/djs55/xcp-rrdd/branches{/branch}","tags_url":"https://api.github.com/repos/djs55/xcp-rrdd/tags","blobs_url":"https://api.github.com/repos/djs55/xcp-rrdd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djs55/xcp-rrdd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djs55/xcp-rrdd/git/refs{/sha}","trees_url":"https://api.github.com/repos/djs55/xcp-rrdd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djs55/xcp-rrdd/statuses/{sha}","languages_url":"https://api.github.com/repos/djs55/xcp-rrdd/languages","stargazers_url":"https://api.github.com/repos/djs55/xcp-rrdd/stargazers","contributors_url":"https://api.github.com/repos/djs55/xcp-rrdd/contributors","subscribers_url":"https://api.github.com/repos/djs55/xcp-rrdd/subscribers","subscription_url":"https://api.github.com/repos/djs55/xcp-rrdd/subscription","commits_url":"https://api.github.com/repos/djs55/xcp-rrdd/commits{/sha}","git_commits_url":"https://api.github.com/repos/djs55/xcp-rrdd/git/commits{/sha}","comments_url":"https://api.github.com/repos/djs55/xcp-rrdd/comments{/number}","issue_comment_url":"https://api.github.com/repos/djs55/xcp-rrdd/issues/comments{/number}","contents_url":"https://api.github.com/repos/djs55/xcp-rrdd/contents/{+path}","compare_url":"https://api.github.com/repos/djs55/xcp-rrdd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djs55/xcp-rrdd/merges","archive_url":"https://api.github.com/repos/djs55/xcp-rrdd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djs55/xcp-rrdd/downloads","issues_url":"https://api.github.com/repos/djs55/xcp-rrdd/issues{/number}","pulls_url":"https://api.github.com/repos/djs55/xcp-rrdd/pulls{/number}","milestones_url":"https://api.github.com/repos/djs55/xcp-rrdd/milestones{/number}","notifications_url":"https://api.github.com/repos/djs55/xcp-rrdd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djs55/xcp-rrdd/labels{/name}","releases_url":"https://api.github.com/repos/djs55/xcp-rrdd/releases{/id}","created_at":"2013-06-18T09:02:25Z","updated_at":"2015-04-04T21:40:37Z","pushed_at":"2015-08-25T16:49:11Z","git_url":"git://github.com/djs55/xcp-rrdd.git","ssh_url":"git@github.com:djs55/xcp-rrdd.git","clone_url":"https://github.com/djs55/xcp-rrdd.git","svn_url":"https://github.com/djs55/xcp-rrdd","homepage":null,"size":28844,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xapi-project:master","ref":"master","sha":"620f018a2d95fa8f1c434c5f8908d25edd413172","user":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars.githubusercontent.com/u/317268?v=3","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"repo":{"id":8459591,"name":"xcp-rrdd","full_name":"xapi-project/xcp-rrdd","owner":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars.githubusercontent.com/u/317268?v=3","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xapi-project/xcp-rrdd","description":"The XCP RRDD daemon","fork":false,"url":"https://api.github.com/repos/xapi-project/xcp-rrdd","forks_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/forks","keys_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/teams","hooks_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/hooks","issue_events_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/issues/events{/number}","events_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/events","assignees_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/assignees{/user}","branches_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/branches{/branch}","tags_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/tags","blobs_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/git/refs{/sha}","trees_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/statuses/{sha}","languages_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/languages","stargazers_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/stargazers","contributors_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/contributors","subscribers_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/subscribers","subscription_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/subscription","commits_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/commits{/sha}","git_commits_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/git/commits{/sha}","comments_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/comments{/number}","issue_comment_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/issues/comments{/number}","contents_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/contents/{+path}","compare_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/merges","archive_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/downloads","issues_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/issues{/number}","pulls_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/pulls{/number}","milestones_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/milestones{/number}","notifications_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/labels{/name}","releases_url":"https://api.github.com/repos/xapi-project/xcp-rrdd/releases{/id}","created_at":"2013-02-27T16:02:11Z","updated_at":"2015-04-02T21:52:44Z","pushed_at":"2015-08-25T22:28:09Z","git_url":"git://github.com/xapi-project/xcp-rrdd.git","ssh_url":"git@github.com:xapi-project/xcp-rrdd.git","clone_url":"https://github.com/xapi-project/xcp-rrdd.git","svn_url":"https://github.com/xapi-project/xcp-rrdd","homepage":null,"size":29192,"stargazers_count":2,"watchers_count":2,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xapi-project/xcp-rrdd/pulls/52"},"html":{"href":"https://github.com/xapi-project/xcp-rrdd/pull/52"},"issue":{"href":"https://api.github.com/repos/xapi-project/xcp-rrdd/issues/52"},"comments":{"href":"https://api.github.com/repos/xapi-project/xcp-rrdd/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/xapi-project/xcp-rrdd/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/xapi-project/xcp-rrdd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xapi-project/xcp-rrdd/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/xapi-project/xcp-rrdd/statuses/3d66272978eae413426e3cdc262128e581054221"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"commits":2,"additions":36,"deletions":2,"changed_files":3}}