diff --git a/config/test_config.yaml b/config/test_config.yaml index 2e325fb..cc37107 100644 --- a/config/test_config.yaml +++ b/config/test_config.yaml @@ -5,29 +5,29 @@ chain_rpc_url: wss://columbus.camino.network/ext/bc/C/ws cheque_expiration_time: 18144000 cm_account_address: 0xe55E387F5474a012D1b048155E25ea78C7DBfBBC db: - migrations_path: file://./migrations - name: camino_messenger_bot - path: supplier-bot.db + migrations_path: file://./migrations + name: camino_messenger_bot + path: supplier-bot.db developer_mode: true matrix: - host: messenger.chain4travel.com - store: supplier-matrix.db + host: messenger.chain4travel.com + store: supplier-matrix.db min_cheque_duration_until_expiration: 15552000 network_fee_recipient_bot_address: 0xff6BAC3d972680515cbB59fCB6Db6deB13Eb0E91 network_fee_recipient_cm_account: 0xF6bA5c68A505559c170dC7a30448Ed64D8b9Bc3B partner_plugin: - ca_file: ca-cert.pem - host: localhost:50051 - unencrypted: true + ca_file: ca-cert.pem + host: localhost:50051 + unencrypted: true response_timeout: 10000 rpc_server: - cert_file: server-cert.pem - key_file: server-key.pem - port: 9090 - unencrypted: true + cert_file: server-cert.pem + key_file: server-key.pem + port: 9090 + unencrypted: true tracing: - cert_file: server-cert.pem - enabled: true - host: localhost:4317 - insecure: true - key_file: server-key.pem + cert_file: server-cert.pem + enabled: true + host: localhost:4317 + insecure: true + key_file: server-key.pem diff --git a/examples/config/camino-messenger-bot-distributor-camino.yaml b/examples/config/camino-messenger-bot-distributor-camino.yaml index 6404d78..6f15277 100644 --- a/examples/config/camino-messenger-bot-distributor-camino.yaml +++ b/examples/config/camino-messenger-bot-distributor-camino.yaml @@ -48,59 +48,59 @@ network_fee_recipient_cm_account: 0x16DFfB3911BB0b1B53eF4d774804381f0B38B5d7 ### Database db: - # Path to migrations dir with sql up/down scripts. Schema is mandatory. - migrations_path: file://./migrations + # Path to migrations dir with sql up/down scripts. Schema is mandatory. + migrations_path: file://./migrations - # Database name. - name: camino_messenger_bot + # Database name. + name: camino_messenger_bot - # Path to database file. - path: distributor-bot.db + # Path to database file. + path: distributor-bot.db ### Matrix matrix: - # Hostname of the Matrix server - host: messenger.chain4travel.com + # Hostname of the Matrix server + host: messenger.chain4travel.com - # Local DB file to store Matrix data - store: distributor-matrix.db + # Local DB file to store Matrix data + store: distributor-matrix.db ### Partner Plugin (NOT USED FOR DISTRIBUTOR BOT) # partner_plugin: -# # Partner Plugin hostname and port, should be reachable from this machine. -# # Bot tries to connect to this host and port to relay messages that it receives from -# # the distributors through Matrix Server -# host: localhost:50051 +# # Partner Plugin hostname and port, should be reachable from this machine. +# # Bot tries to connect to this host and port to relay messages that it receives from +# # the distributors through Matrix Server +# host: localhost:50051 -# # TLS configuration -# unencrypted: true +# # TLS configuration +# unencrypted: true -# # Required if partner_plugin_unencrypted is false -# ca_file: ca-cert.pem +# # Required if partner_plugin_unencrypted is false +# ca_file: ca-cert.pem ### RPC server rpc_server: - # Listen on this port for incoming RPC requests - port: 9090 + # Listen on this port for incoming RPC requests + port: 9090 - # TLS configuration - unencrypted: true + # TLS configuration + unencrypted: true - cert_file: server-cert.pem - key_file: server-key.pem + cert_file: server-cert.pem + key_file: server-key.pem ### Tracing # tracing: -# cert_file: server-cert.pem -# enabled: true -# host: localhost:4317 -# insecure: true -# key_file: server-key.pem +# cert_file: server-cert.pem +# enabled: true +# host: localhost:4317 +# insecure: true +# key_file: server-key.pem diff --git a/examples/config/camino-messenger-bot-distributor-columbus.yaml b/examples/config/camino-messenger-bot-distributor-columbus.yaml index a60da79..6ea42f8 100644 --- a/examples/config/camino-messenger-bot-distributor-columbus.yaml +++ b/examples/config/camino-messenger-bot-distributor-columbus.yaml @@ -48,59 +48,59 @@ network_fee_recipient_cm_account: 0xF6bA5c68A505559c170dC7a30448Ed64D8b9Bc3B ### Database db: - # Path to migrations dir with sql up/down scripts. Schema is mandatory. - migrations_path: file://./migrations + # Path to migrations dir with sql up/down scripts. Schema is mandatory. + migrations_path: file://./migrations - # Database name. - name: camino_messenger_bot + # Database name. + name: camino_messenger_bot - # Path to database file. - path: distributor-bot.db + # Path to database file. + path: distributor-bot.db ### Matrix matrix: - # Hostname of the Matrix server - host: messenger.chain4travel.com + # Hostname of the Matrix server + host: messenger.chain4travel.com - # Local DB file to store Matrix data - store: distributor-matrix.db + # Local DB file to store Matrix data + store: distributor-matrix.db ### Partner Plugin (NOT USED FOR DISTRIBUTOR BOT) # partner_plugin: -# # Partner Plugin hostname and port, should be reachable from this machine. -# # Bot tries to connect to this host and port to relay messages that it receives from -# # the distributors through Matrix Server -# host: localhost:50051 +# # Partner Plugin hostname and port, should be reachable from this machine. +# # Bot tries to connect to this host and port to relay messages that it receives from +# # the distributors through Matrix Server +# host: localhost:50051 -# # TLS configuration -# unencrypted: true +# # TLS configuration +# unencrypted: true -# # Required if partner_plugin_unencrypted is false -# ca_file: ca-cert.pem +# # Required if partner_plugin_unencrypted is false +# ca_file: ca-cert.pem ### RPC server rpc_server: - # Listen on this port for incoming RPC requests - port: 9090 + # Listen on this port for incoming RPC requests + port: 9090 - # TLS configuration - unencrypted: true + # TLS configuration + unencrypted: true - cert_file: server-cert.pem - key_file: server-key.pem + cert_file: server-cert.pem + key_file: server-key.pem ### Tracing # tracing: -# cert_file: server-cert.pem -# enabled: true -# host: localhost:4317 -# insecure: true -# key_file: server-key.pem +# cert_file: server-cert.pem +# enabled: true +# host: localhost:4317 +# insecure: true +# key_file: server-key.pem diff --git a/examples/config/camino-messenger-bot-supplier-camino.yaml b/examples/config/camino-messenger-bot-supplier-camino.yaml index 57b70bd..6583438 100644 --- a/examples/config/camino-messenger-bot-supplier-camino.yaml +++ b/examples/config/camino-messenger-bot-supplier-camino.yaml @@ -48,59 +48,59 @@ network_fee_recipient_cm_account: 0x16DFfB3911BB0b1B53eF4d774804381f0B38B5d7 ### Database db: - # Path to migrations dir with sql up/down scripts. Schema is mandatory. - migrations_path: file://./migrations + # Path to migrations dir with sql up/down scripts. Schema is mandatory. + migrations_path: file://./migrations - # Database name. - name: camino_messenger_bot + # Database name. + name: camino_messenger_bot - # Path to database file. - path: supplier-bot.db + # Path to database file. + path: supplier-bot.db ### Matrix matrix: - # Hostname of the Matrix server - host: messenger.chain4travel.com + # Hostname of the Matrix server + host: messenger.chain4travel.com - # Local DB file to store Matrix data - store: supplier-matrix.db + # Local DB file to store Matrix data + store: supplier-matrix.db ### Partner Plugin partner_plugin: - # Partner Plugin hostname and port, should be reachable from this machine. - # Bot tries to connect to this host and port to relay messages that it receives from - # the distributors through Matrix Server - host: localhost:50051 + # Partner Plugin hostname and port, should be reachable from this machine. + # Bot tries to connect to this host and port to relay messages that it receives from + # the distributors through Matrix Server + host: localhost:50051 - # TLS configuration - unencrypted: true + # TLS configuration + unencrypted: true - # Required if partner_plugin_unencrypted is false - ca_file: ca-cert.pem + # Required if partner_plugin_unencrypted is false + ca_file: ca-cert.pem ### RPC server rpc_server: - # Listen on this port for incoming RPC requests - port: 9090 + # Listen on this port for incoming RPC requests + port: 9090 - # TLS configuration - unencrypted: true + # TLS configuration + unencrypted: true - cert_file: server-cert.pem - key_file: server-key.pem + cert_file: server-cert.pem + key_file: server-key.pem ### Tracing # tracing: -# cert_file: server-cert.pem -# enabled: true -# host: localhost:4317 -# insecure: true -# key_file: server-key.pem +# cert_file: server-cert.pem +# enabled: true +# host: localhost:4317 +# insecure: true +# key_file: server-key.pem diff --git a/examples/config/camino-messenger-bot-supplier-columbus.yaml b/examples/config/camino-messenger-bot-supplier-columbus.yaml index 38b0bac..cf6dde2 100644 --- a/examples/config/camino-messenger-bot-supplier-columbus.yaml +++ b/examples/config/camino-messenger-bot-supplier-columbus.yaml @@ -48,59 +48,59 @@ network_fee_recipient_cm_account: 0xF6bA5c68A505559c170dC7a30448Ed64D8b9Bc3B ### Database db: - # Path to migrations dir with sql up/down scripts. Schema is mandatory. - migrations_path: file://./migrations + # Path to migrations dir with sql up/down scripts. Schema is mandatory. + migrations_path: file://./migrations - # Database name. - name: camino_messenger_bot + # Database name. + name: camino_messenger_bot - # Path to database file. - path: supplier-bot.db + # Path to database file. + path: supplier-bot.db ### Matrix matrix: - # Hostname of the Matrix server - host: messenger.chain4travel.com + # Hostname of the Matrix server + host: messenger.chain4travel.com - # Local DB file to store Matrix data - store: supplier-matrix.db + # Local DB file to store Matrix data + store: supplier-matrix.db ### Partner Plugin partner_plugin: - # Partner Plugin hostname and port, should be reachable from this machine. - # Bot tries to connect to this host and port to relay messages that it receives from - # the distributors through Matrix Server - host: localhost:50051 + # Partner Plugin hostname and port, should be reachable from this machine. + # Bot tries to connect to this host and port to relay messages that it receives from + # the distributors through Matrix Server + host: localhost:50051 - # TLS configuration - unencrypted: true + # TLS configuration + unencrypted: true - # Required if partner_plugin_unencrypted is false - ca_file: ca-cert.pem + # Required if partner_plugin_unencrypted is false + ca_file: ca-cert.pem ### RPC server rpc_server: - # Listen on this port for incoming RPC requests - port: 9090 + # Listen on this port for incoming RPC requests + port: 9090 - # TLS configuration - unencrypted: true + # TLS configuration + unencrypted: true - cert_file: server-cert.pem - key_file: server-key.pem + cert_file: server-cert.pem + key_file: server-key.pem ### Tracing # tracing: -# cert_file: server-cert.pem -# enabled: true -# host: localhost:4317 -# insecure: true -# key_file: server-key.pem +# cert_file: server-cert.pem +# enabled: true +# host: localhost:4317 +# insecure: true +# key_file: server-key.pem