Visit Azul.com Support

Set-Toml-Config-Source-Configuration

Table of Contents
Need help?
Schedule a consultation with an Azul performance expert.
Contact Us

Configures the toml configuration source.

Synopsis

 
asadmin [asadmin-options] set-toml-config-source-configuration [--help] [--path=<path>] [--depth=<depth>] [--dynamic={true|false}] [--enabled={true|false}] [--target=<target[default:server]>]

Description

The set-toml-config-source-configuration provides configuration options to set the properties required by toml config source to read the values from the configured file.

Options

asadmin-options: Options for the asadmin utility. For information about these options, see the asadmin help page. --help: -?: Displays the help text for the subcommand. --path: Absolute path of the TOML file or relative path to the current domain. --depth: Maximum recursion depth for nested tables/arrays. --dynamic: Configure the config source dynamically, which will not require a restart. --enabled: Enables or disables the config source. --target: Specifies the target where the configuration source resides.
Valid values are as follows:
server;; Specifies the DAS (default). instance-name;; Specifies a Payara Server instance. cluster-name;; Specifies a cluster.

Example

Example 1 Configuring the toml Config Source.

This example configures the toml config source.

 
asadmin set-toml-config-source-configuration --path /Users/payara/config.toml --depth 5 --enabled true --dynamic true

Exit Status

0: subcommand executed successfully 1: error in executing the subcommand

See Also