WhereScape RED provides a command line interface called WslMetadataService.exe that allows users to access the metadata service. The tool is available in the RED Windows installation directory, this tool can also be called from Windows scripting languages or from a script added to RED UI.
Options for connecting to the metadata server:
Command | Description |
|---|---|
| Metadata connection options | |
| --meta-dsn | Set metadata DSN |
| --meta-dsn-arch | The architecture of the ODBC DSN. Valid values are 32 and 64. Defaults to 32 if not specified. |
| --meta-con-string | Sset metadata Connection String (if specified, username, password, dsn can be optional) |
| --red-profile | Set Red Profile path |
| --meta-user | Set metadata login username (use OS authentication if omitted) |
| --meta-password) | Set metadata login password (use OS authentication if omitted |
| --meta-schema | Set metadata schema (including trailing dot) |
| --meta-database | Set metadata database |
| --meta-db-type | Set metadata database type, accepted values can be:
|
| --ws-user | Set metadata user name |
| HTTP options | |
| --insecure | Allow connections without authorization |
| --listen-port | Port number to listen on (defaults to first unused from 8080) |
| General options | |
| --help | Produce help message and exit |
| --version | Report version information and exit |
| --log-level | Set log level (0 is very quiet, 9 is very noisy) |
Example for a