mozilla-services / services-engineering

Services engineering core repo - Used for issues/docs/etc that don't obviously belong in another repo.
2 stars 1 forks source link

Find a way to connect Durable Sync to FF locally. #21

Closed tublitzed closed 4 years ago

tublitzed commented 4 years ago

Ie, it'd be really nice to be able to do the same thing you can do with existing sync - set a flag in FF to point to local token server, and watch sync now point to your local DB.

Let's find a way to make sure we don't lose this ability with durable sync. Phil had a good idea to perhaps just point FF directly into the local syncstorage-rs instance and mock a tokenserver endpoint. Or, we could tweak the token server to allow this as well (or at least document how to do it if not making/committing changes).

Let's scope this for just getting this working against MySQL based durable sync. Then, a follow up can be to document how to connect to spanner-dev.

tublitzed commented 4 years ago

Status update here:

  1. I've got syncserver connecting to local syncstorage-rs (except post body), and am drafting a PR to update example docs here

  2. I'll get a PR open here with links to those docs once I open #1 above.

  3. I'm going to keep debugging the missing bsos issue for a bit in the hopes of making progress there before I open these. If it takes too long, I'll go ahead and get these open and file a followup so we at least have local dev partially working for MySQL.