[jbosstools-issues] [JBoss JIRA] (JBIDE-20546) Discrepancy between git webhooks shown in OpenShift tooling vs Web Console

Fred Bricon (JIRA) issues at jboss.org
Tue Sep 1 16:25:05 EDT 2015


Fred Bricon created JBIDE-20546:
-----------------------------------

             Summary: 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


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.3.15#6346)


More information about the jbosstools-issues mailing list