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)
Mon, Feb 24, 10:10 PM
Unknown Object (File)
Mon, Feb 24, 6:51 PM
Unknown Object (File)
Mon, Feb 24, 4:31 PM
Unknown Object (File)
Sun, Feb 23, 1:40 PM
Unknown Object (File)
Wed, Feb 19, 7:21 PM
Unknown Object (File)
Tue, Feb 18, 12:27 PM
Unknown Object (File)
Thu, Feb 13, 2:31 AM
Unknown Object (File)
Feb 7 2025, 7:29 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
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.