{"action":"opened","number":341,"pull_request":{"url":"https://api.github.com/repos/rickfast/consul-client/pulls/341","id":200917858,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwOTE3ODU4","html_url":"https://github.com/rickfast/consul-client/pull/341","diff_url":"https://github.com/rickfast/consul-client/pull/341.diff","patch_url":"https://github.com/rickfast/consul-client/pull/341.patch","issue_url":"https://api.github.com/repos/rickfast/consul-client/issues/341","number":341,"state":"open","locked":false,"title":"Enable setting args when registering service check","user":{"login":"yfouquet","id":22475230,"node_id":"MDQ6VXNlcjIyNDc1MjMw","avatar_url":"https://avatars2.githubusercontent.com/u/22475230?v=4","gravatar_id":"","url":"https://api.github.com/users/yfouquet","html_url":"https://github.com/yfouquet","followers_url":"https://api.github.com/users/yfouquet/followers","following_url":"https://api.github.com/users/yfouquet/following{/other_user}","gists_url":"https://api.github.com/users/yfouquet/gists{/gist_id}","starred_url":"https://api.github.com/users/yfouquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yfouquet/subscriptions","organizations_url":"https://api.github.com/users/yfouquet/orgs","repos_url":"https://api.github.com/users/yfouquet/repos","events_url":"https://api.github.com/users/yfouquet/events{/privacy}","received_events_url":"https://api.github.com/users/yfouquet/received_events","type":"User","site_admin":false},"body":"As stated in issue #340, the current code allows to set a script in checks as a single string whereas in current version of Consul (and for allo above 1.0) it has been replaced by a list of string. Also, the name of the property in the JSON changed from `script` to `args`.","created_at":"2018-07-12T08:01:22Z","updated_at":"2018-07-12T08:01:22Z","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/rickfast/consul-client/pulls/341/commits","review_comments_url":"https://api.github.com/repos/rickfast/consul-client/pulls/341/comments","review_comment_url":"https://api.github.com/repos/rickfast/consul-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rickfast/consul-client/issues/341/comments","statuses_url":"https://api.github.com/repos/rickfast/consul-client/statuses/dee70f6e03a1af704a9a9a83b0c4ef20cdfc9a46","head":{"label":"yfouquet:adjust_checks","ref":"adjust_checks","sha":"dee70f6e03a1af704a9a9a83b0c4ef20cdfc9a46","user":{"login":"yfouquet","id":22475230,"node_id":"MDQ6VXNlcjIyNDc1MjMw","avatar_url":"https://avatars2.githubusercontent.com/u/22475230?v=4","gravatar_id":"","url":"https://api.github.com/users/yfouquet","html_url":"https://github.com/yfouquet","followers_url":"https://api.github.com/users/yfouquet/followers","following_url":"https://api.github.com/users/yfouquet/following{/other_user}","gists_url":"https://api.github.com/users/yfouquet/gists{/gist_id}","starred_url":"https://api.github.com/users/yfouquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yfouquet/subscriptions","organizations_url":"https://api.github.com/users/yfouquet/orgs","repos_url":"https://api.github.com/users/yfouquet/repos","events_url":"https://api.github.com/users/yfouquet/events{/privacy}","received_events_url":"https://api.github.com/users/yfouquet/received_events","type":"User","site_admin":false},"repo":{"id":119073275,"node_id":"MDEwOlJlcG9zaXRvcnkxMTkwNzMyNzU=","name":"consul-client","full_name":"yfouquet/consul-client","owner":{"login":"yfouquet","id":22475230,"node_id":"MDQ6VXNlcjIyNDc1MjMw","avatar_url":"https://avatars2.githubusercontent.com/u/22475230?v=4","gravatar_id":"","url":"https://api.github.com/users/yfouquet","html_url":"https://github.com/yfouquet","followers_url":"https://api.github.com/users/yfouquet/followers","following_url":"https://api.github.com/users/yfouquet/following{/other_user}","gists_url":"https://api.github.com/users/yfouquet/gists{/gist_id}","starred_url":"https://api.github.com/users/yfouquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yfouquet/subscriptions","organizations_url":"https://api.github.com/users/yfouquet/orgs","repos_url":"https://api.github.com/users/yfouquet/repos","events_url":"https://api.github.com/users/yfouquet/events{/privacy}","received_events_url":"https://api.github.com/users/yfouquet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yfouquet/consul-client","description":"Java Client for Consul HTTP API","fork":true,"url":"https://api.github.com/repos/yfouquet/consul-client","forks_url":"https://api.github.com/repos/yfouquet/consul-client/forks","keys_url":"https://api.github.com/repos/yfouquet/consul-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yfouquet/consul-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yfouquet/consul-client/teams","hooks_url":"https://api.github.com/repos/yfouquet/consul-client/hooks","issue_events_url":"https://api.github.com/repos/yfouquet/consul-client/issues/events{/number}","events_url":"https://api.github.com/repos/yfouquet/consul-client/events","assignees_url":"https://api.github.com/repos/yfouquet/consul-client/assignees{/user}","branches_url":"https://api.github.com/repos/yfouquet/consul-client/branches{/branch}","tags_url":"https://api.github.com/repos/yfouquet/consul-client/tags","blobs_url":"https://api.github.com/repos/yfouquet/consul-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yfouquet/consul-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yfouquet/consul-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/yfouquet/consul-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yfouquet/consul-client/statuses/{sha}","languages_url":"https://api.github.com/repos/yfouquet/consul-client/languages","stargazers_url":"https://api.github.com/repos/yfouquet/consul-client/stargazers","contributors_url":"https://api.github.com/repos/yfouquet/consul-client/contributors","subscribers_url":"https://api.github.com/repos/yfouquet/consul-client/subscribers","subscription_url":"https://api.github.com/repos/yfouquet/consul-client/subscription","commits_url":"https://api.github.com/repos/yfouquet/consul-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/yfouquet/consul-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/yfouquet/consul-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/yfouquet/consul-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/yfouquet/consul-client/contents/{+path}","compare_url":"https://api.github.com/repos/yfouquet/consul-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yfouquet/consul-client/merges","archive_url":"https://api.github.com/repos/yfouquet/consul-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yfouquet/consul-client/downloads","issues_url":"https://api.github.com/repos/yfouquet/consul-client/issues{/number}","pulls_url":"https://api.github.com/repos/yfouquet/consul-client/pulls{/number}","milestones_url":"https://api.github.com/repos/yfouquet/consul-client/milestones{/number}","notifications_url":"https://api.github.com/repos/yfouquet/consul-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yfouquet/consul-client/labels{/name}","releases_url":"https://api.github.com/repos/yfouquet/consul-client/releases{/id}","deployments_url":"https://api.github.com/repos/yfouquet/consul-client/deployments","created_at":"2018-01-26T16:11:00Z","updated_at":"2018-06-25T16:46:42Z","pushed_at":"2018-07-12T07:58:59Z","git_url":"git://github.com/yfouquet/consul-client.git","ssh_url":"git@github.com:yfouquet/consul-client.git","clone_url":"https://github.com/yfouquet/consul-client.git","svn_url":"https://github.com/yfouquet/consul-client","homepage":"","size":921,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rickfast:master","ref":"master","sha":"951fae45fae48d0d163e7394bf06beef8b9b370c","user":{"login":"rickfast","id":295068,"node_id":"MDQ6VXNlcjI5NTA2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/295068?v=4","gravatar_id":"","url":"https://api.github.com/users/rickfast","html_url":"https://github.com/rickfast","followers_url":"https://api.github.com/users/rickfast/followers","following_url":"https://api.github.com/users/rickfast/following{/other_user}","gists_url":"https://api.github.com/users/rickfast/gists{/gist_id}","starred_url":"https://api.github.com/users/rickfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickfast/subscriptions","organizations_url":"https://api.github.com/users/rickfast/orgs","repos_url":"https://api.github.com/users/rickfast/repos","events_url":"https://api.github.com/users/rickfast/events{/privacy}","received_events_url":"https://api.github.com/users/rickfast/received_events","type":"User","site_admin":false},"repo":{"id":22845411,"node_id":"MDEwOlJlcG9zaXRvcnkyMjg0NTQxMQ==","name":"consul-client","full_name":"rickfast/consul-client","owner":{"login":"rickfast","id":295068,"node_id":"MDQ6VXNlcjI5NTA2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/295068?v=4","gravatar_id":"","url":"https://api.github.com/users/rickfast","html_url":"https://github.com/rickfast","followers_url":"https://api.github.com/users/rickfast/followers","following_url":"https://api.github.com/users/rickfast/following{/other_user}","gists_url":"https://api.github.com/users/rickfast/gists{/gist_id}","starred_url":"https://api.github.com/users/rickfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickfast/subscriptions","organizations_url":"https://api.github.com/users/rickfast/orgs","repos_url":"https://api.github.com/users/rickfast/repos","events_url":"https://api.github.com/users/rickfast/events{/privacy}","received_events_url":"https://api.github.com/users/rickfast/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rickfast/consul-client","description":"Java Client for Consul HTTP API","fork":false,"url":"https://api.github.com/repos/rickfast/consul-client","forks_url":"https://api.github.com/repos/rickfast/consul-client/forks","keys_url":"https://api.github.com/repos/rickfast/consul-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rickfast/consul-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rickfast/consul-client/teams","hooks_url":"https://api.github.com/repos/rickfast/consul-client/hooks","issue_events_url":"https://api.github.com/repos/rickfast/consul-client/issues/events{/number}","events_url":"https://api.github.com/repos/rickfast/consul-client/events","assignees_url":"https://api.github.com/repos/rickfast/consul-client/assignees{/user}","branches_url":"https://api.github.com/repos/rickfast/consul-client/branches{/branch}","tags_url":"https://api.github.com/repos/rickfast/consul-client/tags","blobs_url":"https://api.github.com/repos/rickfast/consul-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rickfast/consul-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rickfast/consul-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/rickfast/consul-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rickfast/consul-client/statuses/{sha}","languages_url":"https://api.github.com/repos/rickfast/consul-client/languages","stargazers_url":"https://api.github.com/repos/rickfast/consul-client/stargazers","contributors_url":"https://api.github.com/repos/rickfast/consul-client/contributors","subscribers_url":"https://api.github.com/repos/rickfast/consul-client/subscribers","subscription_url":"https://api.github.com/repos/rickfast/consul-client/subscription","commits_url":"https://api.github.com/repos/rickfast/consul-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/rickfast/consul-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/rickfast/consul-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/rickfast/consul-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/rickfast/consul-client/contents/{+path}","compare_url":"https://api.github.com/repos/rickfast/consul-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rickfast/consul-client/merges","archive_url":"https://api.github.com/repos/rickfast/consul-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rickfast/consul-client/downloads","issues_url":"https://api.github.com/repos/rickfast/consul-client/issues{/number}","pulls_url":"https://api.github.com/repos/rickfast/consul-client/pulls{/number}","milestones_url":"https://api.github.com/repos/rickfast/consul-client/milestones{/number}","notifications_url":"https://api.github.com/repos/rickfast/consul-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rickfast/consul-client/labels{/name}","releases_url":"https://api.github.com/repos/rickfast/consul-client/releases{/id}","deployments_url":"https://api.github.com/repos/rickfast/consul-client/deployments","created_at":"2014-08-11T16:06:56Z","updated_at":"2018-07-04T08:08:37Z","pushed_at":"2018-06-20T22:19:42Z","git_url":"git://github.com/rickfast/consul-client.git","ssh_url":"git@github.com:rickfast/consul-client.git","clone_url":"https://github.com/rickfast/consul-client.git","svn_url":"https://github.com/rickfast/consul-client","homepage":"","size":922,"stargazers_count":333,"watchers_count":333,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":165,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":165,"open_issues":19,"watchers":333,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rickfast/consul-client/pulls/341"},"html":{"href":"https://github.com/rickfast/consul-client/pull/341"},"issue":{"href":"https://api.github.com/repos/rickfast/consul-client/issues/341"},"comments":{"href":"https://api.github.com/repos/rickfast/consul-client/issues/341/comments"},"review_comments":{"href":"https://api.github.com/repos/rickfast/consul-client/pulls/341/comments"},"review_comment":{"href":"https://api.github.com/repos/rickfast/consul-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rickfast/consul-client/pulls/341/commits"},"statuses":{"href":"https://api.github.com/repos/rickfast/consul-client/statuses/dee70f6e03a1af704a9a9a83b0c4ef20cdfc9a46"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":83,"deletions":30,"changed_files":5}}
{"actor":{"display_login":"yfouquet"}}