Skip to content

Commit 695bf9f

Browse files
committed
✏️ Fix typos in configuration files
1 parent f8df315 commit 695bf9f

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ restHeartConfiguration:
189189
# It can be an absolute path (eg. /api) or path template (eg. /{foo}/bar/*).
190190
# The values of the path templates properties are available:
191191
# - in the 'what' property (e.g. what: /{foo}_db/coll)
192-
# - programmatically from MongoRequest.getPathTemplateParamenters() method.
192+
# - programmatically from MongoRequest.getPathTemplateParameters() method.
193193
#
194194
# It is not possible to mix absolute paths and path templates: 'where' URIs
195195
# need to be either all absolute paths or all path templates.

core/src/main/resources/restheart-default-config-no-mongodb.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ originVetoer:
172172
whitelist:
173173
- https://restheart.org
174174
- http://localhost
175-
# optional list of paths for whose the Origin header
175+
# Optional list of paths for which the Origin header
176176
# is not checked. values can be absolute paths
177177
# or patterns like /{var}/path/to/resource/*
178178
# ignore-paths:
@@ -191,7 +191,7 @@ fullAuthorizer:
191191
# and verify auth tokens.
192192
# If more than one token-manager are defined, the first one will be used
193193
# The token is returned to the caller via auth-token header when the user
194-
# autheticates successfully. The token can be used by Authentication Mechanisms.
194+
# authenticates successfully. The token can be used by Authentication Mechanisms.
195195

196196
# rndTokenService generates auth tokens using a random number generator.
197197
rndTokenManager:
@@ -233,10 +233,10 @@ mongo:
233233
# Use the wildcard '*' to expose all dbs.
234234
#
235235
# The parameter 'where' defines the URI to bind the resource to.
236-
# It can be an absolute path (eg. /api) or path template (eg. /{foo}/bar/*).
236+
# It can be an absolute path (e.g. /api) or path template (e.g. /{foo}/bar/*).
237237
# The values of the path templates properties are available:
238238
# - in the 'what' property (e.g. what: /{foo}_db/coll)
239-
# - programmatically from MongoRequest.getPathTemplateParamenters() method.
239+
# - programmatically from MongoRequest.getPathTemplateParameters() method.
240240
#
241241
# Special variables {host[n]} can be used in path templates for mounting
242242
# MongoDB resources based on the request's host name.
@@ -294,12 +294,12 @@ mongo:
294294
default-pagesize: 100
295295

296296
# max-pagesize sets the maximum allowed value of the pagesize query parameter
297-
# generally, the greater the pagesize, the more json serializan overhead occurs
298-
# the rule of thumb is not exeeding 1000
297+
# generally, the greater the pagesize, the more json serialization overhead occurs
298+
# the rule of thumb is not exceeding 1000
299299
max-pagesize: 1_000
300300

301-
# local-cache allows to cache the db and collection properties to drammatically
302-
# improve performaces. Without caching, a GET on a document would requires
301+
# local-cache allows to cache the db and collection properties to
302+
# improve performances. Without caching, a GET on a document would require
303303
# two additional queries to retrieve the db and the collection properties.
304304
# Pay attention to local caching only in case of multi-node deployments (horizontal scalability).
305305
# In this case a change in a db or collection properties would reflect on other
@@ -341,7 +341,7 @@ graphql:
341341
app-cache-enabled: true
342342
# app cache entries are automatically revalidated every TTR milliseconds
343343
app-cache-ttr: 60_000 # in msecs
344-
# default-limit is used for queries that don't not specify a limit
344+
# default-limit is used for queries that don't specify a limit
345345
default-limit: 100
346346
# max-limit is the maximum value for a Query limit
347347
max-limit: 1000
@@ -358,7 +358,7 @@ cacheInvalidator:
358358
csvLoader:
359359
enabled: false
360360

361-
# Proxied resources - expose exrernal API with RESTHeart acting as a reverese proxy
361+
# Proxied resources - expose external API with RESTHeart acting as a reverse proxy
362362
# see https://restheart.org/docs/proxy
363363
# options:#
364364
# - location (required) The location URI to bound to the HTTP proxied server.
@@ -420,7 +420,7 @@ bruteForceAttackGuard:
420420
# before returning 429 Too Many Requests
421421
max-failed-attempts: 5
422422
# if true, the source ip is obtained from X-Forwarded-For header
423-
# this requires that header beeing set by the proxy, dangerous otherwise
423+
# this requires that header being set by the proxy, dangerous otherwise
424424
trust-x-forwarded-for: false
425425
# when X-Forwarded-For has multiple values,
426426
# take into account the n-th from last element
@@ -488,9 +488,9 @@ core:
488488

489489
# The directory containing the plugins jars.
490490
# The path is either absolute (starts with /) or relative to the restheart.jar file
491-
# Just add the plugins jar to plugins-directory and they will be automatically
491+
# Just add the plugins jar to plugins-directory, and they will be automatically
492492
# added to the classpath and registered.
493-
# Alsways add the package org.restheart to the list
493+
# Always add the package org.restheart to the list
494494
plugins-directory: plugins
495495

