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
| apiKey | Conditional || User's ReportPortal API key from which you want to send requests. It can be found on the profile page of this user. *Required only if OAuth is not configured. |
68
+
| oauth | Conditional || OAuth 2.0 configuration object. When provided, OAuth authentication will be used instead of API key. See OAuth Configuration below. |
69
+
70
+
#### OAuth Configuration
71
+
72
+
The `oauth` object supports the following properties:
| apiKey | Required*|| User's reportportal token from which you want to send requests. It can be found on the profile page of this user. *Required only if OAuth is not configured. |
97
-
| oauth | Optional || OAuth 2.0 configuration object. When provided, OAuth authentication will be used instead of API key. See OAuth Configuration below. |
98
-
99
-
#### OAuth Configuration
100
-
101
-
The `oauth` object supports the following properties:
| endpoint | Required || URL of your server. For example, if you visit the page at 'https://server:8080/ui', then endpoint will be equal to 'https://server:8080/api/v1'.|
117
-
| launch | Required || Name of the launch at creation. |
118
-
| project | Required || The name of the project in which the launches will be created. |
119
-
| headers | Optional | {} | The object with custom headers for internal http client. |
120
-
| debug | Optional | false | This flag allows seeing the logs of the client. Useful for debugging. |
121
-
| isLaunchMergeRequired | Optional | false | Allows client to merge launches into one at the end of the run via saving their UUIDs to the temp files at filesystem. At the end of the run launches can be merged using `mergeLaunches` method. Temp file format: `rplaunch-${launch_uuid}.tmp`. |
| endpoint | Required || URL of your server. For example, if you visit the page at 'https://server:8080/ui', then endpoint will be equal to 'https://server:8080/api/v1'.|
117
+
| launch | Required || Name of the launch at creation. |
118
+
| project | Required || The name of the project in which the launches will be created. |
119
+
| headers | Optional | {} | The object with custom headers for internal http client. |
120
+
| debug | Optional | false | This flag allows seeing the logs of the client. Useful for debugging. |
121
+
| isLaunchMergeRequired | Optional | false | Allows client to merge launches into one at the end of the run via saving their UUIDs to the temp files at filesystem. At the end of the run launches can be merged using `mergeLaunches` method. Temp file format: `rplaunch-${launch_uuid}.tmp`. |
122
122
| restClientConfig | Optional | Not set |`axios` like http client [config](https://github.com/axios/axios#request-config). May contain `agent` property for configure [http(s)](https://nodejs.org/api/https.html#https_https_request_url_options_callback) client, and other client options eg. `timeout`. For debugging and displaying logs you can set `debug: true`. Use the `retry` property (number or [`axios-retry`](https://github.com/softonic/axios-retry#options) config) to customise automatic retries. |
123
-
| launchUuidPrint | Optional | false | Whether to print the current launch UUID. |
124
-
| launchUuidPrintOutput | Optional | 'STDOUT' | Launch UUID printing output. Possible values: 'STDOUT', 'STDERR', 'FILE', 'ENVIRONMENT'. Works only if `launchUuidPrint` set to `true`. File format: `rp-launch-uuid-${launch_uuid}.tmp`. Env variable: `RP_LAUNCH_UUID`. |
125
-
| token | Deprecated | Not set | Use `apiKey` instead. |
123
+
| launchUuidPrint | Optional | false | Whether to print the current launch UUID. |
124
+
| launchUuidPrintOutput | Optional | 'STDOUT' | Launch UUID printing output. Possible values: 'STDOUT', 'STDERR', 'FILE', 'ENVIRONMENT'. Works only if `launchUuidPrint` set to `true`. File format: `rp-launch-uuid-${launch_uuid}.tmp`. Env variable: `RP_LAUNCH_UUID`. |
125
+
| token | Deprecated | Not set | Use `apiKey`or `oauth`instead.|
0 commit comments