From f68748d35dcd119b14e1b26a2794292a57a72b6e Mon Sep 17 00:00:00 2001 From: Yong Date: Fri, 27 Jun 2025 22:32:39 -0500 Subject: [PATCH 1/2] Fix admin tool doc --- site/content/in-dev/unreleased/admin-tool.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/site/content/in-dev/unreleased/admin-tool.md b/site/content/in-dev/unreleased/admin-tool.md index 8af100127e..0383a1c045 100644 --- a/site/content/in-dev/unreleased/admin-tool.md +++ b/site/content/in-dev/unreleased/admin-tool.md @@ -36,8 +36,7 @@ example, to build the tool with support for Postgres, run the following: The above command will generate: -- One standalone JAR in `runtime/admin/build/polaris-admin-*-runner.jar` -- Two distribution archives in `runtime/admin/build/distributions` +- One fast-jar in `runtime/admin/build/quarkus-app/quarkus-run.jar` - Two Docker images named `apache/polaris-admin-tool:latest` and `apache/polaris-admin-tool:` ## Usage @@ -46,7 +45,7 @@ Please make sure the admin tool and Polaris server are with the same version bef To run the standalone JAR, use the following command: ```shell -java -jar runtime/admin/build/polaris-admin-*-runner.jar --help +java -jar runtime/admin/build/quarkus-app/quarkus-run.jar --help ``` To run the Docker image, use the following command: From 97b660848cca26fb13c040f9387fc19179180dd9 Mon Sep 17 00:00:00 2001 From: Yong Date: Fri, 27 Jun 2025 22:34:11 -0500 Subject: [PATCH 2/2] Fix admin tool doc --- site/content/in-dev/unreleased/admin-tool.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/site/content/in-dev/unreleased/admin-tool.md b/site/content/in-dev/unreleased/admin-tool.md index 0383a1c045..4caa9d5343 100644 --- a/site/content/in-dev/unreleased/admin-tool.md +++ b/site/content/in-dev/unreleased/admin-tool.md @@ -36,7 +36,7 @@ example, to build the tool with support for Postgres, run the following: The above command will generate: -- One fast-jar in `runtime/admin/build/quarkus-app/quarkus-run.jar` +- One Fast-JAR in `runtime/admin/build/quarkus-app/quarkus-run.jar` - Two Docker images named `apache/polaris-admin-tool:latest` and `apache/polaris-admin-tool:` ## Usage @@ -88,7 +88,7 @@ issues. If a realm is already bootstrapped, running the `bootstrap` command agai effect on that realm. ```shell -java -jar runtime/admin/build/polaris-admin-*-runner.jar bootstrap --help +java -jar runtime/admin/build/quarkus-app/quarkus-run.jar bootstrap --help ``` The basic usage of the `bootstrap` command is outlined below: @@ -109,7 +109,7 @@ For example, to bootstrap the `realm1` realm and create its root principal crede client ID `admin` and client secret `admin`, you can run the following command: ```shell -java -jar runtime/admin/build/polaris-admin-*-runner.jar bootstrap -r realm1 -c realm1,admin,admin +java -jar runtime/admin/build/quarkus-app/quarkus-run.jar bootstrap -r realm1 -c realm1,admin,admin ``` ## Purging Realms and Principal Credentials @@ -122,7 +122,7 @@ The `purge` command is used to remove realms and principal credentials from the credentials, grants, and any other data associated with the realms. ```shell -java -jar runtime/admin/build/polaris-admin-*-runner.jar purge --help +java -jar runtime/admin/build/quarkus-app/quarkus-run.jar purge --help ``` The basic usage of the `purge` command is outlined below: @@ -138,5 +138,5 @@ Purge realms and all associated entities. For example, to purge the `realm1` realm, you can run the following command: ```shell -java -jar runtime/admin/build/polaris-admin-*-runner.jar purge -r realm1 +java -jar runtime/admin/build/quarkus-app/quarkus-run.jar purge -r realm1 ```