Page MenuHomeDevCentral

Provide a void Services instance as fallback
ClosedPublic

Authored by dereckson on Jan 9 2016, 04:55.
Tags
None
Referenced Files
F24703662: D196.id467.diff
Fri, Mar 6, 08:16
F24702032: D196.id466.diff
Fri, Mar 6, 06:24
F24701006: D196.diff
Fri, Mar 6, 05:06
Unknown Object (File)
Mon, Mar 2, 23:46
Unknown Object (File)
Sun, Mar 1, 17:23
Unknown Object (File)
Fri, Feb 27, 02:27
Unknown Object (File)
Thu, Feb 26, 12:44
Unknown Object (File)
Sat, Feb 7, 04:51
Subscribers
None

Details

Reviewers
dereckson
Commits
Unknown Object (Diffusion Commit)
rNOTIF343dd7c666c2: Provide a void Services instance as fallback
Summary

The configuration key security.gate.credentials allows to define
a credentials.json file with the list of services credentials.

When the file doesn't exist, instead of deserializing this file,
we provide an empty Services instance.

This fixes a regression introduced at D180.

Test Plan

phpunit

Diff Detail

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

Event Timeline

dereckson retitled this revision from to Provide a void Services instance as fallback.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson updated this object.
dereckson edited edge metadata.
This revision is now accepted and ready to land.Jan 9 2016, 04:58
This revision was automatically updated to reflect the committed changes.