You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,9 @@ It allows to launch tests or import API artifacts with minimal dependencies.
11
11
12
12
## Build Status
13
13
14
-
Current development version is `0.5.3-SNAPSHOT`. [](https://github.com/microcks/microcks-cli/actions)
14
+
Current development version is `0.5.3`. [](https://github.com/microcks/microcks-cli/actions).
15
+
16
+
It is available as a container image named `quay.io/microcks/microcks-cli:nightly`.
15
17
16
18
## Usage instructions
17
19
@@ -47,9 +49,11 @@ The flags:
47
49
*`--keycloakClientId` for the Keycloak Realm Service Account ClientId,
48
50
*`--keycloakClientSecret` for the Keycloak Realm Service Account ClientSecret.
49
51
52
+
> Since `0.5.2` release, `microcks-cli` also works in unauthenticated mode, without Keycloak being deployed and configured with your Microcks instance. However, you still have to specify the Keycloak flags on the command even if you put random values there. For eg. `--keycloakClientId=foo --keycloakClientSecret=bar`.
MicrocksClient got status fortest"5c1781cf6310d94f8169384e" - success: false, inProgress: true
60
64
MicrocksTester waiting for 2 seconds before checking again.
61
65
MicrocksClient got status fortest"5c1781cf6310d94f8169384e" - success: true, inProgress: false
66
+
Full TestResult details are available here: http://localhost:8080/#/tests/5c1781cf6310d94f8169384e
62
67
```
63
68
64
69
#### Advanced options
@@ -68,19 +73,21 @@ The `test` command provides additional flags for advanced usages and options:
68
73
*`--verbose` allows to dump on standard output all the HTTP requests and responses,
69
74
*`--insecure` allows to interact with Microcks and Keycloak instances through HTTPS without checking certificates issuer CA,
70
75
*`--caCerts=<path1,path2>` allows to specify additional certificates CRT files to add to trusted roots ones,
71
-
*`--secretName='<Secret Name>'` is an optional flag specifying the name of a Secret to use for connecting endpoint
76
+
*`--secretName='<Secret Name>'` is an optional flag specifying the name of a Secret to use for connecting endpoint,
77
+
*`--filteredOperations=<JSON>` allows to filter a list of operations to launch a test for,
72
78
*`--operationsHeaders=<JSON>` allows to override some operations headers for the tests to launch.
73
79
74
80
Overriden test operations headers is a JSON strings where 1st level keys are operation name (eg. `GET /beer`) or `globals` for header applying to all the operations of the API. Headers are specified as an array of objects defining `key` and `values` properties.
75
81
76
82
Here's below an example of using some of this flags:
MicrocksClient got status fortest"64c25f7ddec62569f9a0ed95" - success: true, inProgress: false
@@ -107,6 +114,8 @@ The flags:
107
114
*`--keycloakClientId` for the Keycloak Realm Service Account ClientId,
108
115
*`--keycloakClientSecret` for the Keycloak Realm Service Account ClientSecret.
109
116
117
+
> Since `0.5.2` release, `microcks-cli` also works in unauthenticated mode, without Keycloak being deployed and configured with your Microcks instance. However, you still have to specify the Keycloak flags on the command even if you put random values there. For eg. `--keycloakClientId=foo --keycloakClientSecret=bar`.
0 commit comments