Homec4science

Allow repositories to be bound to an AlmanacService

Authored by epriestley <git@epriestley.com> on Dec 12 2014, 21:07.

Description

Allow repositories to be bound to an AlmanacService

Summary:
Ref T2783. This is primarily exploratory and just figuring out what we're blocked on:

  • Allow a Repository to be bound to a Service. The Service may eventually define multiple read/write nodes, etc.
    • There's no UI to do this binding yet, you have to touch the database manually.
  • If a repository is bound to a Service, effect Conduit calls via calls to the remote service instead of executing them in-process.
    • These don't actually work yet since there's no authentication (see T5955).

Test Plan:

  • Made a nice Service with a nice Binding to a nice Interface on a nice Device.
  • Force-associated a repository with the service using a raw MySQL query.
  • Saw Phabricator try to make a remote call to the service (on localhost) and fail because of missing auth stuff.
  • Also ran almanac.queryservices.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2783

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

Details

Committed
epriestley <git@epriestley.com>Dec 12 2014, 21:07
Pushed
aubortJan 31 2017, 17:16
Parents
rPH2b99b4add8ae: Home - limit "status" queries to 100 and show 99+ if we hit that
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH4505724cc4f1: Allow repositories to be bound to an AlmanacService (authored by epriestley <git@epriestley.com>).Dec 12 2014, 21:07