Configuration file
ConfigMyApp uses a config.json configuration file which can be found in the root of the project.
The values in the configuration file are only used when the runtime parameter is not defined and the environment for the same parameter does not exist.
The table below describe the JSON configuration:
| Section | JSON path | Description | Mandatory |
|---|---|---|---|
| Connection | .controller_details[].host | controller host | |
| Connection | .controller_details[].port | controller port | |
| Connection | .controller_details[].use_https | if true, specifies that the agent should use SSL | |
| Account | .controller_details[].account | account name | |
| Account | .controller_details[].username | appd user username | |
| Account | .controller_details[].password | appd user password (no default) | |
| Account | .are_passwords_encoded | use base64 encoded credentials | |
| Proxy | .controller_details[].use_proxy | use proxy | |
| Proxy | .controller_details[].proxy_url | proxy url | |
| Proxy | .controller_details[].proxy_port | proxy port | |
| Branding | .branding[].enabled | enable branding | |
| Branding | .branding[].logo_file_name | logo image file name | |
| Branding | .branding[].background_file_name | background image file name | |
| Application | .configuration[].application_name | application name | |
| Application | .configuration[].include_database | include database | |
| Application | .configuration[].database_name | database name, mandatory if include-database set to true | |
| Application | .configuration[].include_sim | include server visibility | |
| Application | .configuration[].configure_bt | configure business transactions | |
| Application | .overwrite_health_rules | overwrite health rules | |
| Application | .configuration[].bt_only | configure business transactions only | |
| Application | .configuration[].upload_custom_dashboard | Upload existing custom dashboard (false by default) | |
| Application | .configuration[].upload_default_dashboard | Upload default dashboard (true by default) | |
| Action Suppression | .action_suppression[].suppress_action | use application action suppression (false by default) | |
| Action Suppression | .action_suppression[].suppress_start | application suppression start date in “yyyy-MM-ddThh:mm:ss+0000” format (GMT) | |
| Action Suppression | .action_suppression[].suppress_duration | application suppression duration in minutes | |
| Action Suppression | .action_suppression[].suppress_name | custom name of the supression action, if none specified name is auto-generated | |
| Action Suppression | .action_suppression[].suppress_upload_files | upload action suppression files from a folder (false by default) | |
| Action Suppression | .action_suppression[].suppress_delete | delete action suppression by passing action name to this parameter (no default) | |
| RBAC | .rbac[].rbac_only | configure RBAC (false by default) | |
| RBAC | .rbac[].rbac_action | RBAC action to be performed (rbac-saml by default) | |
| RBAC | .rbac[].rbac_role_name | RBAC role name (auto-generated by default) | |
| RBAC | .rbac[].rbac_role_description | RBAC role description, not mandatory (no default) | |
| RBAC | .rbac[].rbac_saml_group_name | RBAC SAML group name (auto-generated by default) | |
| RBAC | .rbac[].rbac_license_rule_name | License rule name (auto-generated by default) |