Skip to content

Add Spring PetClinic, .NET eShop, and FINOS TraderX PostgreSQL samples#2616

Open
willdavsmith wants to merge 2 commits into
edgefrom
willdavsmith-add-petclinic-eshop-traderx-samples
Open

Add Spring PetClinic, .NET eShop, and FINOS TraderX PostgreSQL samples#2616
willdavsmith wants to merge 2 commits into
edgefrom
willdavsmith-add-petclinic-eshop-traderx-samples

Conversation

@willdavsmith

Copy link
Copy Markdown
Contributor

Adds three source-building samples on Radius.Data/postgreSqlDatabases (Azure PostgreSQL). Each builds real application images from pinned upstream source via Radius.Compute/containerImages, uses literal port 5432 + TLS, delivers DB/event-bus credentials through app-owned Radius.Security/secrets + secretKeyRef, and handles schema explicitly.

Note: This PR is stacked on #2610 (base branch willdavsmith-port-rtv-apps-to-samples), because it extends the "Resource type samples" README table introduced there. Retarget to edge once #2610 merges.

Samples

Sample Source (pinned) License Notes
spring-projects-spring-petclinic spring-projects/spring-petclinic @ 51045d1 Apache-2.0 Self-initializes schema on startup (spring.sql.init.mode=always). Sample-owned Maven Dockerfile.
dotnet-eshop dotnet/eShop @ 9b4f943 MIT 9 services via a generic multi-stage .NET Dockerfile (PROJECT build-arg). mobile-bff omitted (no upstream source project). pgvector allowlisted via AVM configurations; schema via eShop EF Core migrations. Provisions 4 Azure PostgreSQL servers.
finos-traderx finos/traderX @ afe174d Apache-2.0 9 services built from upstream Dockerfile.compose; nats/nginx pinned published images. Schema-loader container applies schema/seed since Azure ignores initSql.

Conventions

  • Every sample is self-contained: app.bicep, env-azure.bicep, bicepconfig.json, README.md, and owned src/.
  • Single extension radius; env resource name: 'azure'; PostgreSQL via AVM flexible-server:0.15.2 (host output only).
  • Literal 5432 + TLS (sslmode=require / SSL Mode=Require;Trust Server Certificate=true); no initSql; no inline passwords or ;******/$(VAR) — full connection strings built in app-owned secrets and injected via secretKeyRef.
  • Root README resource-type samples table updated (10 → 13).

Validation

All 6 new Bicep files compile clean against br:biceptypes.azurecr.io/radius:latest (these use app-owned secrets + @secure password, so they are not affected by the nested-secrets extension staleness).

Add ten self-contained samples for published Radius resource types backed by Azure recipes. Wire source-built workloads through containerImages, replace verification-only tools with SQLPad and a Go Azure Search API, and document registry requirements.

Preserve nested outputs.secrets contracts for sensitive recipe outputs.

Signed-off-by: willdavsmith <willdavsmith@gmail.com>
Adds three source-building samples on Radius.Data/postgreSqlDatabases
(Azure PostgreSQL), building real application images from pinned upstream
source via Radius.Compute/containerImages:

- spring-projects-spring-petclinic: Spring PetClinic (Apache-2.0), self-inits
  its schema on startup.
- dotnet-eshop: .NET eShop microservices (MIT). Omits mobile-bff (no upstream
  source project); pgvector allowlisted via the AVM configurations; schema owned
  by eShop EF Core migrations.
- finos-traderx: FINOS TraderX (Apache-2.0). Nine services built from upstream
  Dockerfile.compose; nats/nginx kept as pinned published images; a schema-loader
  container applies the schema/seed since Azure ignores initSql.

All use literal port 5432 with TLS and deliver DB and event-bus credentials
through app-owned Radius.Security/secrets injected via secretKeyRef. Updates the
root README resource-type samples table (10 -> 13).

Signed-off-by: willdavsmith <willdavsmith@gmail.com>
@willdavsmith
willdavsmith requested review from a team as code owners July 13, 2026 22:28
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Base automatically changed from willdavsmith-port-rtv-apps-to-samples to edge July 16, 2026 22:09
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