GuidesChangelogData Inspector Library API Reference
Guides

local

local

The OLP CLI supports the following:

local inspect

Opens the local Data Inspector in an external browser.

To inspect a specific catalog, see the olp local catalog inspect command.

olp local inspect [command parameters]

Optional parameters:

  • --quiet Displays empty output with no additional information.
  • --scope <project HRN> Specifies the project HRN to use as the scope in the request. The value specified with --scope overrides any value for here.token.scope provided in the credentials file used for the command.
  • --credentials <path to credentials file> The name of a credentials file to use with the command. Credentials files are downloaded separately from the portal.
  • --profile <profile name> The name of the credentials profile to use from the olpcli.ini file.

For more information on using credentials and profiles, see Credentials setup.

Example:

olp local inspect

Output:

A browser page should be opened shortly. If the browser does not show up, manually navigate to http://127.0.0.1:31005/inspector/?environment=here
Press CTRL-C to stop the local inspector...

Note

The olp local inspect command starts a local Data API server and does not return control to the user until the process is terminated.

local server

Starts a local data server.

olp local server [command parameters]

Optional parameters:

  • --offline-mode Starts the server in offline mode. Remote catalogs will not be accessible.
  • --port=31005 Server TCP port. By default, the first available port from 31005 is used.
  • --quiet Displays empty output with no additional information.
  • --scope <project HRN> Specifies the project HRN to use as the scope in the request. The value specified with --scope overrides any value for here.token.scope provided in the credentials file used for the command.
  • --credentials <path to credentials file> The name of a credentials file to use with the command. Credentials files are downloaded separately from the portal.
  • --profile <profile name> The name of the credentials profile to use from the olpcli.ini file.

For more information on using credentials and profiles, see Credentials setup.

Example:

olp local server

Output:

Local Data server running at http://127.0.0.1:31005
Press CTRL-C to stop the server...

Note

The olp local server command starts a local Data server and does not return control to the user until the process is terminated.