You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/root/install/tools/route_table_check_tool.rst
+14-1
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,16 @@ Input
18
18
:ref:`config <config_tools_router_check_tool>`.
19
19
The tool config input file specifies urls (composed of authorities and paths)
20
20
and expected route parameter values. Additional parameters such as additional headers are optional.
21
+
Schema: All internal schemas in the tool are based on :repo:`proto3 <test/tools/router_check/validation.proto>`.
22
+
This is enabled by an extra optional parameter ``--useproto``. This parameter will become the default in the future releases and enables more validation features in the tool.
23
+
Any new feature addition in validations will be added behind this parameter.
24
+
Migration: If you are currently using the tool and plan to migrate to use ``--useproto``, change the yaml/json test's schema based on the :repo:`proto <test/tools/router_check/validation.proto>`.
25
+
Few known changes necessary are:
26
+
``:authority`` input is now ``authority``.
27
+
``:path`` input is now ``path``.
28
+
``:method`` input is now ``method``. This is a required property.
29
+
``additional_headers`` in the input along with ``header_fields`` and ``custom_header_fields`` contain ``key`` instead of ``field``.
30
+
``tests`` is a root level field in the yaml/json.
21
31
22
32
Output
23
33
The program exits with status EXIT_FAILURE if any test case does not match the expected route parameter
@@ -52,12 +62,15 @@ Running
52
62
expected order of command line arguments is:
53
63
1. The router configuration file.
54
64
2. The tool configuration json file.
55
-
3. The optional details flag. ::
65
+
3. ``--useproto`` to use any new features in the tool.
Copy file name to clipboardexpand all lines: docs/root/intro/deprecated.rst
+1
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Version 1.11.0 (Pending)
14
14
========================
15
15
* The --max-stats and --max-obj-name-len flags no longer has any effect.
16
16
* Use of :ref:`cluster <envoy_api_field_config.filter.network.redis_proxy.v2.RedisProxy.cluster>` in :ref:`redis_proxy.proto <envoy_api_file_envoy/config/filter/network/redis_proxy/v2/redis_proxy.proto>` is deprecated. Set a :ref:`catch_all_cluster <envoy_api_field_config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.catch_all_cluster>` instead.
17
+
* Use of json based schema in router check tool tests. The tests should follow validation :repo:`schema<test/tools/router_check/validation.proto>`.
0 commit comments