Skip to content

feat(pivot,ci): per-database pivot apps with container builds - #58

Merged
stbischof merged 1 commit into
eclipse-daanse:mainfrom
stbischof:feat/rowset-packages-split
Aug 17, 2026
Merged

feat(pivot,ci): per-database pivot apps with container builds#58
stbischof merged 1 commit into
eclipse-daanse:mainfrom
stbischof:feat/rowset-packages-split

Conversation

@stbischof

Copy link
Copy Markdown
Contributor

pivot becomes one app per database, each with its own runbundle list. A common module carries the shared server configuration and env mapping; the database modules contribute only their datasource, dialect and driver bundles. Every app also carries the split connector rowset bundles and the role resolution bundle - without the former no MDSCHEMA request is answered, without the latter the XMLA servlet never activates. The DuckDB app marks its pool connections with the read-only mode of the DataSource, since the driver refuses to re-mark a connection.

The images offer HTTP Basic authentication against LDAP (auth.basic + auth.store.ldap, DAANSE_LDAP_* variables, roles from LDAP groups); anonymous requests stay accepted until DAANSE_AUTH_ANONYMOUS=false.

Each app gets a Dockerfile (OCI-labelled) and a Testcontainers integration test that builds the image from the real Dockerfile (or verifies a pre-built one via -Dpivot.image). CI builds every image, verifies it with the integration test and pushes it multi-arch; build_images.sh does the same locally. The per database READMEs plus the shared README.container.md form the Docker Hub description the CI publishes. Self contained demos live in common/example: a Compose demo, the same as a Kubernetes pod for Podman/kubectl, and a Compose demo with an LLDAP side container that is exercised end-to-end by LdapAuthPivotIT.

pivot becomes one app per database, each with its own runbundle list. A common
module carries the shared server configuration and env mapping; the database
modules contribute only their datasource, dialect and driver bundles. Every
app also carries the split connector rowset bundles and the role resolution
bundle - without the former no MDSCHEMA request is answered, without the
latter the XMLA servlet never activates. The DuckDB app marks its pool
connections with the read-only mode of the DataSource, since the driver
refuses to re-mark a connection.

The images offer HTTP Basic authentication against LDAP (auth.basic +
auth.store.ldap, DAANSE_LDAP_* variables, roles from LDAP groups); anonymous
requests stay accepted until DAANSE_AUTH_ANONYMOUS=false.

Each app gets a Dockerfile (OCI-labelled) and a Testcontainers integration
test that builds the image from the real Dockerfile (or verifies a pre-built
one via -Dpivot.image). CI builds every image, verifies it with the
integration test and pushes it multi-arch; build_images.sh does the same
locally. The per database READMEs plus the shared README.container.md form
the Docker Hub description the CI publishes. Self contained demos live in
common/example: a Compose demo, the same as a Kubernetes pod for
Podman/kubectl, and a Compose demo with an LLDAP side container that is
exercised end-to-end by LdapAuthPivotIT.

The playground gets its own h2 dependencies: it required h2 through the
application parent, which now ships duckdb for the probe instead - the bndrun
resolve failed on CI while the export, which only checks the pinned
runbundles, still passed.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
@stbischof
stbischof force-pushed the feat/rowset-packages-split branch from 427191e to 420436e Compare August 17, 2026 06:23
@stbischof
stbischof merged commit cd19e2d into eclipse-daanse:main Aug 17, 2026
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant