Skip to content

Commit bc58d74

Browse files
committed
Add $PWD/config/application.properties add "optional" external config to be "visible" to end user in the distribution
1 parent 0af0dea commit bc58d74

File tree

3 files changed

+113
-20
lines changed

3 files changed

+113
-20
lines changed

quarkus/server/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ distributions {
7575
main {
7676
contents {
7777
from(project.layout.buildDirectory.dir("quarkus-app"))
78+
from(project.layout.projectDirectory.dir("src/main/distribution"))
7879
from("../../NOTICE")
7980
from("../../LICENSE-BINARY-DIST").rename("LICENSE-BINARY-DIST", "LICENSE")
8081
exclude("lib/main/io.quarkus.quarkus-container-image*")
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
20+
# This is the main and classic Apache Polaris configuration
21+
22+
# Log
23+
# if you want to change the log level for the whole Polaris server, default is INFO
24+
#quarkus.log.level=INFO
25+
# if you want to change the log level for a specific logger category, default is INFO
26+
#quarkus.log.category."org.apache.polaris".level=INFO
27+
#polaris.log.request-id-header-name=Polaris-Request-Id
28+
#polaris.log.mdc.aid=polaris
29+
#polaris.log.mdc.sid=polaris-service
30+
31+
# Locale
32+
# By default, Polaris server is using the machine default local (LC_ALL). You can "force" the locale.
33+
#quarkus.default-locale=en_US
34+
35+
# HTTP port
36+
# This is the port used by the Polaris server. By default, it's 8181
37+
#quarkus.http.port=8181
38+
# Enable the HTTP Basic Authentication
39+
#quarkus.http.auth.basic=false
40+
# You can have a limiter on the Polaris server.
41+
#quarkus.http.limits.max-body-size=10240K
42+
# CORS configuration
43+
#quarkus.http.cors.origins=http://localhost:8080
44+
#quarkus.http.cors.methods=PATCH, POST, DELETE, GET, PUT
45+
#quarkus.http.cors.headers=*
46+
#quarkus.http.cors.exposed-headers=*
47+
#quarkus.http.cors.access-control-max-age=PT10M
48+
#quarkus.http.cors.access-control-allow-credentials=true
49+
50+
# HTTP Rate Limiter
51+
#polaris.rate-limiter.filter.type=no-op
52+
#polaris.rate-limiter.token-bucket.type=default
53+
#polaris.rate-limiter.token-bucket.requests-per-second=9999
54+
#polaris.rate-limiter.token-bucket.window=PT10S
55+
56+
# Management
57+
# Enable the management server.
58+
#quarkus.management.enabled=true
59+
# This is the port used by the Polaris management server.
60+
#quarkus.management.port=8182
61+
# This is the root path where /metrics and /health endpoints are based on
62+
#quarkus.management.root-path=/foobar
63+
64+
# OpenTelemetry
65+
# This flag allows you to enable or disable OpenTelemetry layer.
66+
#quarkus.otel.sdk.disabled=true
67+
68+
# Metrics
69+
#polaris.metrics.tags.application=Polaris
70+
#polaris.metrics.tags.service=polaris
71+
#polaris.metrics.tags.environment=prod
72+
#polaris.metrics.tags.region=us-west-2
73+
74+
# Tasks
75+
#polaris.tasks.max-concurrent-tasks=100
76+
#polaris.tasks.max-queued-tasks=1000
77+
78+
# Persistence
79+
# You can use different persistence backend. You can specific the persistence type here (in-memory, eclipse-link).
80+
#polaris.persistence.type=in-memory
81+
82+
# This is the configuration for the EclipseLink persistence adapter
83+
#polaris.persistence.eclipselink.configurationFile= # build-in by default
84+
#polaris.persistence.eclipselink.persistenceUnit=polaris
85+
86+
# Polaris realm context configuration
87+
#polaris.realm-context.type=default
88+
#polaris.realm-context.realms=POLARIS
89+
#polaris.realm-context.header-name=Polaris-Realm
90+
#polaris.realm-context.require-header=false
91+
#polaris.features.defaults."ENFORCE_PRINCIPAL_CREDENTIAL_ROTATION_REQUIRED_CHECKING"=false
92+
#polaris.features.defaults."SUPPORTED_CATALOG_STORAGE_TYPES"=["S3","GCS","AZURE","FILE"]
93+
# realm overrides
94+
#polaris.features.realm-overrides."my-realm"."INITIALIZE_DEFAULT_CATALOG_FILEIO_FOR_TEST"=true
95+
#polaris.features.realm-overrides."my-realm"."SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION"=true
96+
97+
# Polaris authentication configuration
98+
#polaris.authentication.authenticator.type=default
99+
#polaris.authentication.token-service.type=default
100+
#polaris.authentication.token-broker.type=rsa-key-pair
101+
#polaris.authentication.token-broker.max-token-generation=PT1H
102+
#polaris.authentication.token-broker.rsa-key-pair.public-key-file=/tmp/public.key
103+
#polaris.authentication.token-broker.rsa-key-pair.private-key-file=/tmp/private.key
104+
#polaris.authentication.token-broker.symmetric-key.secret=secret
105+
#polaris.authentication.token-broker.symmetric-key.file=/tmp/symmetric.key
106+
107+
# Polaris Storage configuration
108+
# If the following properties are unset, the default credential provider chain will be used
109+
#polaris.storage.aws.access-key=accessKey
110+
#polaris.storage.aws.secret-key=secretKey
111+
#polaris.storage.gcp.token=token
112+
#polaris.storage.gcp.lifespan=PT1H

quarkus/server/src/main/resources/META-INF/services/io.smallrye.config.ConfigSourceInterceptor

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)