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, Oct 28, 04:21
Unknown Object (File)
Fri, Oct 24, 10:35
Unknown Object (File)
Wed, Oct 22, 06:38
Unknown Object (File)
Sun, Oct 19, 00:55
Unknown Object (File)
Sat, Oct 18, 16:35
Unknown Object (File)
Thu, Oct 16, 07:26
Unknown Object (File)
Fri, Oct 10, 14:43
Unknown Object (File)
Thu, Oct 9, 12:22
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.