summaryrefslogtreecommitdiff
path: root/internal/rpc/test
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2024-11-22 23:40:10 +0100
committerGitHub <[email protected]>2024-11-22 23:40:10 +0100
commitdfb71afb844365a1fc0c819235f64a2417606a33 (patch)
tree9df5c495a93c60d1d0f7053e0448b7e7d7d06b64 /internal/rpc/test
parentbd93d5c005b48a086646145827e302e2fd5d5872 (diff)
parent642e83ef2771ef6b99571626ecc188c9e41aeeb7 (diff)
[#2063]: fix: properly parse includes outside the Configuration plugin
Diffstat (limited to 'internal/rpc/test')
-rw-r--r--internal/rpc/test/config_rpc_conn_err.yaml2
-rw-r--r--internal/rpc/test/config_rpc_empty.yaml1
-rw-r--r--internal/rpc/test/config_rpc_ok.yaml2
-rw-r--r--internal/rpc/test/config_rpc_ok_env.yaml2
-rw-r--r--internal/rpc/test/config_rpc_wrong.yaml2
-rw-r--r--internal/rpc/test/include1/.rr-include.yaml5
-rw-r--r--internal/rpc/test/include1/.rr.yaml11
7 files changed, 25 insertions, 0 deletions
diff --git a/internal/rpc/test/config_rpc_conn_err.yaml b/internal/rpc/test/config_rpc_conn_err.yaml
index c7d31056..5438198f 100644
--- a/internal/rpc/test/config_rpc_conn_err.yaml
+++ b/internal/rpc/test/config_rpc_conn_err.yaml
@@ -1,2 +1,4 @@
+version: "3"
+
rpc:
listen: tcp://127.0.0.1:55554
diff --git a/internal/rpc/test/config_rpc_empty.yaml b/internal/rpc/test/config_rpc_empty.yaml
index e69de29b..5db6fe96 100644
--- a/internal/rpc/test/config_rpc_empty.yaml
+++ b/internal/rpc/test/config_rpc_empty.yaml
@@ -0,0 +1 @@
+version: "3"
diff --git a/internal/rpc/test/config_rpc_ok.yaml b/internal/rpc/test/config_rpc_ok.yaml
index c7d31056..5438198f 100644
--- a/internal/rpc/test/config_rpc_ok.yaml
+++ b/internal/rpc/test/config_rpc_ok.yaml
@@ -1,2 +1,4 @@
+version: "3"
+
rpc:
listen: tcp://127.0.0.1:55554
diff --git a/internal/rpc/test/config_rpc_ok_env.yaml b/internal/rpc/test/config_rpc_ok_env.yaml
index fd0d3f11..f5ae461e 100644
--- a/internal/rpc/test/config_rpc_ok_env.yaml
+++ b/internal/rpc/test/config_rpc_ok_env.yaml
@@ -1,2 +1,4 @@
+version: "3"
+
rpc:
listen: ${RPC}
diff --git a/internal/rpc/test/config_rpc_wrong.yaml b/internal/rpc/test/config_rpc_wrong.yaml
index 8282ee1f..c4ff9c46 100644
--- a/internal/rpc/test/config_rpc_wrong.yaml
+++ b/internal/rpc/test/config_rpc_wrong.yaml
@@ -1,2 +1,4 @@
+version: "3"
+
rpc:
$foo bar
diff --git a/internal/rpc/test/include1/.rr-include.yaml b/internal/rpc/test/include1/.rr-include.yaml
new file mode 100644
index 00000000..a145a947
--- /dev/null
+++ b/internal/rpc/test/include1/.rr-include.yaml
@@ -0,0 +1,5 @@
+version: "3"
+
+rpc:
+ listen: tcp://127.0.0.1:6010
+
diff --git a/internal/rpc/test/include1/.rr.yaml b/internal/rpc/test/include1/.rr.yaml
new file mode 100644
index 00000000..66de370b
--- /dev/null
+++ b/internal/rpc/test/include1/.rr.yaml
@@ -0,0 +1,11 @@
+version: "3"
+
+server:
+ command: "php app-with-domain-specific-routes.php"
+
+logs:
+ level: debug
+ mode: development
+
+include:
+ - test/include1/.rr-include.yaml