2022-02-17 17:36:10 +08:00
|
|
|
cert_file: &cert_file "$PROJECT_DIR/tests/e2e/websocket/memgraph-selfsigned.crt"
|
|
|
|
key_file: &key_file "$PROJECT_DIR/tests/e2e/websocket/memgraph-selfsigned.key"
|
|
|
|
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:
|
|
|
|
websocket:
|
|
|
|
args: ["--bolt-port=7687", "--log-level=TRACE", "--"]
|
|
|
|
log_file: "websocket-e2e.log"
|
|
|
|
template_cluster_ssl: &template_cluster_ssl
|
|
|
|
cluster:
|
|
|
|
websocket:
|
|
|
|
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: "websocket-ssl-e2e.log"
|
|
|
|
ssl: true
|
|
|
|
|
|
|
|
workloads:
|
|
|
|
- name: "Websocket"
|
|
|
|
binary: "tests/e2e/websocket/memgraph__e2e__websocket"
|
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: "Websocket SSL"
|
|
|
|
binary: "tests/e2e/websocket/memgraph__e2e__websocket_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
|
2022-02-17 17:51:04 +08:00
|
|
|
|