Add OSIV connection pool test endpoint for dev testing#1253
Closed
bhou2 wants to merge 5 commits into
Closed
Conversation
added 5 commits
January 30, 2026 12:03
Add test controller and local config to demonstrate OSIV behavior: - Test endpoint executes DB query then polls connection pool for 60s - Small connection pool (5) with 1s timeout to show exhaustion - Toggle spring.jpa.open-in-view to test behavior Usage: ./gradlew :genie-app:bootRun --args='--spring.config.additional-location=file:genie-app/src/main/resources/application-local.yml' curl http://localhost:8081/api/v3/test/osiv/simple-test Expected: - OSIV enabled: Connection held for full 60s - OSIV disabled: Connection released immediately after query For dev testing only - DO NOT MERGE to master.
- Add fetch-depth: 0 to checkout action - Ensures nebula plugin infers correct version (5.2.0-SNAPSHOT) - Fixes version defaulting to 0.1.0-SNAPSHOT in CI
- Remove dockerPush from dev-snapshot workflow - Avoids Docker Hub credential errors - JAR artifacts and snapshots still published - Docker images not needed for Netflix internal deployment
- Replace deprecated openjdk:17-jdk-slim (no longer available) - Use eclipse-temurin:17-jdk (official OpenJDK successor) - Fix Docker warnings: - FROM (uppercase) instead of from - LABEL maintainer instead of deprecated MAINTAINER
This reverts commit 31efa61.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add test controller and local config to demonstrate OSIV behavior:
Usage:
./gradlew :genie-app:bootRun --args='--spring.config.additional-location=file:genie-app/src/main/resources/application-local.yml' curl http://localhost:8081/api/v3/test/osiv/simple-test
Expected:
For dev testing only - DO NOT MERGE to master.