{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/26","id":31250749,"html_url":"https://github.com/hawkular/hawkular-alerts/pull/26","diff_url":"https://github.com/hawkular/hawkular-alerts/pull/26.diff","patch_url":"https://github.com/hawkular/hawkular-alerts/pull/26.patch","issue_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/26","number":26,"state":"closed","locked":false,"title":"Swagger docs auto push","user":{"login":"Jiri-Kremser","id":535866,"avatar_url":"https://avatars.githubusercontent.com/u/535866?v=3","gravatar_id":"","url":"https://api.github.com/users/Jiri-Kremser","html_url":"https://github.com/Jiri-Kremser","followers_url":"https://api.github.com/users/Jiri-Kremser/followers","following_url":"https://api.github.com/users/Jiri-Kremser/following{/other_user}","gists_url":"https://api.github.com/users/Jiri-Kremser/gists{/gist_id}","starred_url":"https://api.github.com/users/Jiri-Kremser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jiri-Kremser/subscriptions","organizations_url":"https://api.github.com/users/Jiri-Kremser/orgs","repos_url":"https://api.github.com/users/Jiri-Kremser/repos","events_url":"https://api.github.com/users/Jiri-Kremser/events{/privacy}","received_events_url":"https://api.github.com/users/Jiri-Kremser/received_events","type":"User","site_admin":false},"body":"Part of this PR is also upgrading swagger to 2.10 to alight with other projects.\r\nThe `responseClass` annotation attribute was removed in 2.10, hence the `responseContainer` and `response` attributes. This is the suggested way now, afaik.\r\n\r\nTravis build won't invoke the build of the website immediately (=> tons of builds), but once the website is built it takes this up-to-date adoc file by this script (and adds a jBake header). Basically the poll model.\r\n\r\nthe \"other side\" of the mechanism:\r\nhttps://github.com/hawkular/hawkular.github.io/blob/pages/.travis.swagger.sh\r\n\r\nIt uses GitHub API for pushing/reading the files, because githum mvn plugin is quite heavy-weight and we don't need to clone/push whole repo (it's expensive in Travis and it prolongs the build time).","created_at":"2015-03-16T14:58:51Z","updated_at":"2015-03-25T14:45:50Z","closed_at":"2015-03-25T14:45:50Z","merged_at":"2015-03-25T14:45:50Z","merge_commit_sha":"7df815d5d7088534acb556d87cf96ead709bdb42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/26/commits","review_comments_url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/26/comments","review_comment_url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/26/comments","statuses_url":"https://api.github.com/repos/hawkular/hawkular-alerts/statuses/4b81fa8154c34ae2cfa67aa32664e2aef04a4fdd","head":{"label":"Jiri-Kremser:swagger-docs-auto-push2","ref":"swagger-docs-auto-push2","sha":"4b81fa8154c34ae2cfa67aa32664e2aef04a4fdd","user":{"login":"Jiri-Kremser","id":535866,"avatar_url":"https://avatars.githubusercontent.com/u/535866?v=3","gravatar_id":"","url":"https://api.github.com/users/Jiri-Kremser","html_url":"https://github.com/Jiri-Kremser","followers_url":"https://api.github.com/users/Jiri-Kremser/followers","following_url":"https://api.github.com/users/Jiri-Kremser/following{/other_user}","gists_url":"https://api.github.com/users/Jiri-Kremser/gists{/gist_id}","starred_url":"https://api.github.com/users/Jiri-Kremser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jiri-Kremser/subscriptions","organizations_url":"https://api.github.com/users/Jiri-Kremser/orgs","repos_url":"https://api.github.com/users/Jiri-Kremser/repos","events_url":"https://api.github.com/users/Jiri-Kremser/events{/privacy}","received_events_url":"https://api.github.com/users/Jiri-Kremser/received_events","type":"User","site_admin":false},"repo":{"id":32327247,"name":"hawkular-alerts","full_name":"Jiri-Kremser/hawkular-alerts","owner":{"login":"Jiri-Kremser","id":535866,"avatar_url":"https://avatars.githubusercontent.com/u/535866?v=3","gravatar_id":"","url":"https://api.github.com/users/Jiri-Kremser","html_url":"https://github.com/Jiri-Kremser","followers_url":"https://api.github.com/users/Jiri-Kremser/followers","following_url":"https://api.github.com/users/Jiri-Kremser/following{/other_user}","gists_url":"https://api.github.com/users/Jiri-Kremser/gists{/gist_id}","starred_url":"https://api.github.com/users/Jiri-Kremser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jiri-Kremser/subscriptions","organizations_url":"https://api.github.com/users/Jiri-Kremser/orgs","repos_url":"https://api.github.com/users/Jiri-Kremser/repos","events_url":"https://api.github.com/users/Jiri-Kremser/events{/privacy}","received_events_url":"https://api.github.com/users/Jiri-Kremser/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jiri-Kremser/hawkular-alerts","description":"Alerting subsystem for Hawkular","fork":true,"url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts","forks_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/forks","keys_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/teams","hooks_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/hooks","issue_events_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/issues/events{/number}","events_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/events","assignees_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/assignees{/user}","branches_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/branches{/branch}","tags_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/tags","blobs_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/statuses/{sha}","languages_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/languages","stargazers_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/stargazers","contributors_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/contributors","subscribers_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/subscribers","subscription_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/subscription","commits_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/contents/{+path}","compare_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/merges","archive_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/downloads","issues_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/issues{/number}","pulls_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/pulls{/number}","milestones_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/milestones{/number}","notifications_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/labels{/name}","releases_url":"https://api.github.com/repos/Jiri-Kremser/hawkular-alerts/releases{/id}","created_at":"2015-03-16T13:37:22Z","updated_at":"2015-03-16T13:37:23Z","pushed_at":"2015-03-24T18:45:06Z","git_url":"git://github.com/Jiri-Kremser/hawkular-alerts.git","ssh_url":"git@github.com:Jiri-Kremser/hawkular-alerts.git","clone_url":"https://github.com/Jiri-Kremser/hawkular-alerts.git","svn_url":"https://github.com/Jiri-Kremser/hawkular-alerts","homepage":null,"size":583,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"hawkular:wintermute","ref":"wintermute","sha":"33719cadcc7b63f92531ba927addce0c3de93dec","user":{"login":"hawkular","id":10179627,"avatar_url":"https://avatars.githubusercontent.com/u/10179627?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkular","html_url":"https://github.com/hawkular","followers_url":"https://api.github.com/users/hawkular/followers","following_url":"https://api.github.com/users/hawkular/following{/other_user}","gists_url":"https://api.github.com/users/hawkular/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkular/subscriptions","organizations_url":"https://api.github.com/users/hawkular/orgs","repos_url":"https://api.github.com/users/hawkular/repos","events_url":"https://api.github.com/users/hawkular/events{/privacy}","received_events_url":"https://api.github.com/users/hawkular/received_events","type":"Organization","site_admin":false},"repo":{"id":29608496,"name":"hawkular-alerts","full_name":"hawkular/hawkular-alerts","owner":{"login":"hawkular","id":10179627,"avatar_url":"https://avatars.githubusercontent.com/u/10179627?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkular","html_url":"https://github.com/hawkular","followers_url":"https://api.github.com/users/hawkular/followers","following_url":"https://api.github.com/users/hawkular/following{/other_user}","gists_url":"https://api.github.com/users/hawkular/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkular/subscriptions","organizations_url":"https://api.github.com/users/hawkular/orgs","repos_url":"https://api.github.com/users/hawkular/repos","events_url":"https://api.github.com/users/hawkular/events{/privacy}","received_events_url":"https://api.github.com/users/hawkular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hawkular/hawkular-alerts","description":"Alerting subsystem for Hawkular","fork":false,"url":"https://api.github.com/repos/hawkular/hawkular-alerts","forks_url":"https://api.github.com/repos/hawkular/hawkular-alerts/forks","keys_url":"https://api.github.com/repos/hawkular/hawkular-alerts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hawkular/hawkular-alerts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hawkular/hawkular-alerts/teams","hooks_url":"https://api.github.com/repos/hawkular/hawkular-alerts/hooks","issue_events_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/events{/number}","events_url":"https://api.github.com/repos/hawkular/hawkular-alerts/events","assignees_url":"https://api.github.com/repos/hawkular/hawkular-alerts/assignees{/user}","branches_url":"https://api.github.com/repos/hawkular/hawkular-alerts/branches{/branch}","tags_url":"https://api.github.com/repos/hawkular/hawkular-alerts/tags","blobs_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/refs{/sha}","trees_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hawkular/hawkular-alerts/statuses/{sha}","languages_url":"https://api.github.com/repos/hawkular/hawkular-alerts/languages","stargazers_url":"https://api.github.com/repos/hawkular/hawkular-alerts/stargazers","contributors_url":"https://api.github.com/repos/hawkular/hawkular-alerts/contributors","subscribers_url":"https://api.github.com/repos/hawkular/hawkular-alerts/subscribers","subscription_url":"https://api.github.com/repos/hawkular/hawkular-alerts/subscription","commits_url":"https://api.github.com/repos/hawkular/hawkular-alerts/commits{/sha}","git_commits_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/commits{/sha}","comments_url":"https://api.github.com/repos/hawkular/hawkular-alerts/comments{/number}","issue_comment_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/comments{/number}","contents_url":"https://api.github.com/repos/hawkular/hawkular-alerts/contents/{+path}","compare_url":"https://api.github.com/repos/hawkular/hawkular-alerts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hawkular/hawkular-alerts/merges","archive_url":"https://api.github.com/repos/hawkular/hawkular-alerts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hawkular/hawkular-alerts/downloads","issues_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues{/number}","pulls_url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls{/number}","milestones_url":"https://api.github.com/repos/hawkular/hawkular-alerts/milestones{/number}","notifications_url":"https://api.github.com/repos/hawkular/hawkular-alerts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hawkular/hawkular-alerts/labels{/name}","releases_url":"https://api.github.com/repos/hawkular/hawkular-alerts/releases{/id}","created_at":"2015-01-21T19:59:08Z","updated_at":"2015-03-25T14:13:14Z","pushed_at":"2015-03-25T14:45:50Z","git_url":"git://github.com/hawkular/hawkular-alerts.git","ssh_url":"git@github.com:hawkular/hawkular-alerts.git","clone_url":"https://github.com/hawkular/hawkular-alerts.git","svn_url":"https://github.com/hawkular/hawkular-alerts","homepage":null,"size":1288,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/26"},"html":{"href":"https://github.com/hawkular/hawkular-alerts/pull/26"},"issue":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/26"},"comments":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/statuses/4b81fa8154c34ae2cfa67aa32664e2aef04a4fdd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lucasponce","id":1662329,"avatar_url":"https://avatars.githubusercontent.com/u/1662329?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasponce","html_url":"https://github.com/lucasponce","followers_url":"https://api.github.com/users/lucasponce/followers","following_url":"https://api.github.com/users/lucasponce/following{/other_user}","gists_url":"https://api.github.com/users/lucasponce/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasponce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasponce/subscriptions","organizations_url":"https://api.github.com/users/lucasponce/orgs","repos_url":"https://api.github.com/users/lucasponce/repos","events_url":"https://api.github.com/users/lucasponce/events{/privacy}","received_events_url":"https://api.github.com/users/lucasponce/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":6,"additions":238,"deletions":201,"changed_files":10}}