Skip to content

Conversation

@amaksimo
Copy link
Contributor

Summary

Prepare the samples repo structure to enable automated syncing of examples from connector repos.

Changes

Java pgjdbc

  • Rename package from org.example to software.amazon.dsql.examples (matching connector)
  • Switch from Maven to Gradle build system (matching connector)
  • Add gradle wrapper for standalone builds
  • Update workflow to use ./gradlew test instead of mvn test

Python asyncpg (NEW)

  • Add new python/asyncpg/ folder with examples from connector
  • Add integration test workflow for asyncpg

Files Changed

Type Description
Renamed Java files moved to new package path
Deleted pom.xml (replaced by Gradle)
Added Gradle wrapper files
Added python/asyncpg/ folder with examples
Added python-asyncpg-integ-tests.yml workflow
Modified java-pgjdbc-integ-tests.yml to use Gradle

Testing

  • Java compiles successfully with Gradle
  • Python files pass syntax check
  • Integration tests will run in CI

Motivation

This aligns the samples repo structure with the connector repos to enable automated syncing of examples. The ExampleWithNoConnector files remain samples-only and will not be overwritten by sync.

@amaksimo amaksimo force-pushed the prep-for-connector-sync branch 2 times, most recently from 189abba to bad1d4c Compare December 24, 2025 19:57
Java pgjdbc changes:
- Rename package from org.example to software.amazon.dsql.examples
- Switch from Maven to Gradle build system (matching connector)
- Add gradle wrapper for standalone builds
- Update workflow to use Gradle
- Update README to match connector

Python asyncpg changes:
- Add new python/asyncpg folder with examples from connector
- Add integration test workflow for asyncpg

This aligns the samples repo structure with the connector repos
to enable automated syncing of examples.
@amaksimo amaksimo force-pushed the prep-for-connector-sync branch from bad1d4c to 03b45a2 Compare December 24, 2025 20:04
@amaksimo amaksimo marked this pull request as ready for review December 24, 2025 20:07
@amaksimo amaksimo enabled auto-merge (squash) December 24, 2025 20:21
@amaksimo amaksimo merged commit adf2a74 into main Dec 24, 2025
14 checks passed
@amaksimo amaksimo deleted the prep-for-connector-sync branch December 24, 2025 20:26
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.

3 participants