Page MenuHomePhabricator

Add a "status" property to Almanac devices
ClosedPublic

Authored by epriestley on Mar 16 2021, 8:41 PM.
Tags
None
Referenced Files
F14395128: D21627.id51488.diff
Sun, Dec 22, 3:05 AM
Unknown Object (File)
Tue, Dec 17, 11:39 AM
Unknown Object (File)
Fri, Dec 13, 8:17 PM
Unknown Object (File)
Fri, Dec 13, 1:57 AM
Unknown Object (File)
Tue, Dec 10, 8:12 AM
Unknown Object (File)
Tue, Dec 3, 10:00 PM
Unknown Object (File)
Tue, Dec 3, 10:00 PM
Unknown Object (File)
Tue, Dec 3, 10:00 PM
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.