feat(connectors): add managed file and PostgreSQL origins
Module Package Release / publish-packages (push) Successful in 12s
Module Package Release / publish-packages (push) Successful in 12s
This commit is contained in:
@@ -112,6 +112,30 @@ this lifecycle when a connector publishes status.
|
||||
9. Store external references with source system, object type, object id, version
|
||||
or ETag, and last-seen timestamp.
|
||||
|
||||
## Tabular source discovery and refresh
|
||||
|
||||
Immutable JSON/CSV snapshots, exact managed Files versions, and live PostgreSQL
|
||||
tables share the same catalogue and bounded-preview contract. A managed-file
|
||||
origin stores only the Files asset id, exact immutable version id, checksum,
|
||||
parser settings, reviewed schema, and discovery fingerprint. Files re-authorizes
|
||||
the current principal and verifies storage integrity and any encryption envelope
|
||||
on every preview. A newer current version produces a warning; only an explicit
|
||||
source refresh changes the pinned version and increments the discovery revision.
|
||||
|
||||
A PostgreSQL origin references an active governed connector configuration. Its
|
||||
endpoint must contain no credentials. Connectors resolves the referenced Core
|
||||
credential envelope for the current tenant, scope, module, and server, opens a
|
||||
read-only connection, reflects a simple schema/table identifier, and records the
|
||||
configuration hash/revision, credential revision, schema, and discovery
|
||||
fingerprint. Configuration, credential, or schema drift blocks preview until an
|
||||
explicit refresh. Missing Files capability, revoked file access, quarantine,
|
||||
oversized or malformed content, inactive/stale credentials, unreachable SQL,
|
||||
and timeout failures produce sanitized unavailable/validation diagnostics.
|
||||
|
||||
All three current providers declare projection and pagination pushdown only.
|
||||
Filters, aggregations, and sorting remain in Dataflow until an adapter explicitly
|
||||
declares and tests those operations.
|
||||
|
||||
## Publish Flow
|
||||
|
||||
1. Domain module requests publish through a core-mediated connector capability.
|
||||
|
||||
Reference in New Issue
Block a user