Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

refactors for model cleanups and control-plane builds #14

Merged
merged 4 commits into from
Nov 5, 2021

Conversation

jgraettinger
Copy link
Member

See individual commits.

These are being removed from the flow tree, as they're now connectors.
Refactor catalog database loading into routines which use the built
databases as a primary representation, so that callers can pick and
choose which representations and specifications they care to load.

CatalogTask and CatalogCommons are removed. A `Task` interface is
introduced which the relevant types now implement, to simpify unified
handling of task variants.

Where other types previously referenced a CatalogCommons and revision,
they now reference a Build ID: a unique identifier for a built catalog
database.

TestSpec no longer inlines collection attributes, as they were both
insufficient (missing partition information) and are now resolved
directly from the catalog database under test.

Remove protobuf fields from RangeSpec that prevent native Go equality
from working.

Update BuildAPI.Config to expect a passed Build ID, and tweak its
`directory` semantics (dropping `catalog_path`).

Remote Splitter service, as this workflow is now expressed through
the existing Shard.Apply RPC.

(Re-)add a Testing service which surfaces reactor functionality needed
only while running tests. The Ingest service is removed, but a
test-specific Ingest RPC is added. We'll probably bring an ingestion
service back in a different form, in the near future.

Issue estuary/flow#276
Base automatically changed from johnny/specs to main November 5, 2021 16:50
@jgraettinger jgraettinger merged commit cbc07f4 into main Nov 5, 2021
@jgraettinger jgraettinger deleted the johnny/specs-2 branch November 5, 2021 16:51
@jgraettinger
Copy link
Member Author

I've gone ahead and merged, but please do still review and I'll address any feedback as follow-ups.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant