Closed Bug 1369781 Opened 7 years ago Closed 7 years ago

balrog submission tools should submit as json

Categories

(Release Engineering Graveyard :: Applications: Balrog (backend), enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(2 files)

After we landed part of https://bugzilla.mozilla.org/show_bug.cgi?id=1336452 we had some bustage that boiled down to the fact that the new swagger endpoints were requiring json encoded data in the body, but the balrogclient tools were sending form data. It turns out that swagger doesn't allow you to accept both for the same endpoint. JSON is really what we want to use, so we should switch the client tools to that.
Attached file submit json to balrog
Attachment #8873900 - Flags: review?(sfraser)
Also need to add balrogclient-0.0.3.tar.gz to puppet, and bump the version for balrog_scriptworker. AFAIK I can do that with r=versionbump.
Priority: -- → P1
Comment on attachment 8873934 [details] [diff] [review]
import new version of balrogclient to tools repo

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

Looks good to me
Attachment #8873934 - Flags: review+
My review on github doesn't mean much since I don't have write access to the repo, but the change looks good
Attachment #8873934 - Flags: review?(sfraser) → review+
Attachment #8873900 - Flags: review?(sfraser) → review?
I'm going to hold off on landing the tools patch until we're clear of Beta 1 (June 14th/15th).
Comment on attachment 8873900 [details] [review]
submit json to balrog

This was r+'ed in github.
Attachment #8873900 - Flags: review? → review+
Comment on attachment 8873934 [details] [diff] [review]
import new version of balrogclient to tools repo

I pushed this + the minor fix from bug 1372918 just now. I'll bump the version in Puppet shortly.
Attachment #8873934 - Flags: checked-in+
This is rolling out to balrog scriptworker now.
Rail, I need funsize to pick up this change to the submission tools. Can you help with that, or point me in the right direction?
Flags: needinfo?(rail)
(In reply to Ben Hearsum (:bhearsum) from comment #10)
> Rail, I need funsize to pick up this change to the submission tools. Can you
> help with that, or point me in the right direction?

Hm, I think this is no longer necessary now that we're using balrog scriptworker actually...
Flags: needinfo?(rail)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Opened a PR: https://github.com/mozilla-releng/funsize/pull/59
After it's merged, we need to bump the version and deploy it.
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: