1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/almanac
epriestley c85327ca3e Give AlmanacServices a service type
Summary:
Ref T5833. This allows services to be typed, to distinguish between different kinds of services. This makes a few things easier:

  - It's easier for clients to select the services they're interested in (see note in T5873 about Phacility). This isn't a full-power solution, but gets is some of the way there.
  - It's easier to set appropriate permissions around when modifications to the Phabricator cluster are allowed. These service nodes need to be demarcated as special in some way no matter what (see T6741). This also defines a new policy for users who are permitted to create services.
  - It's easier to browse/review/understand services.
  - Future diffs will allow ServiceTypes to specify more service structure (for example, default properties) to make it easier to configure services correctly. Instead of a free-for-all, you'll get a useful list of things that consumers of the service expect to read.

The "custom" service type allows unstructured/freeform services to be created.

Test Plan:
  - Created a new service (and hit error cases).
  - Edited an existing service.
  - Saw service types on list and detail views.
  - Poked around new permission stuff.
  - Ran `almanac.queryservices` with service class specification.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5833

Differential Revision: https://secure.phabricator.com/D10995
2014-12-17 11:10:27 -08:00
..
application Give AlmanacServices a service type 2014-12-17 11:10:27 -08:00
capability Give AlmanacServices a service type 2014-12-17 11:10:27 -08:00
conduit Give AlmanacServices a service type 2014-12-17 11:10:27 -08:00
controller Give AlmanacServices a service type 2014-12-17 11:10:27 -08:00
customfield Give Almanac generic, custom-field-based properties 2014-11-05 15:27:16 -08:00
editor Implement PhabricatorProjectInterface on Almanac Services and Devices 2014-11-05 15:30:00 -08:00
management Allow device SSH keys to be trusted 2014-11-20 17:33:30 -08:00
phid Add AlmanacBinding, to bind a service to an interface 2014-10-27 13:39:36 -07:00
property Give Almanac generic, custom-field-based properties 2014-11-05 15:27:16 -08:00
query Give AlmanacServices a service type 2014-12-17 11:10:27 -08:00
servicetype Give AlmanacServices a service type 2014-12-17 11:10:27 -08:00
storage Give AlmanacServices a service type 2014-12-17 11:10:27 -08:00
typeahead Add AlmanacBinding, to bind a service to an interface 2014-10-27 13:39:36 -07:00
util Allow device SSH keys to be trusted 2014-11-20 17:33:30 -08:00
view Add AlmanacBinding, to bind a service to an interface 2014-10-27 13:39:36 -07:00