Homec4science

Expose `devicePHIDs` on `almanac.queryservices`

Authored by epriestley <git@epriestley.com> on Feb 25 2015, 20:16.

Description

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D11882

Details

Committed
epriestley <git@epriestley.com>Feb 25 2015, 20:16
Pushed
aubortJan 31 2017, 17:16
Parents
rPH8316c9dc14d5: Fix scrolling over sidenav
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH729451241104: Expose `devicePHIDs` on `almanac.queryservices` (authored by epriestley <git@epriestley.com>).Feb 25 2015, 20:16