Closed Bug 1086620 Opened 10 years ago Closed 10 years ago

Migrate slave tools to bugzilla REST API

Categories

(Release Engineering :: General, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: coop, Assigned: coop)

Details

Attachments

(2 files)

You are receiving this email because a service or services you are
believed to own or control, at the following URL(s) (prefixed numbers
are hit counts in the past 14 days):

    917
https://secure.pub.build.mozilla.org/builddata/reports/slave_health/slave.html
    275
https://secure.pub.build.mozilla.org/builddata/reports/slave_health/slavetype.html
     12 https://secure.pub.build.mozilla.org/slavealloc/ui/

is/are making requests of "BzAPI", the Bugzilla API proxy server at
https://api-dev.bugzilla.mozilla.org/.

This service is due to be decommissioned. Fortunately, Bugzilla has a
new native REST API which works somewhat similarly that you could use
instead:
https://wiki.mozilla.org/Bugzilla:REST_API

Moving to that new API would require some porting work. If that seems
like too much effort, fear not, because there is also a BzAPI
compatibility layer built on top of the new API. Because it's
compatible, using that should simply require a change of API endpoint.

Change:
https://api-dev.bugzilla.mozilla.org/latest/
(or https://api-dev.bugzilla.mozilla.org/1.3/)
to
https://bugzilla.mozilla.org/bzapi/

You should not expect the api-dev server to continue to work after
Friday 14th November. So please test and migrate your production
instance(s) over before then, either to the BzAPI compatibility endpoint
or to the new native REST API.

Thanks for using BzAPI. It's been a great ride 

Gerv
Attachment #8508792 - Flags: review?(bugspam.Callek)
These versions are meant to be identical/in sync, but we've missed a few update iterations.
Attachment #8508794 - Flags: review?(bugspam.Callek)
Attachment #8508792 - Flags: review?(bugspam.Callek) → review+
Comment on attachment 8508794 [details] [diff] [review]
[tools] Sync slavealloc bugzilla.js with version from slave health

Review of attachment 8508794 [details] [diff] [review]:
-----------------------------------------------------------------

Stamp
Attachment #8508794 - Flags: review?(bugspam.Callek) → review+
Comment on attachment 8508794 [details] [diff] [review]
[tools] Sync slavealloc bugzilla.js with version from slave health

Review of attachment 8508794 [details] [diff] [review]:
-----------------------------------------------------------------

https://hg.mozilla.org/build/tools/rev/9f286a3be318
Attachment #8508794 - Flags: checked-in+
Comment on attachment 8508792 [details] [diff] [review]
[slave health] Use bugzilla REST API

Review of attachment 8508792 [details] [diff] [review]:
-----------------------------------------------------------------

https://hg.mozilla.org/build/slave_health/rev/ffd840eb101d
Attachment #8508792 - Flags: checked-in+
Deployed to both slavealloc and slave health.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
On 22 Oct 2014, at 13:38, Pete Moore <pmoore@mozilla.com> wrote:

Hi Gerv,

In another script we are posting to:
https://bugzilla.mozilla.org/rest/bug/<bug number>/comment

Do you know if this url needs to change too, or isn’t affected (it doesn’t appear to match any of the three below)?

Many thanks,
Pete


On 20 Oct 2014, at 16:52, Gervase Markham <gerv@mozilla.org> wrote:

Change:
https://api-dev.bugzilla.mozilla.org/latest/
(or https://api-dev.bugzilla.mozilla.org/1.3/)
to
https://bugzilla.mozilla.org/bzapi/
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: