Page MenuHomeDevCentral

GitHubPayloadAnalyzer exception when payload isn't an object
ClosedPublic

Authored by dereckson on Jan 24 2016, 08:23.
Tags
None
Referenced Files
F11803204: D261.diff
Tue, Sep 23, 20:28
F11796768: D261.id.diff
Tue, Sep 23, 04:42
F11794436: D261.id.diff
Mon, Sep 22, 22:02
Unknown Object (File)
Fri, Sep 19, 21:21
Unknown Object (File)
Fri, Sep 19, 03:44
Unknown Object (File)
Thu, Sep 18, 03:35
Unknown Object (File)
Wed, Sep 17, 06:36
Unknown Object (File)
Tue, Sep 16, 18:19
Subscribers

Details

Summary

GitHubPayloadAnalyzer constructor requires a $payload parameter,
which is the deserialization of the JSON GitHub payload.

The constructor now checks it's indeed an object, or throws an
exception if not.

Test Plan

Fire a Phabricator payload to /gate/GitHub/projectWithoutSecret

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to GitHubPayloadAnalyzer exception when payload isn't an object.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited the test plan for this revision. (Show Details)
dereckson edited edge metadata.
This revision is now accepted and ready to land.Jan 24 2016, 08:24
This revision was automatically updated to reflect the committed changes.