summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-15 19:32:18 +0300
committerGitHub <[email protected]>2021-01-15 19:32:18 +0300
commit4c970f1876dfb5918ec2dc1d358a52698c6de040 (patch)
tree37222d13701c84b00ccc1e5d57844d2756369b5a /tests/plugins
parentf648d96c8516652f3231eb87be1f0a000e12793f (diff)
parent609fe5057f9f3cc2f7f5104f305f08a0496e8fef (diff)
Merge pull request #477 from spiral/feature/worker_watcher_testsv2.0.0-beta8
feat(worker_watcher): Add stack tests
Diffstat (limited to 'tests/plugins')
-rwxr-xr-xtests/plugins/checker/configs/.rr-checker-init.yaml14
-rw-r--r--tests/plugins/gzip/configs/.rr-http-middlewareNotExist.yaml14
-rw-r--r--tests/plugins/gzip/configs/.rr-http-withGzip.yaml14
-rw-r--r--tests/plugins/headers/configs/.rr-cors-headers.yaml14
-rw-r--r--tests/plugins/headers/configs/.rr-headers-init.yaml14
-rw-r--r--tests/plugins/headers/configs/.rr-req-headers.yaml14
-rw-r--r--tests/plugins/headers/configs/.rr-res-headers.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-broken-pipes.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-env.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-fcgi-reqUri.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-fcgi.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-h2c.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-http.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-init.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-resetter.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-ssl-push.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-ssl-redirect.yaml14
-rw-r--r--tests/plugins/http/configs/.rr-ssl.yaml14
-rw-r--r--tests/plugins/informer/.rr-informer.yaml2
-rw-r--r--tests/plugins/kv/boltdb/configs/.rr-init.yaml14
-rw-r--r--tests/plugins/kv/memcached/configs/.rr-init.yaml14
-rw-r--r--tests/plugins/kv/memory/configs/.rr-init.yaml14
-rw-r--r--tests/plugins/reload/configs/.rr-reload-2.yaml14
-rw-r--r--tests/plugins/reload/configs/.rr-reload-3.yaml14
-rw-r--r--tests/plugins/reload/configs/.rr-reload-4.yaml14
-rw-r--r--tests/plugins/reload/configs/.rr-reload.yaml14
-rw-r--r--tests/plugins/resetter/.rr-resetter.yaml2
-rw-r--r--tests/plugins/server/configs/.rr-no-app-section.yaml2
-rw-r--r--tests/plugins/server/configs/.rr-sockets.yaml2
-rw-r--r--tests/plugins/server/configs/.rr-tcp.yaml2
-rw-r--r--tests/plugins/server/configs/.rr-wrong-command.yaml2
-rw-r--r--tests/plugins/server/configs/.rr-wrong-relay.yaml2
-rw-r--r--tests/plugins/server/configs/.rr.yaml2
-rw-r--r--tests/plugins/static/configs/.rr-http-static-disabled.yaml14
-rw-r--r--tests/plugins/static/configs/.rr-http-static-files-disable.yaml14
-rw-r--r--tests/plugins/static/configs/.rr-http-static-files.yaml14
-rw-r--r--tests/plugins/static/configs/.rr-http-static.yaml14
37 files changed, 211 insertions, 211 deletions
diff --git a/tests/plugins/checker/configs/.rr-checker-init.yaml b/tests/plugins/checker/configs/.rr-checker-init.yaml
index 1273529a..36130382 100755
--- a/tests/plugins/checker/configs/.rr-checker-init.yaml
+++ b/tests/plugins/checker/configs/.rr-checker-init.yaml
@@ -9,7 +9,7 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
status:
address: "127.0.0.1:34333"
@@ -19,13 +19,13 @@ logs:
http:
debug: true
address: 127.0.0.1:11933
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s \ No newline at end of file
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s \ No newline at end of file
diff --git a/tests/plugins/gzip/configs/.rr-http-middlewareNotExist.yaml b/tests/plugins/gzip/configs/.rr-http-middlewareNotExist.yaml
index a2d12706..b900ff30 100644
--- a/tests/plugins/gzip/configs/.rr-http-middlewareNotExist.yaml
+++ b/tests/plugins/gzip/configs/.rr-http-middlewareNotExist.yaml
@@ -5,21 +5,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:18103
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "gzip", "foo" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/gzip/configs/.rr-http-withGzip.yaml b/tests/plugins/gzip/configs/.rr-http-withGzip.yaml
index aff3efdb..3ab918fb 100644
--- a/tests/plugins/gzip/configs/.rr-http-withGzip.yaml
+++ b/tests/plugins/gzip/configs/.rr-http-withGzip.yaml
@@ -5,21 +5,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:18953
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "gzip" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/headers/configs/.rr-cors-headers.yaml b/tests/plugins/headers/configs/.rr-cors-headers.yaml
index 9d4e8b36..2e16ee66 100644
--- a/tests/plugins/headers/configs/.rr-cors-headers.yaml
+++ b/tests/plugins/headers/configs/.rr-cors-headers.yaml
@@ -5,16 +5,16 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:22855
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "headers" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
# Additional HTTP headers and CORS control.
headers:
cors:
@@ -29,10 +29,10 @@ http:
response:
"output": "output-header"
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/headers/configs/.rr-headers-init.yaml b/tests/plugins/headers/configs/.rr-headers-init.yaml
index 8d63a187..55b5b5a8 100644
--- a/tests/plugins/headers/configs/.rr-headers-init.yaml
+++ b/tests/plugins/headers/configs/.rr-headers-init.yaml
@@ -5,16 +5,16 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:33453
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "headers" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
# Additional HTTP headers and CORS control.
headers:
cors:
@@ -29,10 +29,10 @@ http:
response:
"X-Powered-By": "RoadRunner"
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/headers/configs/.rr-req-headers.yaml b/tests/plugins/headers/configs/.rr-req-headers.yaml
index f8ab9bec..fc38a74b 100644
--- a/tests/plugins/headers/configs/.rr-req-headers.yaml
+++ b/tests/plugins/headers/configs/.rr-req-headers.yaml
@@ -5,16 +5,16 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:22655
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "headers" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
# Additional HTTP headers and CORS control.
headers:
request:
@@ -22,10 +22,10 @@ http:
response:
"output": "output-header"
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/headers/configs/.rr-res-headers.yaml b/tests/plugins/headers/configs/.rr-res-headers.yaml
index 36ab4eb3..be9cfead 100644
--- a/tests/plugins/headers/configs/.rr-res-headers.yaml
+++ b/tests/plugins/headers/configs/.rr-res-headers.yaml
@@ -5,16 +5,16 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:22455
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "headers" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
# Additional HTTP headers and CORS control.
headers:
request:
@@ -22,10 +22,10 @@ http:
response:
"output": "output-header"
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/http/configs/.rr-broken-pipes.yaml b/tests/plugins/http/configs/.rr-broken-pipes.yaml
index 8006cb5f..bfcbf592 100644
--- a/tests/plugins/http/configs/.rr-broken-pipes.yaml
+++ b/tests/plugins/http/configs/.rr-broken-pipes.yaml
@@ -9,21 +9,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:12384
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/http/configs/.rr-env.yaml b/tests/plugins/http/configs/.rr-env.yaml
index 1cce5dab..219bad19 100644
--- a/tests/plugins/http/configs/.rr-env.yaml
+++ b/tests/plugins/http/configs/.rr-env.yaml
@@ -9,24 +9,24 @@ server:
env:
"env_key": "ENV_VALUE"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:12084
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
env:
"RR_HTTP": "true"
"env_key": "ENV_VALUE"
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/http/configs/.rr-fcgi-reqUri.yaml b/tests/plugins/http/configs/.rr-fcgi-reqUri.yaml
index 725ae724..99002777 100644
--- a/tests/plugins/http/configs/.rr-fcgi-reqUri.yaml
+++ b/tests/plugins/http/configs/.rr-fcgi-reqUri.yaml
@@ -5,21 +5,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: :8082
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 1
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 1
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
ssl:
port: 8890
diff --git a/tests/plugins/http/configs/.rr-fcgi.yaml b/tests/plugins/http/configs/.rr-fcgi.yaml
index ba119a88..110b68f4 100644
--- a/tests/plugins/http/configs/.rr-fcgi.yaml
+++ b/tests/plugins/http/configs/.rr-fcgi.yaml
@@ -5,21 +5,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: :8081
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 1
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 1
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
ssl:
port: 8889
diff --git a/tests/plugins/http/configs/.rr-h2c.yaml b/tests/plugins/http/configs/.rr-h2c.yaml
index 287b7929..c2703182 100644
--- a/tests/plugins/http/configs/.rr-h2c.yaml
+++ b/tests/plugins/http/configs/.rr-h2c.yaml
@@ -5,21 +5,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: :8083
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 1
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 1
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
http2:
enabled: true
h2c: true
diff --git a/tests/plugins/http/configs/.rr-http.yaml b/tests/plugins/http/configs/.rr-http.yaml
index 93f131f8..30d31819 100644
--- a/tests/plugins/http/configs/.rr-http.yaml
+++ b/tests/plugins/http/configs/.rr-http.yaml
@@ -9,21 +9,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:18903
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "pluginMiddleware", "pluginMiddleware2" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/http/configs/.rr-init.yaml b/tests/plugins/http/configs/.rr-init.yaml
index 79303eab..b541e6de 100644
--- a/tests/plugins/http/configs/.rr-init.yaml
+++ b/tests/plugins/http/configs/.rr-init.yaml
@@ -9,21 +9,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:15395
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
ssl:
port: 8892
diff --git a/tests/plugins/http/configs/.rr-resetter.yaml b/tests/plugins/http/configs/.rr-resetter.yaml
index e2edafc6..88c54858 100644
--- a/tests/plugins/http/configs/.rr-resetter.yaml
+++ b/tests/plugins/http/configs/.rr-resetter.yaml
@@ -9,21 +9,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:10084
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/http/configs/.rr-ssl-push.yaml b/tests/plugins/http/configs/.rr-ssl-push.yaml
index 81699a21..ae9fbc02 100644
--- a/tests/plugins/http/configs/.rr-ssl-push.yaml
+++ b/tests/plugins/http/configs/.rr-ssl-push.yaml
@@ -5,21 +5,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: :8086
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 1
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 1
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
ssl:
port: 8894
diff --git a/tests/plugins/http/configs/.rr-ssl-redirect.yaml b/tests/plugins/http/configs/.rr-ssl-redirect.yaml
index fe6c5a86..d052e649 100644
--- a/tests/plugins/http/configs/.rr-ssl-redirect.yaml
+++ b/tests/plugins/http/configs/.rr-ssl-redirect.yaml
@@ -5,21 +5,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: :8087
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 1
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 1
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
ssl:
port: 8895
diff --git a/tests/plugins/http/configs/.rr-ssl.yaml b/tests/plugins/http/configs/.rr-ssl.yaml
index 3255383a..182ac7ef 100644
--- a/tests/plugins/http/configs/.rr-ssl.yaml
+++ b/tests/plugins/http/configs/.rr-ssl.yaml
@@ -5,21 +5,21 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: :8085
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
- numWorkers: 1
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 1
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
ssl:
port: 8893
diff --git a/tests/plugins/informer/.rr-informer.yaml b/tests/plugins/informer/.rr-informer.yaml
index e50ca9c9..e5853b21 100644
--- a/tests/plugins/informer/.rr-informer.yaml
+++ b/tests/plugins/informer/.rr-informer.yaml
@@ -6,7 +6,7 @@ server:
"RR_CONFIG": "/some/place/on/the/C134"
"RR_CONFIG2": "C138"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
rpc:
listen: tcp://127.0.0.1:6001
diff --git a/tests/plugins/kv/boltdb/configs/.rr-init.yaml b/tests/plugins/kv/boltdb/configs/.rr-init.yaml
index 4629a24b..8cfa20e9 100644
--- a/tests/plugins/kv/boltdb/configs/.rr-init.yaml
+++ b/tests/plugins/kv/boltdb/configs/.rr-init.yaml
@@ -9,7 +9,7 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
logs:
mode: development
@@ -17,11 +17,11 @@ logs:
http:
address: 127.0.0.1:44933
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: ["gzip", "headers"]
uploads:
forbid: [".php", ".exe", ".bat"]
- trustedSubnets:
+ trusted_subnets:
[
"10.0.0.0/8",
"127.0.0.0/8",
@@ -32,10 +32,10 @@ http:
"fe80::/10",
]
pool:
- numWorkers: 6
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 6
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
# boltdb simple driver
boltdb:
diff --git a/tests/plugins/kv/memcached/configs/.rr-init.yaml b/tests/plugins/kv/memcached/configs/.rr-init.yaml
index 759fc3ba..66ed75cf 100644
--- a/tests/plugins/kv/memcached/configs/.rr-init.yaml
+++ b/tests/plugins/kv/memcached/configs/.rr-init.yaml
@@ -9,7 +9,7 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
logs:
mode: development
@@ -17,11 +17,11 @@ logs:
http:
address: 127.0.0.1:44933
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: ["gzip", "headers"]
uploads:
forbid: [".php", ".exe", ".bat"]
- trustedSubnets:
+ trusted_subnets:
[
"10.0.0.0/8",
"127.0.0.0/8",
@@ -32,10 +32,10 @@ http:
"fe80::/10",
]
pool:
- numWorkers: 6
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 6
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
# boltdb simple driver
memcached:
diff --git a/tests/plugins/kv/memory/configs/.rr-init.yaml b/tests/plugins/kv/memory/configs/.rr-init.yaml
index dedc6cd2..e352fad2 100644
--- a/tests/plugins/kv/memory/configs/.rr-init.yaml
+++ b/tests/plugins/kv/memory/configs/.rr-init.yaml
@@ -9,7 +9,7 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
logs:
mode: development
@@ -17,11 +17,11 @@ logs:
http:
address: 127.0.0.1:44933
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: ["gzip", "headers"]
uploads:
forbid: [".php", ".exe", ".bat"]
- trustedSubnets:
+ trusted_subnets:
[
"10.0.0.0/8",
"127.0.0.0/8",
@@ -32,10 +32,10 @@ http:
"fe80::/10",
]
pool:
- numWorkers: 6
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 6
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
# in memory KV driver
memory:
diff --git a/tests/plugins/reload/configs/.rr-reload-2.yaml b/tests/plugins/reload/configs/.rr-reload-2.yaml
index ab32b2d1..882ab628 100644
--- a/tests/plugins/reload/configs/.rr-reload-2.yaml
+++ b/tests/plugins/reload/configs/.rr-reload-2.yaml
@@ -5,11 +5,11 @@ server:
env:
RR_HTTP: 'true'
relay: pipes
- relayTimeout: 20s
+ relay_timeout: 20s
http:
debug: true
address: '127.0.0.1:27388'
- maxRequestSize: 1024
+ max_request_size: 1024
middleware:
- ''
uploads:
@@ -17,7 +17,7 @@ http:
- .php
- .exe
- .bat
- trustedSubnets:
+ trusted_subnets:
- 10.0.0.0/8
- 127.0.0.0/8
- 172.16.0.0/12
@@ -26,10 +26,10 @@ http:
- 'fc00::/7'
- 'fe80::/10'
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/reload/configs/.rr-reload-3.yaml b/tests/plugins/reload/configs/.rr-reload-3.yaml
index 881d9b88..4f964609 100644
--- a/tests/plugins/reload/configs/.rr-reload-3.yaml
+++ b/tests/plugins/reload/configs/.rr-reload-3.yaml
@@ -5,11 +5,11 @@ server:
env:
RR_HTTP: 'true'
relay: pipes
- relayTimeout: 20s
+ relay_timeout: 20s
http:
debug: true
address: '127.0.0.1:37388'
- maxRequestSize: 1024
+ max_request_size: 1024
middleware:
- ''
uploads:
@@ -17,7 +17,7 @@ http:
- .php
- .exe
- .bat
- trustedSubnets:
+ trusted_subnets:
- 10.0.0.0/8
- 127.0.0.0/8
- 172.16.0.0/12
@@ -26,10 +26,10 @@ http:
- 'fc00::/7'
- 'fe80::/10'
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/reload/configs/.rr-reload-4.yaml b/tests/plugins/reload/configs/.rr-reload-4.yaml
index d47df558..76966e49 100644
--- a/tests/plugins/reload/configs/.rr-reload-4.yaml
+++ b/tests/plugins/reload/configs/.rr-reload-4.yaml
@@ -5,11 +5,11 @@ server:
env:
RR_HTTP: 'true'
relay: pipes
- relayTimeout: 20s
+ relay_timeout: 20s
http:
debug: true
address: '127.0.0.1:22766'
- maxRequestSize: 1024
+ max_request_size: 1024
middleware:
- ''
uploads:
@@ -17,7 +17,7 @@ http:
- .php
- .exe
- .bat
- trustedSubnets:
+ trusted_subnets:
- 10.0.0.0/8
- 127.0.0.0/8
- 172.16.0.0/12
@@ -26,10 +26,10 @@ http:
- 'fc00::/7'
- 'fe80::/10'
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/reload/configs/.rr-reload.yaml b/tests/plugins/reload/configs/.rr-reload.yaml
index 794c41f2..5dfb1171 100644
--- a/tests/plugins/reload/configs/.rr-reload.yaml
+++ b/tests/plugins/reload/configs/.rr-reload.yaml
@@ -5,11 +5,11 @@ server:
env:
RR_HTTP: 'true'
relay: pipes
- relayTimeout: 20s
+ relay_timeout: 20s
http:
debug: true
address: '127.0.0.1:22388'
- maxRequestSize: 1024
+ max_request_size: 1024
middleware:
- ''
uploads:
@@ -17,7 +17,7 @@ http:
- .php
- .exe
- .bat
- trustedSubnets:
+ trusted_subnets:
- 10.0.0.0/8
- 127.0.0.0/8
- 172.16.0.0/12
@@ -26,10 +26,10 @@ http:
- 'fc00::/7'
- 'fe80::/10'
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error
diff --git a/tests/plugins/resetter/.rr-resetter.yaml b/tests/plugins/resetter/.rr-resetter.yaml
index e50ca9c9..e5853b21 100644
--- a/tests/plugins/resetter/.rr-resetter.yaml
+++ b/tests/plugins/resetter/.rr-resetter.yaml
@@ -6,7 +6,7 @@ server:
"RR_CONFIG": "/some/place/on/the/C134"
"RR_CONFIG2": "C138"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
rpc:
listen: tcp://127.0.0.1:6001
diff --git a/tests/plugins/server/configs/.rr-no-app-section.yaml b/tests/plugins/server/configs/.rr-no-app-section.yaml
index 4888d249..e44eeb56 100644
--- a/tests/plugins/server/configs/.rr-no-app-section.yaml
+++ b/tests/plugins/server/configs/.rr-no-app-section.yaml
@@ -6,7 +6,7 @@ server:
"RR_CONFIG": "/some/place/on/the/C134"
"RR_CONFIG2": "C138"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/server/configs/.rr-sockets.yaml b/tests/plugins/server/configs/.rr-sockets.yaml
index 6b5b6bf5..0bc2d0f9 100644
--- a/tests/plugins/server/configs/.rr-sockets.yaml
+++ b/tests/plugins/server/configs/.rr-sockets.yaml
@@ -6,7 +6,7 @@ server:
"RR_CONFIG": "/some/place/on/the/C134"
"RR_CONFIG2": "C138"
relay: "unix://unix.sock"
- relayTimeout: "20s"
+ relay_timeout: "20s"
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/server/configs/.rr-tcp.yaml b/tests/plugins/server/configs/.rr-tcp.yaml
index ee1d450a..f4580460 100644
--- a/tests/plugins/server/configs/.rr-tcp.yaml
+++ b/tests/plugins/server/configs/.rr-tcp.yaml
@@ -6,7 +6,7 @@ server:
"RR_CONFIG": "/some/place/on/the/C134"
"RR_CONFIG2": "C138"
relay: "tcp://localhost:9999"
- relayTimeout: "20s"
+ relay_timeout: "20s"
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/server/configs/.rr-wrong-command.yaml b/tests/plugins/server/configs/.rr-wrong-command.yaml
index e66349dd..c97d8b7e 100644
--- a/tests/plugins/server/configs/.rr-wrong-command.yaml
+++ b/tests/plugins/server/configs/.rr-wrong-command.yaml
@@ -6,7 +6,7 @@ server:
"RR_CONFIG": "/some/place/on/the/C134"
"RR_CONFIG2": "C138"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/server/configs/.rr-wrong-relay.yaml b/tests/plugins/server/configs/.rr-wrong-relay.yaml
index 6f532c3f..9722a487 100644
--- a/tests/plugins/server/configs/.rr-wrong-relay.yaml
+++ b/tests/plugins/server/configs/.rr-wrong-relay.yaml
@@ -6,7 +6,7 @@ server:
"RR_CONFIG": "/some/place/on/the/C134"
"RR_CONFIG2": "C138"
relay: "pupes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/server/configs/.rr.yaml b/tests/plugins/server/configs/.rr.yaml
index 4888d249..e44eeb56 100644
--- a/tests/plugins/server/configs/.rr.yaml
+++ b/tests/plugins/server/configs/.rr.yaml
@@ -6,7 +6,7 @@ server:
"RR_CONFIG": "/some/place/on/the/C134"
"RR_CONFIG2": "C138"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/static/configs/.rr-http-static-disabled.yaml b/tests/plugins/static/configs/.rr-http-static-disabled.yaml
index d8ee15e0..e31baffc 100644
--- a/tests/plugins/static/configs/.rr-http-static-disabled.yaml
+++ b/tests/plugins/static/configs/.rr-http-static-disabled.yaml
@@ -5,14 +5,14 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:21234
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "gzip", "static" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
static:
@@ -24,10 +24,10 @@ http:
response:
"X-Powered-By": "RoadRunner"
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/static/configs/.rr-http-static-files-disable.yaml b/tests/plugins/static/configs/.rr-http-static-files-disable.yaml
index 563d95cf..deb408db 100644
--- a/tests/plugins/static/configs/.rr-http-static-files-disable.yaml
+++ b/tests/plugins/static/configs/.rr-http-static-files-disable.yaml
@@ -5,14 +5,14 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:45877
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "gzip", "static" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
static:
@@ -24,10 +24,10 @@ http:
response:
"X-Powered-By": "RoadRunner"
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/static/configs/.rr-http-static-files.yaml b/tests/plugins/static/configs/.rr-http-static-files.yaml
index 8961c6f4..deb1f253 100644
--- a/tests/plugins/static/configs/.rr-http-static-files.yaml
+++ b/tests/plugins/static/configs/.rr-http-static-files.yaml
@@ -5,14 +5,14 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
debug: true
address: 127.0.0.1:34653
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "gzip", "static" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
static:
@@ -25,10 +25,10 @@ http:
response:
"X-Powered-By": "RoadRunner"
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error \ No newline at end of file
diff --git a/tests/plugins/static/configs/.rr-http-static.yaml b/tests/plugins/static/configs/.rr-http-static.yaml
index 0a1f5df4..e5af9043 100644
--- a/tests/plugins/static/configs/.rr-http-static.yaml
+++ b/tests/plugins/static/configs/.rr-http-static.yaml
@@ -5,13 +5,13 @@ server:
env:
"RR_HTTP": "true"
relay: "pipes"
- relayTimeout: "20s"
+ relay_timeout: "20s"
http:
address: 127.0.0.1:21603
- maxRequestSize: 1024
+ max_request_size: 1024
middleware: [ "gzip", "static" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
static:
@@ -22,10 +22,10 @@ http:
response:
"output": "output-header"
pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
logs:
mode: development
level: error \ No newline at end of file