Homec4science

Store Almanac "service types" instead of "service classes"

Authored by epriestley <git@epriestley.com> on Feb 25 2016, 14:05.

Description

Store Almanac "service types" instead of "service classes"

Summary:
Ref T10449. Currently, we store classes (like "AlmanacClusterRepositoryServiceType") in the database.

Instead, store types (like "cluster.repository").

This is a small change, but types are a little more flexible (they let us freely reanme classes), a little cleaner (fewer magic strings in the codebase), and a little better for API usage (they're more human readable).

Make this minor usability change now, before we unprototype.

Also make services searchable by type.

Also remove old Almanac API endpoints.

Test Plan:

  • Ran migration, verified all data migrated properly.
  • Created, edited, rebound, and changed properties of services.
  • Searched for services by service type.
  • Reviewed available Conduit methods.

Reviewers: chad

Reviewed By: chad

Subscribers: yelirekim

Maniphest Tasks: T10449

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

Details

Committed
epriestley <git@epriestley.com>Feb 26 2016, 15:21
Pushed
aubortJan 31 2017, 17:16
Parents
rPH4c97d88aa4b3: Allow Almanac bindings to be disabled and unused interfaces to be removed
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH7d4b323da2bd: Store Almanac "service types" instead of "service classes" (authored by epriestley <git@epriestley.com>).Feb 26 2016, 15:21