Page MenuHomePhabricator

Add a "status" property to Almanac devices
ClosedPublic

Authored by epriestley on Mar 16 2021, 8:41 PM.
Tags
None
Referenced Files
F18208349: D21627.id51488.diff
Mon, Aug 18, 8:49 PM
F18205859: D21627.id51475.diff
Mon, Aug 18, 3:11 PM
F18182611: D21627.diff
Sat, Aug 16, 9:47 AM
F17712103: D21627.diff
Jul 17 2025, 9:24 AM
Unknown Object (File)
Jun 9 2025, 6:21 AM
Unknown Object (File)
Jun 9 2025, 6:21 AM
Unknown Object (File)
Jun 9 2025, 5:43 AM
Unknown Object (File)
Jun 3 2025, 9:42 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
Branch
almanac3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25283
Build 34900: Run Core Tests
Build 34899: arc lint + arc unit

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.