feat: Spring Boot skeleton over the pub400 lemonade database #1

Closed
sean wants to merge 0 commits from skeleton-20261012 into trunk
Owner

What

The walking skeleton of the Lemonade Stand web UI and JSON API.

  • Spring Boot 4.1.1, JDK 25, Gradle 9.8.1 (Kotlin DSL, version catalog). No gradlew: Gradle comes from the java-builder image.
  • One repository: https://pkg.sean.farm/cache/maven. The Spring Boot plugin marker and the BOM come from Maven Central. No Plugin Portal, no dependency-management plugin.
  • gradle/verification-metadata.xml: SHA-256 for 231 components.
  • JTOpen net.sf.jt400:jt400:21.0.7:java11, URL jdbc:as400://pub400.com;secure=true;naming=sql;libraries=SOMEARAB;access=read call;prompt=false;errors=full. Hikari pool: at most 2 connections, no connection at start.
  • / is a static landing page (no database). Health component pub400 on management port 8081. The probes do not depend on pub400.
  • Manifests: Deployment (restricted PodSecurity, read-only root), Service, HTTPRoutes through edge-waf-lemonade. ManifestsTest checks them. The deploy Role, namespace and credential are in seanfarm.

Tests (local, in a java-builder image built from builder-images PR 574)

  • gradle check bootJar: 15 tests pass, 4 live tests skipped. Cold run 1 m 59 s (dependency download included); warm runs a few seconds.
  • scripts/live-smoke.sh against SOMEARA2:
    • TLS to pub400.com works, autocommit=true.
    • LM_NEWGAME, LM_OPENDAY, LM_PLAYDAY commit; the play is visible on a new connection (start 2.00, sold 0, cash 1.97).
    • Cannot afford: SQLSTATE 75008, SQLCODE -438.
    • access=read call refuses DELETE and CREATE TABLE.
    • CALL QSYS2.QCMDEXC is allowed under access=read call. So this property does not stop CL. The README says so.

Depends on

  • builder-images PR 574 (java-builder) and zot PR 211 (registry policy).
  • binjovi-plans: the lemonade project and recipe.
  • seanfarm: namespace, Argo seed, deploy Role, credential, edge.
## What The walking skeleton of the Lemonade Stand web UI and JSON API. - Spring Boot 4.1.1, JDK 25, Gradle 9.8.1 (Kotlin DSL, version catalog). No `gradlew`: Gradle comes from the `java-builder` image. - One repository: `https://pkg.sean.farm/cache/maven`. The Spring Boot plugin marker and the BOM come from Maven Central. No Plugin Portal, no dependency-management plugin. - `gradle/verification-metadata.xml`: SHA-256 for 231 components. - JTOpen `net.sf.jt400:jt400:21.0.7:java11`, URL `jdbc:as400://pub400.com;secure=true;naming=sql;libraries=SOMEARAB;access=read call;prompt=false;errors=full`. Hikari pool: at most 2 connections, no connection at start. - `/` is a static landing page (no database). Health component `pub400` on management port 8081. The probes do not depend on pub400. - Manifests: Deployment (restricted PodSecurity, read-only root), Service, HTTPRoutes through `edge-waf-lemonade`. `ManifestsTest` checks them. The deploy Role, namespace and credential are in seanfarm. ## Tests (local, in a `java-builder` image built from builder-images PR 574) - `gradle check bootJar`: 15 tests pass, 4 live tests skipped. Cold run 1 m 59 s (dependency download included); warm runs a few seconds. - `scripts/live-smoke.sh` against SOMEARA2: - TLS to pub400.com works, autocommit=true. - LM_NEWGAME, LM_OPENDAY, LM_PLAYDAY commit; the play is visible on a new connection (start 2.00, sold 0, cash 1.97). - Cannot afford: SQLSTATE 75008, SQLCODE -438. - `access=read call` refuses DELETE and CREATE TABLE. - **`CALL QSYS2.QCMDEXC` is allowed** under `access=read call`. So this property does not stop CL. The README says so. ## Depends on - builder-images PR 574 (java-builder) and zot PR 211 (registry policy). - binjovi-plans: the `lemonade` project and recipe. - seanfarm: namespace, Argo seed, deploy Role, credential, edge.
Spring Boot 4.1.1 on JDK 25, built with Gradle 9.8.1 in the java-builder
image. One repository, the package cache; the Spring Boot plugin and the
BOM come from Maven Central; gradle/verification-metadata.xml pins every
dependency by SHA-256.

- JTOpen 21.0.7 (java11) JDBC over TLS with access=read call, at most
  two pooled connections, none opened at start
- landing page at /, health component pub400 on management port 8081
- LivePub400SmokeTest and scripts/live-smoke.sh for SOMEARA1/SOMEARA2
- Argo CD application and manifests for lemonade.sean.farm, checked by
  ManifestsTest
Hikari calls setReadOnly(false) on each new connection. Under
access=read call JTOpen refuses that with "Connection authorization
failure occurred", so no connection opened. A read-only pool works, and
the lemonade procedures still commit through CALL (live test against
SOMEARA2).
fix: record dependency checksums from a cold Gradle home
All checks were successful
binjovi/ci Binjovi completed the frozen plan
37c6a9bbe2
The first file came from a warm cache and missed six BOM module files
that a cold resolution reads. Regenerated in the published
java-builder:v1 image with an empty Gradle home: 243 components.
sean closed this pull request 2026-10-12 14:07:07 +00:00
All checks were successful
binjovi/ci Binjovi completed the frozen plan
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/lemonade!1
No description provided.