{"action":"created","issue":{"url":"https://api.github.com/repos/allegro/akubra/issues/36","repository_url":"https://api.github.com/repos/allegro/akubra","labels_url":"https://api.github.com/repos/allegro/akubra/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/allegro/akubra/issues/36/comments","events_url":"https://api.github.com/repos/allegro/akubra/issues/36/events","html_url":"https://github.com/allegro/akubra/pull/36","id":216723988,"number":36,"title":"Akubra config validation","user":{"login":"bieli","id":183053,"avatar_url":"https://avatars2.githubusercontent.com/u/183053?v=3","gravatar_id":"","url":"https://api.github.com/users/bieli","html_url":"https://github.com/bieli","followers_url":"https://api.github.com/users/bieli/followers","following_url":"https://api.github.com/users/bieli/following{/other_user}","gists_url":"https://api.github.com/users/bieli/gists{/gist_id}","starred_url":"https://api.github.com/users/bieli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bieli/subscriptions","organizations_url":"https://api.github.com/users/bieli/orgs","repos_url":"https://api.github.com/users/bieli/repos","events_url":"https://api.github.com/users/bieli/events{/privacy}","received_events_url":"https://api.github.com/users/bieli/received_events","type":"User","site_admin":false},"labels":[{"id":467709051,"url":"https://api.github.com/repos/allegro/akubra/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":492487702,"url":"https://api.github.com/repos/allegro/akubra/labels/in%20progress","name":"in progress","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/allegro/akubra/milestones/2","html_url":"https://github.com/allegro/akubra/milestone/2","labels_url":"https://api.github.com/repos/allegro/akubra/milestones/2/labels","id":2168885,"number":2,"title":"Sharding","description":"","creator":{"login":"mjarco","id":535518,"avatar_url":"https://avatars2.githubusercontent.com/u/535518?v=3","gravatar_id":"","url":"https://api.github.com/users/mjarco","html_url":"https://github.com/mjarco","followers_url":"https://api.github.com/users/mjarco/followers","following_url":"https://api.github.com/users/mjarco/following{/other_user}","gists_url":"https://api.github.com/users/mjarco/gists{/gist_id}","starred_url":"https://api.github.com/users/mjarco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjarco/subscriptions","organizations_url":"https://api.github.com/users/mjarco/orgs","repos_url":"https://api.github.com/users/mjarco/repos","events_url":"https://api.github.com/users/mjarco/events{/privacy}","received_events_url":"https://api.github.com/users/mjarco/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-12-01T14:06:42Z","updated_at":"2017-03-24T09:55:50Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-03-24T09:55:50Z","updated_at":"2017-03-24T11:02:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/allegro/akubra/pulls/36","html_url":"https://github.com/allegro/akubra/pull/36","diff_url":"https://github.com/allegro/akubra/pull/36.diff","patch_url":"https://github.com/allegro/akubra/pull/36.patch"},"body":"It's important in CI and release processes for HA. One characters/type bug or wrong data structure in YAML field it's generating possible problem with akubra starting.\r\nWe would like to verifying config file without starting application with --test|-t parameter. E.g.\r\n```\r\n./akubra -c test.cfg.yaml -t\r\n2017/03/22 14:12:58 Akubra (development version)\r\n2017/03/22 14:12:58 Configuration checked - OK.\r\n\r\n------\r\n\r\n./akubra -c test.cfg.yaml -t\r\nFATAL [0000] [ ERROR ] Problem with parsing config file: 'test.cfg.yaml' - err: sync log method should be one from: GET, POST, DELETE, HEAD, OPTIONS - got \"PUTs\" !\r\n```\r\nWhen exitcode is 0 it's information about valid YAML configuration.\r\nWhen we have non-zero exitcode on STDOUT/STDERR we can see error message with reason description."},"comment":{"url":"https://api.github.com/repos/allegro/akubra/issues/comments/288993428","html_url":"https://github.com/allegro/akubra/pull/36#issuecomment-288993428","issue_url":"https://api.github.com/repos/allegro/akubra/issues/36","id":288993428,"user":{"login":"janisz","id":1616386,"avatar_url":"https://avatars3.githubusercontent.com/u/1616386?v=3","gravatar_id":"","url":"https://api.github.com/users/janisz","html_url":"https://github.com/janisz","followers_url":"https://api.github.com/users/janisz/followers","following_url":"https://api.github.com/users/janisz/following{/other_user}","gists_url":"https://api.github.com/users/janisz/gists{/gist_id}","starred_url":"https://api.github.com/users/janisz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janisz/subscriptions","organizations_url":"https://api.github.com/users/janisz/orgs","repos_url":"https://api.github.com/users/janisz/repos","events_url":"https://api.github.com/users/janisz/events{/privacy}","received_events_url":"https://api.github.com/users/janisz/received_events","type":"User","site_admin":false},"created_at":"2017-03-24T11:02:13Z","updated_at":"2017-03-24T11:02:13Z","body":"Have you considered using some lib handling configs and validation? "}}
{"actor":{"display_login":"janisz"}}