Page MenuHomePhabricator

Add a "status" property to Almanac devices
ClosedPublic

Authored by epriestley on Mar 16 2021, 8:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 2:26 PM
Unknown Object (File)
Thu, Apr 25, 1:16 PM
Unknown Object (File)
Thu, Apr 25, 1:13 AM
Unknown Object (File)
Mon, Apr 22, 2:41 AM
Unknown Object (File)
Sat, Apr 20, 5:40 PM
Unknown Object (File)
Sun, Apr 14, 5:10 PM
Unknown Object (File)
Sun, Apr 7, 2:15 PM
Unknown Object (File)
Fri, Mar 29, 8:04 AM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13641. Add a "status" property with most of the relevant support code.

This currently has no impact on use of the device or bindings by Diffusion or Drydock: they ignore the status of devices bound to services.

Test Plan
  • Created a new device.
  • Changed the status of a device via web and API.
  • Queried for devices via API.
  • Searched for active and disabled devices.
  • Viewed UI in list view, detail view.
  • Used typeahead to add a new binding to an interface on a disabled device, got disabled hint in typeahead UI.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Mar 16 2021, 8:41 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 16 2021, 10:52 PM
This revision was automatically updated to reflect the committed changes.