{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/4458","labels_url":"https://api.github.com/repos/openshift/origin/issues/4458/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/4458/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/4458/events","html_url":"https://github.com/openshift/origin/issues/4458","id":104343751,"number":4458,"title":"Unexpected webhook url pattern","user":{"login":"fbricon","id":148698,"avatar_url":"https://avatars.githubusercontent.com/u/148698?v=3","gravatar_id":"","url":"https://api.github.com/users/fbricon","html_url":"https://github.com/fbricon","followers_url":"https://api.github.com/users/fbricon/followers","following_url":"https://api.github.com/users/fbricon/following{/other_user}","gists_url":"https://api.github.com/users/fbricon/gists{/gist_id}","starred_url":"https://api.github.com/users/fbricon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbricon/subscriptions","organizations_url":"https://api.github.com/users/fbricon/orgs","repos_url":"https://api.github.com/users/fbricon/repos","events_url":"https://api.github.com/users/fbricon/events{/privacy}","received_events_url":"https://api.github.com/users/fbricon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/component/build","name":"component/build","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/kind/bug","name":"kind/bug","color":"fc2929"},{"url":"https://api.github.com/repos/openshift/origin/labels/priority/P1","name":"priority/P1","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-01T20:05:13Z","updated_at":"2015-09-02T13:31:38Z","closed_at":null,"body":"Creating apps on a bunch of servers running OS3 v1, I noticed the webhooks the web console shows are of the form:\r\nhttps://api.xxx.openshift.com/osapi/v1beta3/namespaces/ks/buildconfigs/eap-app/webhooks/mar2jBvT/github\r\n\r\nThe java rest client @jcantrill is working on generates urls following the actual OS version, i.e:\r\nhttps://console.xxx.openshift.com/oapi/v1/namespaces/ks/buildconfigs/eap-app/webhooks/mar2jbvt/github\r\n\r\nTurns out only the v1beta3 url work. Still, this seems unexpected. So the question is:\r\n- should openshift servers use a v1 based webhook url\r\nor\r\n- should the java rest client be \"fixed\" to use v1beta3 urls instead of v1 when computing webhooks?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/137079845","html_url":"https://github.com/openshift/origin/issues/4458#issuecomment-137079845","issue_url":"https://api.github.com/repos/openshift/origin/issues/4458","id":137079845,"user":{"login":"fbricon","id":148698,"avatar_url":"https://avatars.githubusercontent.com/u/148698?v=3","gravatar_id":"","url":"https://api.github.com/users/fbricon","html_url":"https://github.com/fbricon","followers_url":"https://api.github.com/users/fbricon/followers","following_url":"https://api.github.com/users/fbricon/following{/other_user}","gists_url":"https://api.github.com/users/fbricon/gists{/gist_id}","starred_url":"https://api.github.com/users/fbricon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbricon/subscriptions","organizations_url":"https://api.github.com/users/fbricon/orgs","repos_url":"https://api.github.com/users/fbricon/repos","events_url":"https://api.github.com/users/fbricon/events{/privacy}","received_events_url":"https://api.github.com/users/fbricon/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T13:31:38Z","updated_at":"2015-09-02T13:31:38Z","body":"@liggitt when using the v1 webhook, in this case https://console.xxx.openshift.com/oapi/v1/namespaces/fred/buildconfigs/cakephp-example/webhooks/apbh7tobprv1vyiqpbn4vsmq44hl60aede2imbbb/github, I get:\r\n![](http://content.screencast.com/users/fbricon/folders/Jing/media/e29a31aa-8506-4066-bb29-bedb01b47b4f/00000172.png)\r\n\r\nI have the same error if I use https://api.xxx.openshift.com/oapi/v1/... instead\r\n\r\n\r\n"}}