snazy commented on PR #785:
URL: https://github.com/apache/polaris/pull/785#issuecomment-2615766211
Updated the "actual" change w/ changes for `polaris-quarkus-server` + added
a demo (just for review purposes) as a separate commit. That demo can be run
with
```bash
./gradlew :apprunner-demo:demoTest --info --rerun
```
and shows something like this illustrating that the actual HTTP ports are
available in the test to be run. Noteworthy: the server is only started, when
the Gradle test task needs to run. (line wraps by me)
```
Starting process: [.../java, -Dquarkus.http.port=0,
-Dquarkus.management.port=0, -Dquarkus.log.level=INFO,
-Dquarkus.log.console.level=INFO, -jar,
/home/snazy/devel/polaris/polaris/quarkus/server/build/quarkus-app/quarkus-run.jar]
[output] realm: POLARIS root principal credentials:
fbd8c4aea9fd96ac:2710f409041047ecad21aeb791f114a8
[output]
[output] @@@@ @@@ @ @ @@@@ @ @@@@ @@@@ @ @@@@@ @
@ @@@ @@@@
[output] @ @ @ @ @ @ @ @ @ @ @@ @ @ @ @ @ @
@ @ @ @
[output] @@@@ @ @ @ @@@@@ @@@@ @ @@ @ @@@@@ @ @@@@@
@ @ @ @ @@@
[output] @ @@@ @@@@ @ @ @ @@ @ @@@@ @@@@ @ @ @ @@ @@
@@@@ @@@ @@@@
[output]
[output] *
[output]
[output]
[output] /////\
[output] //\\///T\\\
[output] ///\\\////\\\\\\
[output] //\\\\T////\\\\\\\\\
[output] /T\ //\\\\\T///T\\//T\\\\\\
[output] //\\\/////T\\////\\/////\\\\\\\ //\\
[output] //\\\\\\T///////////////////T\\\\\\\T\\\\\
[output] //\\\\/////T\//////////\///////T\\\\\T\\\\\\\\
[output] //\\\\\/////\\\T////////////////\\\\\\/\\\\\\\\\
[output]
,,..,,,..,,,..,//\\\\////////\\\\\\\\\\/////////\\\\\///\\\\\\\\\\,,,..,,..,,,..,,,.
[output]
,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,.,,,..,,,..,
[output]
[output] Powered
by Quarkus 3.17.8
[output] 2025-01-27 14:20:59,121 INFO [io.quarkus] [,] [,,,] (main) Apache
Polaris Server (incubating) 1.0.0-incubating-SNAPSHOT on JVM (powered by
Quarkus 3.17.8) started in 1.270s.
Listening on: http://0.0.0.0:38495. Management interface listening on
http://0.0.0.0:37345.
...
Starting process 'Gradle Test Executor 17'. Working directory:
/home/snazy/devel/polaris/polaris/apprunner-demo Command:
/home/snazy/.sdkman/candidates/java/23.0.2-zulu/bin/java
-Dquarkus.http.test-port=38495
-Dquarkus.http.test-url=http://0.0.0.0:38495
-Dquarkus.management.test-port=37345
-Dquarkus.management.test-url=http://0.0.0.0:37345 ...
Successfully started process 'Gradle Test Executor 17'
DemoTest > test() STANDARD_ERROR
38495
http://0.0.0.0:38495
37345
http://0.0.0.0:37345
```
--
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]