Page MenuHomePhabricator

Expose `devicePHIDs` on `almanac.queryservices`
ClosedPublic

Authored by epriestley on Feb 25 2015, 5:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:03 AM
Unknown Object (File)
Fri, Apr 5, 10:37 PM
Unknown Object (File)
Fri, Apr 5, 10:01 PM
Unknown Object (File)
Feb 15 2024, 1:13 AM
Unknown Object (File)
Feb 15 2024, 1:13 AM
Unknown Object (File)
Feb 15 2024, 1:13 AM
Unknown Object (File)
Feb 8 2024, 4:27 AM
Unknown Object (File)
Feb 7 2024, 7:41 AM
Subscribers

Details

Reviewers
btrahan
Commits
Restricted Diffusion Commit
rP729451241104: Expose `devicePHIDs` on `almanac.queryservices`
Summary

This already exists on the Query, just expose it via API.

For context, I want to fix bin/remote restart so it actually identifies the services on a box rather than faking it.

To do this, I'll look up the device PHID of the box, then look up all the services which are bound to it, then look up all the instances attached to those services. This allows me to do the second step.

Test Plan

Called method from web UI, got expected result.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Expose `devicePHIDs` on `almanac.queryservices`.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Feb 25 2015, 7:04 PM
This revision was automatically updated to reflect the committed changes.