This is an automated email from the ASF dual-hosted git repository.
dimas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 74ed4cb623 Add OPTION and HEAD to quarkus.http.cors.methods (#3941)
74ed4cb623 is described below
commit 74ed4cb62330d8f8427bf6d2443b1448d0e958f2
Author: Nándor Kollár <[email protected]>
AuthorDate: Fri Mar 6 18:41:13 2026 +0100
Add OPTION and HEAD to quarkus.http.cors.methods (#3941)
* Add OPTION and HEAD to 'quarkus.http.cors.methods'
---
.../src/main/resources/application.properties | 13 +++++----
.../configuration/configuring-polaris.md | 32 +++++++++-------------
2 files changed, 20 insertions(+), 25 deletions(-)
diff --git a/runtime/defaults/src/main/resources/application.properties
b/runtime/defaults/src/main/resources/application.properties
index 2a995de090..8560a3cf0e 100644
--- a/runtime/defaults/src/main/resources/application.properties
+++ b/runtime/defaults/src/main/resources/application.properties
@@ -57,12 +57,13 @@ quarkus.http.auth.proactive=false
quarkus.http.body.handle-file-uploads=false
quarkus.http.limits.max-body-size=10240K
-quarkus.http.cors.origins=http://localhost:8080
-quarkus.http.cors.methods=PATCH, POST, DELETE, GET, PUT
-quarkus.http.cors.headers=*
-quarkus.http.cors.exposed-headers=*
-quarkus.http.cors.access-control-max-age=PT10M
-quarkus.http.cors.access-control-allow-credentials=true
+quarkus.http.cors.enabled=false
+#quarkus.http.cors.origins=http://localhost:8080
+#quarkus.http.cors.methods=PATCH, POST, DELETE, GET, PUT, HEAD, OPTIONS
+#quarkus.http.cors.headers=*
+#quarkus.http.cors.exposed-headers=*
+#quarkus.http.cors.access-control-max-age=PT10M
+#quarkus.http.cors.access-control-allow-credentials=true
quarkus.http.port=8181
quarkus.http.test-port=0
diff --git
a/site/content/in-dev/unreleased/configuration/configuring-polaris.md
b/site/content/in-dev/unreleased/configuration/configuring-polaris.md
index e1adc33b32..13f630a42f 100644
--- a/site/content/in-dev/unreleased/configuration/configuring-polaris.md
+++ b/site/content/in-dev/unreleased/configuration/configuring-polaris.md
@@ -87,25 +87,19 @@ For a comprehensive reference of all Polaris configuration
options, see the [Con
Some often useful Quarkus configuration properties are listed below.
Please refer to the [Quarkus documentation](https://quarkus.io/guides/) for
more details.
-| Configuration Property | Default Value
| Description
|
-|------------------------------------------------------|---------------------------------|-----------------------------------------------------------------------------|
-| `quarkus.log.level` | `INFO`
| Define the root log level.
|
-| `quarkus.log.category."org.apache.polaris".level` |
| Define the log level for a specific category.
|
-| `quarkus.default-locale` | System locale
| Force the use of a specific locale, for instance `en_US`.
|
-| `quarkus.http.port` | `8181`
| Define the HTTP port number.
|
-| `quarkus.http.auth.basic` | `false`
| Enable the HTTP basic authentication.
|
-| `quarkus.http.limits.max-body-size` | `10240K`
| Define the HTTP max body size limit.
|
-| `quarkus.http.cors.enabled` | `false`
| Enable the HTTP CORS filter. Must be set to `true` for any other
CORS property to take effect. |
-| `quarkus.http.cors.origins` |
| Define the HTTP CORS origins.
|
-| `quarkus.http.cors.methods` | `PATCH, POST, DELETE,
GET, PUT` | Define the HTTP CORS covered methods.
|
-| `quarkus.http.cors.headers` | `*`
| Define the HTTP CORS covered headers.
|
-| `quarkus.http.cors.exposed-headers` | `*`
| Define the HTTP CORS covered exposed headers.
|
-| `quarkus.http.cors.access-control-max-age` | `PT10M`
| Define the HTTP CORS access control max age.
|
-| `quarkus.http.cors.access-control-allow-credentials` | `true`
| Define the HTTP CORS access control allow credentials flag.
|
-| `quarkus.management.enabled` | `true`
| Enable the management server.
|
-| `quarkus.management.port` | `8182`
| Define the port number of the Polaris management server.
|
-| `quarkus.management.root-path` |
| Define the root path where `/metrics` and `/health` endpoints are
based on. |
-| `quarkus.otel.sdk.disabled` | `true`
| Enable the OpenTelemetry layer.
|
+| Configuration Property | Default Value in Polaris
| Description
|
+|---------------------------------------------------|--------------------------|------------------------------------------------------------------------------------------------|
+| `quarkus.log.level` | `INFO`
| Define the root log level.
|
+| `quarkus.log.category."org.apache.polaris".level` |
| Define the log level for a specific category.
|
+| `quarkus.default-locale` | System locale
| Force the use of a specific locale, for instance `en_US`.
|
+| `quarkus.http.port` | `8181`
| Define the HTTP port number.
|
+| `quarkus.http.auth.basic` | `false`
| Enable the HTTP basic authentication.
|
+| `quarkus.http.limits.max-body-size` | `10240K`
| Define the HTTP max body size limit.
|
+| `quarkus.http.cors.enabled` | `false`
| Enable the HTTP CORS filter. Must be set to `true` for any other CORS
property to take effect. |
+| `quarkus.management.enabled` | `true`
| Enable the management server.
|
+| `quarkus.management.port` | `8182`
| Define the port number of the Polaris management server.
|
+| `quarkus.management.root-path` |
| Define the root path where `/metrics` and `/health` endpoints are based on.
|
+| `quarkus.otel.sdk.disabled` | `true`
| Enable the OpenTelemetry layer.
|
## JVM Configuration Options