496496
# Set to true for verbose logging of jar scanning for plugins
@@ -530,7 +530,7 @@ core:
530530
# Virtual working threads always use heap buffers because they are faster for their operations.
531531
direct-buffers: true
532532

533-
# In order to save bandwitdth, force requests to support the giz encoding (if not, requests will be rejected)
533+
# In order to save bandwidth, force requests to support the giz encoding (if not, requests will be rejected)
534534
force-gzip-encoding:
535535
false
536536

@@ -545,7 +545,7 @@ connection-options:
545545
# How to check HTTP/2 protocol https://stackoverflow.com/a/54164719/4481670
546546
ENABLE_HTTP2: true
547547

548-
# The maximum size of a HTTP header block, in bytes.
548+
# The maximum size of an HTTP header block, in bytes.
549549
# If a client sends more data that this as part of the request header then the connection will be closed.
550550
# Defaults to 1Mbyte.
551551
MAX_HEADER_SIZE: 1048576
@@ -554,8 +554,8 @@ connection-options:
554554
# Defaults to unlimited.
555555
MAX_ENTITY_SIZE: -1
556556

557-
#The default maximum size of the HTTP entity body when using the mutiltipart parser.
558-
# Generall this will be larger than MAX_ENTITY_SIZE
557+
#The default maximum size of the HTTP entity body when using the multipart parser.
558+
# Generally this will be larger than MAX_ENTITY_SIZE
559559
# If this is not specified it will be the same as MAX_ENTITY_SIZE
560560
MULTIPART_MAX_ENTITY_SIZE: -1
561561

@@ -576,19 +576,19 @@ connection-options:
576576

577577
# The maximum number of query parameters that are permitted in a request.
578578
# If a client sends more than this number the connection will be closed.
579-
# This limit is necessary to protect against hash based denial of service attacks.
579+
# This limit is necessary to protect against hash based denial-of-service attacks.
580580
# Defaults to 1000.
581581
MAX_PARAMETERS: 1000
582582

583583
# The maximum number of headers that are permitted in a request.
584584
# If a client sends more than this number the connection will be closed.
585-
# This limit is necessary to protect against hash based denial of service attacks.
585+
# This limit is necessary to protect against hash based denial-of-service attacks.
586586
# Defaults to 200.
587587
MAX_HEADERS: 200
588588

589589
# The maximum number of cookies that are permitted in a request.
590590
# If a client sends more than this number the connection will be closed.
591-
# This limit is necessary to protect against hash based denial of service attacks.
591+
# This limit is necessary to protect against hash based denial-of-service attacks.
592592
# Defaults to 200.
593593
MAX_COOKIES: 200
594594

core/src/main/resources/restheart-default-config.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ originVetoer:
173173
whitelist:
174174
- https://restheart.org
175175
- http://localhost
176-
# optional list of paths for whose the Origin header
177-
# is not checked. values can be absolute paths
176+
# Optional list of paths for which the Origin header
177+
# is not checked. Values can be absolute paths
178178
# or patterns like /{var}/path/to/resource/*
179179
# ignore-paths:
180180
# - /{tenant}/bucket.files/{id}/binary
@@ -192,7 +192,7 @@ fullAuthorizer:
192192
# and verify auth tokens.
193193
# If more than one token-manager are defined, the first one will be used
194194
# The token is returned to the caller via auth-token header when the user
195-
# autheticates successfully. The token can be used by Authentication Mechanisms.
195+
# authenticates successfully. The token can be used by Authentication Mechanisms.
196196

197197
# rndTokenService generates auth tokens using a random number generator.
198198
rndTokenManager:
@@ -233,10 +233,10 @@ mongo:
233233
# Use the wildcard '*' to expose all dbs.
234234
#
235235
# The parameter 'where' defines the URI to bind the resource to.
236-
# It can be an absolute path (eg. /api) or path template (eg. /{foo}/bar/*).
236+
# It can be an absolute path (e.g. /api) or path template (e.g. /{foo}/bar/*).
237237
# The values of the path templates properties are available:
238238
# - in the 'what' property (e.g. what: /{foo}_db/coll)
239-
# - programmatically from MongoRequest.getPathTemplateParamenters() method.
239+
# - programmatically from MongoRequest.getPathTemplateParameters() method.
240240
#
241241
# Special variables {host[n]} can be used in path templates for mounting
242242
# MongoDB resources based on the request's host name.
@@ -298,12 +298,12 @@ mongo:
298298
default-pagesize: 100
299299

300300
# max-pagesize sets the maximum allowed value of the pagesize query parameter
301-
# generally, the greater the pagesize, the more json serializan overhead occurs
302-
# the rule of thumb is not exeeding 1000
301+
# generally, the greater the pagesize, the more json serialization overhead occurs
302+
# the rule of thumb is not exceeding 1000
303303
max-pagesize: 1_000
304304

