-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
= Ninja commands | ||
:page-nav-title: Commands | ||
|
||
Ninja currently supports these operations: | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
= Info | ||
|
||
#TODO# | ||
`info` command prints the information about the current midPoint repository implementation and connection details. | ||
|
||
.Sample output of info command | ||
[source,sh] | ||
---- | ||
$ ./bin/ninja.sh info | ||
MidPoint home: /opt/midpoint-home/ | ||
Java home: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home | ||
Repository test: SUCCESS | ||
Repository diag: | ||
Type: Native | ||
Description: Implementation that stores data in PostgreSQL database using JDBC with Querydsl. | ||
JDBC URL: jdbc:postgresql://localhost:5432/midpoint | ||
Driver type: org.postgresql.Driver | ||
Driver version: 42.5 | ||
Additional details: | ||
- clientInfo.ApplicationName: mp-repo | ||
- dataSource: null | ||
- schemaAuditChangeNumber: 7 | ||
- schemaChangeNumber: 26 | ||
- select-1-round-trip-ms: 1 | ||
- transactionIsolation: TRANSACTION_READ_COMMITTED (read from connection) | ||
---- |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
= Trace | ||
|
||
#TODO# | ||
`trace` command can print details about trace `zip` file defined by `--input` options and using `--print-stat` option or more detailed information using `--print-stat-extra` option. | ||
|
||
This command can also modify trace file and filter out (remove) operation results. | ||
`--keep` options will keep specified operation results. | ||
Asterisk is allowed. | ||
All above them will be removed. | ||
`--kill` to remove operation results (with their children). | ||
Asterisk is allowed. | ||
|
||
Use `--output` option to specify the output file name. | ||
Default value is `output.zip`. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
= Upgrade objects | ||
|
||
Command `upgrade-objects` can be used to _upgrade_ objects to get rid deprecated or obsolete items and configuration. | ||
This operation can use CSV output file of `verify` command. | ||
|
||
.Example of command that upgrades objects, also with | ||
[source,bash] | ||
---- | ||
./bin/ninja.sh upgrade-objects \ | ||
--verification-file verify-output.csv | ||
---- | ||
|
||
#TODO# |
This file contains 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