Skip to content

Commit

Permalink
fix(model): sslmode typo in reference.yml
Browse files Browse the repository at this point in the history
See [1] for the list of valid `sslmode` values.

[1]: https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS

Signed-off-by: Georg Eckert (ZEISS) <67101763+georg-eckert-zeiss@users.noreply.github.com>
  • Loading branch information
georg-eckert-zeiss authored and sschuberth committed Sep 16, 2024
1 parent a488e05 commit cb7c914
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions model/src/main/resources/reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ ort:
schema: public
username: username
password: password
sslmode: required
sslmode: require
sslcert: /defaultdir/postgresql.crt
sslkey: /defaultdir/postgresql.pk8
sslrootcert: /defaultdir/root.crt
Expand Down Expand Up @@ -222,7 +222,7 @@ ort:
schema: public
username: username
password: password
sslmode: required
sslmode: require
sslcert: /defaultdir/postgresql.crt
sslkey: /defaultdir/postgresql.pk8
sslrootcert: /defaultdir/root.crt
Expand Down Expand Up @@ -320,7 +320,7 @@ ort:
schema: public
username: username
password: password
sslmode: required
sslmode: require
sslcert: /defaultdir/postgresql.crt
sslkey: /defaultdir/postgresql.pk8
sslrootcert: /defaultdir/root.crt
Expand Down Expand Up @@ -361,7 +361,7 @@ ort:
schema: public
username: username
password: password
sslmode: required
sslmode: require
sslcert: /defaultdir/postgresql.crt
sslkey: /defaultdir/postgresql.pk8
sslrootcert: /defaultdir/root.crt
Expand Down
8 changes: 4 additions & 4 deletions model/src/test/kotlin/config/OrtConfigurationTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class OrtConfigurationTest : WordSpec({
schema shouldBe "public"
username shouldBe "username"
password shouldBe "password"
sslmode shouldBe "required"
sslmode shouldBe "require"
sslcert shouldBe "/defaultdir/postgresql.crt"
sslkey shouldBe "/defaultdir/postgresql.pk8"
sslrootcert shouldBe "/defaultdir/root.crt"
Expand Down Expand Up @@ -241,7 +241,7 @@ class OrtConfigurationTest : WordSpec({
schema shouldBe "public"
username shouldBe "username"
password shouldBe "password"
sslmode shouldBe "required"
sslmode shouldBe "require"
sslcert shouldBe "/defaultdir/postgresql.crt"
sslkey shouldBe "/defaultdir/postgresql.pk8"
sslrootcert shouldBe "/defaultdir/root.crt"
Expand Down Expand Up @@ -336,7 +336,7 @@ class OrtConfigurationTest : WordSpec({
schema shouldBe "public"
username shouldBe "username"
password shouldBe "password"
sslmode shouldBe "required"
sslmode shouldBe "require"
sslcert shouldBe "/defaultdir/postgresql.crt"
sslkey shouldBe "/defaultdir/postgresql.pk8"
sslrootcert shouldBe "/defaultdir/root.crt"
Expand Down Expand Up @@ -376,7 +376,7 @@ class OrtConfigurationTest : WordSpec({
schema shouldBe "public"
username shouldBe "username"
password shouldBe "password"
sslmode shouldBe "required"
sslmode shouldBe "require"
sslcert shouldBe "/defaultdir/postgresql.crt"
sslkey shouldBe "/defaultdir/postgresql.pk8"
sslrootcert shouldBe "/defaultdir/root.crt"
Expand Down

0 comments on commit cb7c914

Please sign in to comment.