305-
# local-cache allows to cache the db and collection properties to drammatically
306-
# improve performaces. Without caching, a GET on a document would requires
305+
# local-cache allows to cache the db and collection properties to
306+
# improve performances. Without caching, a GET on a document would require
307307
# two additional queries to retrieve the db and the collection properties.
308308
# Pay attention to local caching only in case of multi-node deployments (horizontal scalability).
309309
# In this case a change in a db or collection properties would reflect on other
@@ -333,15 +333,15 @@ graphql:
333333
app-cache-enabled: true
334334
# app cache entries are automatically revalidated every TTR milliseconds
335335
app-cache-ttr: 60_000 # in msecs
336-
# default-limit is used for queries that don't not specify a limit
336+
# default-limit is used for queries that don't specify a limit
337337
default-limit: 100
338338
# max-limit is the maximum value for a Query limit
339339
max-limit: 1_000
340340
# The time limit in milliseconds for processing queries. Set to 0 for no time limit.
341341
query-time-limit: 0 # in msecs
342342
verbose: false
343343

344-
# Proxied resources - expose exrernal API with RESTHeart acting as a reverese proxy
344+
# Proxied resources - expose external API with RESTHeart acting as a reverse proxy
345345
# see https://restheart.org/docs/proxy
346346
# options:#
347347
# - location (required) The location URI to bound to the HTTP proxied server.
@@ -403,7 +403,7 @@ bruteForceAttackGuard:
403403
# before returning 429 Too Many Requests
404404
max-failed-attempts: 5
405405
# if true, the source ip is obtained from X-Forwarded-For header
406-
# this requires that header beeing set by the proxy, dangerous otherwise
406+
# this requires that header being set by the proxy, dangerous otherwise
407407
trust-x-forwarded-for: false
408408
# when X-Forwarded-For has multiple values,
409409
# take into account the n-th from last element
@@ -472,15 +472,15 @@ core:
472472

473473
# The directory containing the plugins jars.
474474
# The path is either absolute (starts with /) or relative to the restheart.jar file
475-
# Just add the plugins jar to plugins-directory and they will be automatically
475+
# Just add the plugins jar to plugins-directory, and they will be automatically
476476
# added to the classpath and registered.
477477
plugins-directory: plugins
478478

479479
# Limit the scanning of classes annotated with @RegisterPlugin
480480
# to the specified packages. It can speedup the boot time
481481
# in case of huge plugin jars. It is usually not required.
482482
# Use an empty array to not limit scanning.
483-
# Alsways add the package org.restheart to the list
483+
# Always add the package org.restheart to the list
484484
plugins-packages: []
485485

486486
# Set to true for verbose logging of jar scanning for plugins
@@ -514,7 +514,7 @@ core:
514514
# Virtual working threads always use heap buffers because they are faster for their operations.
515515
direct-buffers: true
516516

517-
# In order to save bandwitdth, force requests to support the giz encoding (if not, requests will be rejected)
517+
# In order to save bandwidth, force requests to support the giz encoding (if not, requests will be rejected)
518518
force-gzip-encoding: false
519519

520520
# true to allow unescaped characters in URL
@@ -528,7 +528,7 @@ connection-options:
528528
# How to check HTTP/2 protocol https://stackoverflow.com/a/54164719/4481670
529529
ENABLE_HTTP2: true
530530

531-
# The maximum size of a HTTP header block, in bytes.
531+
# The maximum size of an HTTP header block, in bytes.
532532
# If a client sends more data that this as part of the request header then the connection will be closed.
533533
# Defaults to 1Mbyte.
534534
MAX_HEADER_SIZE: 1048576
@@ -537,8 +537,8 @@ connection-options:
537537
# Defaults to unlimited.
538538
MAX_ENTITY_SIZE: -1
539539

540-
#The default maximum size of the HTTP entity body when using the mutiltipart parser.
541-
# Generall this will be larger than MAX_ENTITY_SIZE
540+
#The default maximum size of the HTTP entity body when using the multipart parser.
541+
# General this will be larger than MAX_ENTITY_SIZE
542542
# If this is not specified it will be the same as MAX_ENTITY_SIZE
543543
MULTIPART_MAX_ENTITY_SIZE: -1
544544

@@ -559,19 +559,19 @@ connection-options:
559559

560560
# The maximum number of query parameters that are permitted in a request.
561561
# If a client sends more than this number the connection will be closed.
562-
# This limit is necessary to protect against hash based denial of service attacks.
562+
# This limit is necessary to protect against hash based denial-of-service attacks.
563563
# Defaults to 1000.
564564
MAX_PARAMETERS: 1_000
565565

566566
# The maximum number of headers that are permitted in a request.
567567
# If a client sends more than this number the connection will be closed.
568-
# This limit is necessary to protect against hash based denial of service attacks.
568+
# This limit is necessary to protect against hash based denial-of-service attacks.
569569
# Defaults to 200.
570570
MAX_HEADERS: 200
571571

572572
# The maximum number of cookies that are permitted in a request.
573573
# If a client sends more than this number the connection will be closed.
574-
# This limit is necessary to protect against hash based denial of service attacks.
574+
# This limit is necessary to protect against hash based denial-of-service attacks.
575575
# Defaults to 200.
576576
MAX_COOKIES: 200
577577

0 commit comments

Comments
 (0)