[jbosstools-issues] [JBoss JIRA] (JBIDE-20546) Discrepancy between git webhooks shown in OpenShift tooling vs Web Console
Jeff Cantrill (JIRA)
issues at jboss.org
Fri Sep 4 14:36:00 EDT 2015
[ https://issues.jboss.org/browse/JBIDE-20546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105804#comment-13105804 ]
Jeff Cantrill edited comment on JBIDE-20546 at 9/4/15 2:35 PM:
---------------------------------------------------------------
{code}
$ oc describe eap-app
Webhook GitHub: https://localhost:8443/oapi/v1/namespaces/hello-world/buildconfigs/eap-app/webhooks/lqim3cy5/github
Webhook Generic: https://localhost:8443/oapi/v1/namespaces/hello-world/buildconfigs/eap-app/webhooks/DSfSNf3C/generic
{code}
was (Author: jcantrill):
{{$ oc describe eap-app
...
Webhook GitHub: https://localhost:8443/oapi/v1/namespaces/hello-world/buildconfigs/eap-app/webhooks/lqim3cy5/github
Webhook Generic: https://localhost:8443/oapi/v1/namespaces/hello-world/buildconfigs/eap-app/webhooks/DSfSNf3C/generic
...}}
> Discrepancy between git webhooks shown in OpenShift tooling vs Web Console
> --------------------------------------------------------------------------
>
> Key: JBIDE-20546
> URL: https://issues.jboss.org/browse/JBIDE-20546
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.CR1
> Reporter: Fred Bricon
> Assignee: Jeff Cantrill
> Fix For: 4.3.0.CR1
>
>
> Bug initially reported as https://github.com/openshift/origin/issues/4458. Duplicating here for documentation purposes.
> {quote}
> Creating apps on a bunch of servers running OS3 v1, I noticed the webhooks the web console shows are of the form:
> https://api.xxx.openshift.com/osapi/v1beta3/namespaces/ks/buildconfigs/eap-app/webhooks/mar2jBvT/github
> The java rest client @jcantrill is working on generates urls following the actual OS version, i.e:
> https://console.xxx.openshift.com/oapi/v1/namespaces/ks/buildconfigs/eap-app/webhooks/mar2jbvt/github
> Turns out only the v1beta3 url work. Still, this seems unexpected. So the question is:
> should openshift servers use a v1 based webhook url or
> should the java rest client be "fixed" to use v1beta3 urls instead of v1 when computing webhooks?
> {quote}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list