The following parameters can be provided in a pinnacle21.conf file which must be located in the same directory as the executable JAR.
Parameter | Command line | Default | Description |
api.key | --api.key | None | Key used to validate the request on the server. |
web.host | --web.host | None | Address where the request is sent. |
enterprise.project | --project | enterprise_cli | Name of the project that contains the data to be validated. |
enterprise.study | --study | enterprise_cli | Name of the study that contains the data to be validated. |
enterprise.group | --group | enterprise_cli | Name of the group that the request is associated with. |
create.always | --create.always | Yes | When set to yes, CLI will create the project and study with names specified in --project and --study if any of them don't already exist. |
validator.http.max.socketTimeout | Not available | 20000 (ms) | If validation fails with errors due to timeout, setting this value to 50000 may allow validation without error. |
validator.http.max.requestTimeout | Not available | 20000 (ms) | If validation fails with errors due to timeout, setting this value to 50000 may allow validation without error. |
default.http.max.connectTimeout | Not available | 20000 (ms) | If validation fails with errors due to timeout, setting this value to 50000 may allow validation without error. |
default.http.max.requestTimeout | Not available | 20000 (ms) | If validation fails with errors due to timeout, setting this value to 50000 may allow validation without error. |
default.http.max.socketTimeout | Not available | 20000 (ms) | If validation fails with errors due to timeout, setting this value to 50000 may allow validation without error. |
define.http.max.requestTimeout | Not available | 15000 (ms) |
|
define.http.max.socketTimeout | Not available | 15000 (ms) |
|
default.http.proxy.host | Not available |
|
|
default.http.proxy.port | Not available |
|
|
default.http.proxy.username | Not available |
|
|
default.http.proxy.password | Not available |
|
|
A sample pinnacle21.conf file:
web.host = "https://{your␣company}.pinnacle21.net"
api.key = {API key from the Enterprise Server}
group = enterprise_cli
default.http.proxy.host ={proxy␣server}
default.http.proxy.port = {proxy server port}
default.http.proxy.username = {proxy user name}
default.http.proxy.password = {proxy password}
validator.http.max.socketTimeout = 50000
validator.http.max.requestTimeout = 50000
default.http.max.connectTimeout = 50000
default.http.max.requestTimeout = 50000
default.http.max.socketTimeout = 50000
define.http.max.requestTimeout = 50000
define.http.max.socketTimeout = 50000
See also CLI Parameters for command-line configuration options.
👣 What's Next?
Learn more in How do I use P21 Enterprise via API/CLI?
Email questions or feedback to support@pinnacle21.atlassian.net.