iamhucong opened a new pull request, #38912: URL: https://github.com/apache/shardingsphere/pull/38912
## Summary - add as a default seam for proxy connection URLs - use the proxy URL seam when ShardingSphere Proxy Docker containers check readiness and create target data sources - add a unit test for default proxy URL delegation ## Tests - [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: osx [INFO] os.detected.arch: aarch_64 [INFO] os.detected.bitness: 64 [INFO] os.detected.version: 26.4 [INFO] os.detected.version.major: 26 [INFO] os.detected.version.minor: 4 [INFO] os.detected.classifier: osx-aarch_64 [INFO] [INFO] -------< org.apache.shardingsphere:shardingsphere-test-e2e-env >-------- [INFO] Building shardingsphere-test-e2e-env 5.5.4-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.2.1:enforce (enforce-banned-dependencies) @ shardingsphere-test-e2e-env --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] [INFO] --- enforcer:3.2.1:enforce (enforce-maven-version) @ shardingsphere-test-e2e-env --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- enforcer:3.2.1:enforce (enforce-java-version) @ shardingsphere-test-e2e-env --- [INFO] [INFO] --- jacoco:0.8.14:prepare-agent (prepare-agent) @ shardingsphere-test-e2e-env --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] argLine set to empty [INFO] [INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ shardingsphere-test-e2e-env --- [INFO] Skipping remote resources execution. [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ shardingsphere-test-e2e-env --- [INFO] skip non existing resourceDirectory /private/tmp/shardingsphere-proxy-url/test/e2e/env/src/main/resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ shardingsphere-test-e2e-env --- [INFO] No sources to compile [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ shardingsphere-test-e2e-env --- [INFO] Copying 18 resources from src/test/resources to target/shardingsphere-test-test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ shardingsphere-test-e2e-env --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.5.1:test (default-test) @ shardingsphere-test-e2e-env --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.shardingsphere.test.e2e.env.container.storage.option.StorageContainerConnectOptionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s -- in org.apache.shardingsphere.test.e2e.env.container.storage.option.StorageContainerConnectOptionTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.464 s [INFO] Finished at: 2026-06-25T11:57:12+08:00 [INFO] ------------------------------------------------------------------------ - [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: osx [INFO] os.detected.arch: aarch_64 [INFO] os.detected.bitness: 64 [INFO] os.detected.version: 26.4 [INFO] os.detected.version.major: 26 [INFO] os.detected.version.minor: 4 [INFO] os.detected.classifier: osx-aarch_64 Downloading from repo1: https://repo1.maven.org/maven2/com/diffplug/spotless/maven-metadata.xml Downloading from repo1: https://repo1.maven.org/maven2/com/github/spotbugs/maven-metadata.xml Downloading from repo1: https://repo1.maven.org/maven2/org/apache/rat/maven-metadata.xml Downloading from repo1: https://repo1.maven.org/maven2/org/jacoco/maven-metadata.xml Progress (1): 240 B Progress (2): 240 B | 558 B Downloaded from repo1: https://repo1.maven.org/maven2/org/apache/rat/maven-metadata.xml (558 B at 696 B/s) Downloaded from repo1: https://repo1.maven.org/maven2/com/github/spotbugs/maven-metadata.xml (240 B at 299 B/s) Downloading from repo1: https://repo1.maven.org/maven2/org/xolstice/maven/plugins/maven-metadata.xml Downloading from repo1: https://repo1.maven.org/maven2/org/antlr/maven-metadata.xml Progress (1): 237 B Downloading from repo1: https://repo1.maven.org/maven2/com/spotify/maven-metadata.xml Downloaded from repo1: https://repo1.maven.org/maven2/org/jacoco/maven-metadata.xml (237 B at 290 B/s) Downloading from repo1: https://repo1.maven.org/maven2/io/smallrye/maven-metadata.xml Progress (1): 535 B Downloaded from repo1: https://repo1.maven.org/maven2/org/antlr/maven-metadata.xml (535 B at 3.3 kB/s) Downloading from repo1: https://repo1.maven.org/maven2/org/owasp/maven-metadata.xml Progress (1): 248 B Downloaded from repo1: https://repo1.maven.org/maven2/org/xolstice/maven/plugins/maven-metadata.xml (248 B at 1.4 kB/s) Downloading from repo1: https://repo1.maven.org/maven2/org/sonarsource/scanner/maven/maven-metadata.xml Progress (1): 915 B Progress (2): 915 B | 511 B Downloaded from repo1: https://repo1.maven.org/maven2/com/spotify/maven-metadata.xml (511 B at 2.6 kB/s) Downloaded from repo1: https://repo1.maven.org/maven2/io/smallrye/maven-metadata.xml (915 B at 4.7 kB/s) Downloading from repo1: https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloading from repo1: https://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml Progress (1): 257 B Downloaded from repo1: https://repo1.maven.org/maven2/org/owasp/maven-metadata.xml (257 B at 1.6 kB/s) Progress (1): 240 B Downloaded from repo1: https://repo1.maven.org/maven2/org/sonarsource/scanner/maven/maven-metadata.xml (240 B at 1.4 kB/s) Progress (1): 4.6 kB Progress (1): 9.7 kB Progress (1): 14 kB Downloaded from repo1: https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 77 kB/s) Progress (1): 3.1 kB Progress (1): 7.7 kB Progress (1): 12 kB Progress (1): 17 kB Progress (1): 20 kB Progress (1): 21 kB Downloaded from repo1: https://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 53 kB/s) [INFO] [INFO] -------< org.apache.shardingsphere:shardingsphere-test-e2e-env >-------- [INFO] Building shardingsphere-test-e2e-env 5.5.4-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- spotless:2.46.1:check (default-cli) @ shardingsphere-test-e2e-env --- [INFO] Spotless.Java is keeping 59 files clean - 0 needs changes to be clean, 0 were already clean, 59 were skipped because caching determined they were already clean [INFO] Spotless.Pom is keeping 1 files clean - 0 needs changes to be clean, 0 were already clean, 1 were skipped because caching determined they were already clean [INFO] [INFO] --- checkstyle:3.6.0:check (default-cli) @ shardingsphere-test-e2e-env --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.219 s [INFO] Finished at: 2026-06-25T11:57:17+08:00 [INFO] ------------------------------------------------------------------------ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
