File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
src/test/java/io/trino/gateway Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ verified and may run into unexpected issues.
2727Run ` ./mvnw clean install ` to build ` trino-gateway ` . VM options required for
2828compilation and testing are specified in ` .mvn/jvm.config ` .
2929
30- Edit the configuration file ` gateway-ha- config.yml ` in the ` gateway-ha ` folder
30+ Edit the configuration file ` config.yaml ` in the ` gateway-ha ` folder
3131and update the mysql db information.
3232
3333Note that tests using Oracle are disabled by default on non-x86_64 CPU architectures.
@@ -36,7 +36,7 @@ will always be run in GitHub CI.
3636
3737``` shell
3838cd gateway-ha/target/
39- java -jar gateway-ha-{{VERSION}}-jar-with-dependencies.jar ../gateway-ha- config.yml
39+ java -jar gateway-ha-{{VERSION}}-jar-with-dependencies.jar ../config.yaml
4040```
4141
4242#### In Docker
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ Find more information in [the related Trino documentation](https://trino.io/docs
123123After downloading or building the JAR, rename it to `gateway-ha.jar`,
124124and place it in a directory with read and write access such as `/opt/trinogateway`.
125125
126- Copy the example config file `gateway-ha- config.yml ` from the `gateway-ha/`
126+ Copy the example config file `config.yaml ` from the `gateway-ha/`
127127directory into the same directory, and update the configuration as needed.
128128
129129Each component of the Trino Gateway has a corresponding node in the
@@ -229,7 +229,7 @@ JAR and YAML files:
229229
230230` ` ` shell
231231java -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 \
232- -jar gateway-ha.jar gateway-ha- config.yml
232+ -jar gateway-ha.jar config.yaml
233233` ` `
234234
235235# ## Helm <a name="helm"></a>
@@ -299,7 +299,7 @@ configuration.
299299By default, the Trino Gateway process is started with the following command :
300300
301301` ` ` shell
302- java -XX:MinRAMPercentage=80.0 -XX:MaxRAMPercentage=80.0 -jar /usr/lib/trino/gateway-ha-jar-with-dependencies.jar /etc/gateway/ config.yaml
302+ java -XX:MinRAMPercentage=80.0 -XX:MaxRAMPercentage=80.0 -jar /usr/lib/trino/gateway-ha-jar-with-dependencies.jar config.yaml
303303` ` `
304304
305305You can customize details with the `command` node. It accepts a list, that must
Original file line number Diff line number Diff line change @@ -139,12 +139,12 @@ The first arg `server` has been removed.
139139
140140Old config :
141141` ` ` bash
142- java -jar gateway-ha.jar server gateway-ha- config.yml
142+ java -jar gateway-ha.jar server config.yaml
143143` ` `
144144
145145New config :
146146` ` ` bash
147- java -jar gateway-ha.jar gateway-ha- config.yml
147+ java -jar gateway-ha.jar config.yaml
148148` ` `
149149
150150# ## Format of `extraWhitelistPaths`
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ as a URL. It can implement any dynamic rule changes or other behavior.
1919### Enabling the routing rules engine
2020
2121To enable the routing rules engine, find the following lines in
22- ` gateway-ha- config.yml ` :
22+ ` config.yaml ` :
2323
2424* Set ` rulesEngineEnabled ` to ` true ` , then ` rulesType ` as ` FILE ` or ` EXTERNAL ` .
2525* If you set ` rulesType: FILE ` , then set ` rulesConfigPath ` to the path to your
File renamed without changes.
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public static void main(String[] args)
5858 mysql .withCopyFileToContainer (forClasspathResource ("add_backends_mysql.sql" ), "/docker-entrypoint-initdb.d/2-add_backends_mysql.sql" );
5959 mysql .setPortBindings (List .of ("3306:3306" ));
6060 mysql .start ();
61- HaGatewayLauncher .main (new String [] {"gateway-ha/gateway-ha- config.yml " });
61+ HaGatewayLauncher .main (new String [] {"gateway-ha/config.yaml " });
6262
6363 log .info ("======== SERVER STARTED ========" );
6464 }
You can’t perform that action at this time.
0 commit comments