diff options
author | Valery Piashchynski <[email protected]> | 2024-11-22 23:40:10 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-22 23:40:10 +0100 |
commit | dfb71afb844365a1fc0c819235f64a2417606a33 (patch) | |
tree | 9df5c495a93c60d1d0f7053e0448b7e7d7d06b64 /internal/rpc/test | |
parent | bd93d5c005b48a086646145827e302e2fd5d5872 (diff) | |
parent | 642e83ef2771ef6b99571626ecc188c9e41aeeb7 (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.yaml | 2 | ||||
-rw-r--r-- | internal/rpc/test/config_rpc_empty.yaml | 1 | ||||
-rw-r--r-- | internal/rpc/test/config_rpc_ok.yaml | 2 | ||||
-rw-r--r-- | internal/rpc/test/config_rpc_ok_env.yaml | 2 | ||||
-rw-r--r-- | internal/rpc/test/config_rpc_wrong.yaml | 2 | ||||
-rw-r--r-- | internal/rpc/test/include1/.rr-include.yaml | 5 | ||||
-rw-r--r-- | internal/rpc/test/include1/.rr.yaml | 11 |
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 |