Skip to content

feat(service-datasource-admin): open-source the runtime datasource admin mechanism (ADR-0015 Addendum) - #1502

Merged
xuyushun441-sys merged 2 commits into
mainfrom
feat/datasource-admin-opensource
Jun 2, 2026
Merged

feat(service-datasource-admin): open-source the runtime datasource admin mechanism (ADR-0015 Addendum)#1502
xuyushun441-sys merged 2 commits into
mainfrom
feat/datasource-admin-opensource

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

What

Adds @objectstack/service-datasource-admin — the runtime UI-created datasource lifecycle (list / test-connection / create / update / remove) from ADR-0015 Addendum. Moved wholesale out of the private cloud repo into the open framework, next to its federation sibling @objectstack/service-external-datasource.

Why open-source

The package is mechanism only — there was no actual paid feature in it. Credential storage is delegated to a host-provided SecretBinder over any ICryptoProvider (framework default: InMemoryCryptoProvider), and drivers to a swappable factory. The tier line falls on which crypto provider / driver factory a host injects — a neutral technical seam — so a managed credential vault + multi-tenant overlay can be layered on by a private host without forking.

This makes the datasource split exactly mirror the connector / outbox / approval tiering principle: charge for credential custody + multi-tenant ops + scale, not for the ability to manage a datasource at all.

Notes

  • workspace:* deps, Apache-2.0, exports . and ./contracts
  • serve is not wired to mount this by default yet (OSS-edition identity is a pending product decision)
  • ✅ 29 tests pass; typecheck + build (incl. dts) clean

🤖 Generated with Claude Code

os-zhuangand others added 2 commits June 2, 2026 08:52
feat(studio): AI-draft review/diff mode in the object designer (v1) (#1456)
objectui@fdd083657e2da9832059492d4c88e818a5990a8d
…min mechanism (ADR-0015 Addendum)
Move the runtime UI-created datasource lifecycle (list/test/create/update/
remove) out of the private cloud repo into the open framework as
@objectstack/service-datasource-admin, sitting next to its federation sibling
@objectstack/service-external-datasource.
This package is mechanism only: credential storage is delegated to a
host-provided SecretBinder over any ICryptoProvider (framework default:
InMemoryCryptoProvider), and drivers to a swappable factory. The tier line
falls on which crypto provider / driver factory a host injects — a neutral
technical seam — so a managed credential vault + multi-tenant overlay can be
layered on by a private host without forking. Consistent with the connector /
outbox / approval tiering principle: charge for credential custody +
multi-tenant ops + scale, not for the ability to manage a datasource.
- workspace:* deps, Apache-2.0, exports . and ./contracts
- serve is NOT wired to mount this by default yet (OSS-edition identity TBD)
- 29 tests pass; typecheck + build (incl. dts) clean
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercelBot commented Jun 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
specBuildingBuildingPreview, CommentJun 2, 2026 1:43am

Request Review

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file tests tooling size/xl labels Jun 2, 2026
@xuyushun441-sys
xuyushun441-sys merged commit 4e960ea into mainJun 2, 2026
10 of 12 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the feat/datasource-admin-opensource branch June 2, 2026 01:46
label: 'Test connection',
icon: 'plug-zap',
type: 'api',
target: '/api/v1/datasources/${ctx.recordId}/test',
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filedocumentationImprovements or additions to documentationsize/xlteststooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@xuyushun441-sys@github-advanced-security@os-zhuang