Skip to content

Commit eda1a32

Browse files
Fix admin tool doc (#1977)
* Fix admin tool doc * Fix admin tool doc
1 parent 438d06c commit eda1a32

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

site/content/in-dev/unreleased/admin-tool.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ example, to build the tool with support for Postgres, run the following:
3636

3737
The above command will generate:
3838

39-
- One standalone JAR in `runtime/admin/build/polaris-admin-*-runner.jar`
40-
- Two distribution archives in `runtime/admin/build/distributions`
39+
- One Fast-JAR in `runtime/admin/build/quarkus-app/quarkus-run.jar`
4140
- Two Docker images named `apache/polaris-admin-tool:latest` and `apache/polaris-admin-tool:<version>`
4241

4342
## Usage
@@ -46,7 +45,7 @@ Please make sure the admin tool and Polaris server are with the same version bef
4645
To run the standalone JAR, use the following command:
4746

4847
```shell
49-
java -jar runtime/admin/build/polaris-admin-*-runner.jar --help
48+
java -jar runtime/admin/build/quarkus-app/quarkus-run.jar --help
5049
```
5150

5251
To run the Docker image, use the following command:
@@ -89,7 +88,7 @@ issues. If a realm is already bootstrapped, running the `bootstrap` command agai
8988
effect on that realm.
9089

9190
```shell
92-
java -jar runtime/admin/build/polaris-admin-*-runner.jar bootstrap --help
91+
java -jar runtime/admin/build/quarkus-app/quarkus-run.jar bootstrap --help
9392
```
9493

9594
The basic usage of the `bootstrap` command is outlined below:
@@ -110,7 +109,7 @@ For example, to bootstrap the `realm1` realm and create its root principal crede
110109
client ID `admin` and client secret `admin`, you can run the following command:
111110

112111
```shell
113-
java -jar runtime/admin/build/polaris-admin-*-runner.jar bootstrap -r realm1 -c realm1,admin,admin
112+
java -jar runtime/admin/build/quarkus-app/quarkus-run.jar bootstrap -r realm1 -c realm1,admin,admin
114113
```
115114

116115
## Purging Realms and Principal Credentials
@@ -123,7 +122,7 @@ The `purge` command is used to remove realms and principal credentials from the
123122
credentials, grants, and any other data associated with the realms.
124123

125124
```shell
126-
java -jar runtime/admin/build/polaris-admin-*-runner.jar purge --help
125+
java -jar runtime/admin/build/quarkus-app/quarkus-run.jar purge --help
127126
```
128127

129128
The basic usage of the `purge` command is outlined below:
@@ -139,5 +138,5 @@ Purge realms and all associated entities.
139138
For example, to purge the `realm1` realm, you can run the following command:
140139

141140
```shell
142-
java -jar runtime/admin/build/polaris-admin-*-runner.jar purge -r realm1
141+
java -jar runtime/admin/build/quarkus-app/quarkus-run.jar purge -r realm1
143142
```

0 commit comments

Comments
 (0)