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, Feb 22, 4:38 AM
Unknown Object (File)
Dec 27 2023, 1:46 PM
Unknown Object (File)
Dec 27 2023, 1:45 PM
Unknown Object (File)
Dec 27 2023, 1:45 PM
Unknown Object (File)
Dec 25 2023, 11:21 PM
Unknown Object (File)
Dec 23 2023, 8:58 PM
Unknown Object (File)
Dec 22 2023, 3:36 AM
Unknown Object (File)
Dec 22 2023, 3:36 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.