Page MenuHomeDevCentral

GitHubPayloadAnalyzer exception when payload isn't an object
ClosedPublic

Authored by dereckson on Jan 24 2016, 08:23.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 31, 18:08
Unknown Object (File)
Tue, Dec 31, 16:44
Unknown Object (File)
Tue, Dec 31, 16:44
Unknown Object (File)
Tue, Dec 31, 16:32
Unknown Object (File)
Fri, Dec 27, 23:16
Unknown Object (File)
Tue, Dec 17, 07:39
Unknown Object (File)
Tue, Dec 10, 04:31
Unknown Object (File)
Tue, Dec 10, 04:15
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.