Tiny improvement for Jira - Was: Re: github OAuth authentication need ?

Olivier Berger olivier.berger at telecom-sudparis.eu
Tue Dec 8 10:09:41 UTC 2015


Hi.

I've been hit by rate-limiting on puppetlabs' Jira, and made sure to
reset credentials to the normal.

In the meantime, I've added a tiny bit of exception handling to propery
report the faulty SOAP endpoint.

You'll find it in cc161f3262df50c0c0f705ac482a4e31975228f7 on the
'obergix-master' branch.

An intereting improvement, though, would be to only initialize the WSDL
proxies for SOAP endpoints only when bugs on such trackers are actually
processed by btspull instead of at every run. It would avoid
authenticating unnecessarily, thus avoiding burning tokens^Wkittens for
nothing. I've put that in my TODO, but anyone faster would be much
welcome ;)

Hope this helps,

Sandro Tosi <morph at debian.org> writes:

>
>> I'd like to make the token configurable in the yaml file (and possibly
>> document its generation) but I'm in doubt about its actuall need.
>
> it's not different than all the other auth methods we use in the other btses
>

-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)



More information about the Bts-link-devel mailing list