symphony.bdk.core.config.model.bdk_config.BdkConfig#
- class symphony.bdk.core.config.model.bdk_config.BdkConfig(**config)#
Bases:
symphony.bdk.core.config.model.bdk_server_config.BdkServerConfig
Class containing the whole BDK configuration.
- __init__(**config)#
- Parameters
config – the dict containing the server configuration parameters.
Methods
__init__
(**config)- param config
the dict containing the server configuration parameters.
Constructs the base path of the current config
Formats the context field
- return
the port information to be appended to the built URL
- return
true if app id is specified in the configuration.
- return
true if bot service account is specified in the configuration.
Attributes
DEFAULT_HTTPS_PORT
DEFAULT_SCHEME
- get_base_path() str #
Constructs the base path of the current config
- Returns
scheme://host:port + formatted_context
- Return type
str
- get_formatted_context() str #
Formats the context field
- Returns
“/” + context if the context is not empty
- Return type
str
- get_port_as_string() str #
- Returns
the port information to be appended to the built URL
- is_app_configured() bool #
- Returns
true if app id is specified in the configuration.
- is_bot_configured() bool #
- Returns
true if bot service account is specified in the configuration.