{"action":"created","issue":{"url":"https://api.github.com/repos/selimekizoglu/pocker/issues/1","repository_url":"https://api.github.com/repos/selimekizoglu/pocker","labels_url":"https://api.github.com/repos/selimekizoglu/pocker/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/selimekizoglu/pocker/issues/1/comments","events_url":"https://api.github.com/repos/selimekizoglu/pocker/issues/1/events","html_url":"https://github.com/selimekizoglu/pocker/pull/1","id":169551198,"number":1,"title":"new feature : ExpectAtLeast is the minimum number of registered services","user":{"login":"boranx","id":20660506,"avatar_url":"https://avatars.githubusercontent.com/u/20660506?v=3","gravatar_id":"","url":"https://api.github.com/users/boranx","html_url":"https://github.com/boranx","followers_url":"https://api.github.com/users/boranx/followers","following_url":"https://api.github.com/users/boranx/following{/other_user}","gists_url":"https://api.github.com/users/boranx/gists{/gist_id}","starred_url":"https://api.github.com/users/boranx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boranx/subscriptions","organizations_url":"https://api.github.com/users/boranx/orgs","repos_url":"https://api.github.com/users/boranx/repos","events_url":"https://api.github.com/users/boranx/events{/privacy}","received_events_url":"https://api.github.com/users/boranx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/selimekizoglu/pocker/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-05T08:03:58Z","updated_at":"2016-08-11T14:23:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/selimekizoglu/pocker/pulls/1","html_url":"https://github.com/selimekizoglu/pocker/pull/1","diff_url":"https://github.com/selimekizoglu/pocker/pull/1.diff","patch_url":"https://github.com/selimekizoglu/pocker/pull/1.patch"},"body":"example logs of this feature...\r\n\r\nubuntu@ubuntu-01:~$ ./pocker -consul 10.15.25.35:8500 -expectAtLeast 4 -service example-app -endpoint / -retry 3 -timeout 5000\r\n2016/08/05 09:33:00 Running: [-consul 10.15.25.35:8500 -expectAtLeast 4 -service example-app -endpoint / -retry 3 -timeout 5000]\r\n2016/08/05 09:33:00 Retrieving service example-app from consul (10.15.25.35:8500)\r\n2016/08/05 09:33:00 Expected at least 4 services, but consul returned 3\r\n\r\nubuntu@ubuntu-01:~$ ./pocker -consul 10.15.25.35:8500 -expectAtLeast 2 -service example-app -endpoint / -retry 3 -timeout 5000\r\n2016/08/05 09:41:17 Running: [-consul 10.15.25.35:8500 -expectAtLeast 2 -service example-app -endpoint / -retry 3 -timeout 5000]\r\n2016/08/05 09:41:17 Retrieving service example-app from consul (10.15.25.35:8500)\r\n2016/08/05 09:41:17 Poking http://10.15.25.36:32785/\r\n2016/08/05 09:41:17 Poking http://10.15.25.37:32777/\r\n2016/08/05 09:41:17 Poking http://10.15.25.38:32775/\r\n"},"comment":{"url":"https://api.github.com/repos/selimekizoglu/pocker/issues/comments/239176061","html_url":"https://github.com/selimekizoglu/pocker/pull/1#issuecomment-239176061","issue_url":"https://api.github.com/repos/selimekizoglu/pocker/issues/1","id":239176061,"user":{"login":"selimekizoglu","id":741942,"avatar_url":"https://avatars.githubusercontent.com/u/741942?v=3","gravatar_id":"","url":"https://api.github.com/users/selimekizoglu","html_url":"https://github.com/selimekizoglu","followers_url":"https://api.github.com/users/selimekizoglu/followers","following_url":"https://api.github.com/users/selimekizoglu/following{/other_user}","gists_url":"https://api.github.com/users/selimekizoglu/gists{/gist_id}","starred_url":"https://api.github.com/users/selimekizoglu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selimekizoglu/subscriptions","organizations_url":"https://api.github.com/users/selimekizoglu/orgs","repos_url":"https://api.github.com/users/selimekizoglu/repos","events_url":"https://api.github.com/users/selimekizoglu/events{/privacy}","received_events_url":"https://api.github.com/users/selimekizoglu/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T14:23:54Z","updated_at":"2016-08-11T14:23:54Z","body":"What happens if I pass expect x and expectAtLeast y where x != y?"}}
{"actor":{"display_login":"selimekizoglu"}}