memgraph/tests/e2e/monitoring_server/workloads.yaml

38 lines
1.2 KiB
YAML
Raw Normal View History

cert_file: &cert_file "$PROJECT_DIR/tests/e2e/memgraph-selfsigned.crt"
key_file: &key_file "$PROJECT_DIR/tests/e2e/memgraph-selfsigned.key"
2022-02-17 17:36:10 +08:00
bolt_port: &bolt_port "7687"
2022-02-17 17:27:24 +08:00
monitoring_port: &monitoring_port "7444"
2022-02-17 17:36:10 +08:00
template_cluster: &template_cluster
cluster:
monitoring:
2022-02-17 17:36:10 +08:00
args: ["--bolt-port=7687", "--log-level=TRACE", "--"]
log_file: "monitoring-websocket-e2e.log"
2022-02-17 17:36:10 +08:00
template_cluster_ssl: &template_cluster_ssl
cluster:
monitoring:
2022-02-17 17:36:10 +08:00
args:
[
"--bolt-port",
*bolt_port,
2022-02-17 17:27:24 +08:00
"--monitoring-port",
*monitoring_port,
2022-02-17 17:36:10 +08:00
"--log-level=TRACE",
"--bolt-cert-file",
*cert_file,
"--bolt-key-file",
*key_file,
"--",
]
log_file: "monitoring-websocket-ssl-e2e.log"
2022-02-17 17:36:10 +08:00
ssl: true
workloads:
- name: "Monitoring server using WebSocket"
binary: "tests/e2e/monitoring_server/memgraph__e2e__monitoring_server"
2022-02-17 17:27:24 +08:00
args: ["--bolt-port", *bolt_port, "--monitoring-port", *monitoring_port]
2022-02-17 17:36:10 +08:00
<<: *template_cluster
- name: "Monitoring server using WebSocket SSL"
binary: "tests/e2e/monitoring_server/memgraph__e2e__monitoring_server_ssl"
2022-02-17 17:27:24 +08:00
args: ["--bolt-port", *bolt_port, "--monitoring-port", *monitoring_port]
2022-02-17 17:36:10 +08:00
<<: *template_cluster_ssl