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)
Wed, Dec 4, 3:06 PM
Unknown Object (File)
Fri, Nov 29, 4:22 PM
Unknown Object (File)
Sun, Nov 24, 12:49 AM
Unknown Object (File)
Nov 18 2024, 12:25 PM
Unknown Object (File)
Nov 14 2024, 9:58 PM
Unknown Object (File)
Nov 8 2024, 9:09 PM
Unknown Object (File)
Nov 1 2024, 7:16 AM
Unknown Object (File)
Oct 29 2024, 6:00 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.