Bullet-proof handling of Bitbucket webhooks.

Review Request #10584 — Created June 11, 2019 and submitted — Latest diff uploaded

chipx86
Review Board
release-3.0.x
reviewboard

Bitbucket webhooks changed recently to sometimes exclude keys containing
empty data, rather than just leaving them empty. This triggered parsing
errors, since we expected them to exist.

Our parsing is now a lot more bullet-proof. We don't assume anything is
really there, providing defaults when parsing, and bailing if we don't
see what we need.

Unit tests pass.

Commits

Files

Loading...