Page MenuHomeDevCentral

Provide a void Services instance as fallback
ClosedPublic

Authored by dereckson on Jan 9 2016, 04:55.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 20, 19:11
Unknown Object (File)
Tue, May 20, 12:28
Unknown Object (File)
Tue, May 20, 11:30
Unknown Object (File)
Mon, May 19, 09:26
Unknown Object (File)
Fri, May 16, 22:52
Unknown Object (File)
Mon, May 12, 09:10
Unknown Object (File)
May 10 2025, 07:35
Unknown Object (File)
May 8 2025, 06:38
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
No Lint Coverage
Unit
No Test Coverage
Branch
services-without-config
Build Status
Buildable 247
Build 247: arc lint + arc unit

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.