Skip to content

Commit 5f8790c

Browse files
committed
refactor(scalardb-analytics-spark-sample): standardize configuration file naming
- Rename analytics-server.properties to scalardb-analytics-server.properties - Rename analytics-cli-config.properties to scalardb-analytics-cli.properties - Replace hyphens with underscores in property names for consistency - Update docker-compose.yml volume mappings
1 parent 279f97f commit 5f8790c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

scalardb-analytics-spark-sample/config/analytics-server.properties renamed to scalardb-analytics-spark-sample/config/scalardb-analytics-server.properties

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ scalar.db.analytics.server.db.password=analytics
1111

1212
# Server database connection pool configuration
1313
scalar.db.analytics.server.db.pool.size=10
14-
scalar.db.analytics.server.db.pool.max-lifetime=1800000
15-
scalar.db.analytics.server.db.pool.connection-timeout=30000
16-
scalar.db.analytics.server.db.pool.minimum-idle=5
17-
scalar.db.analytics.server.db.pool.idle-timeout=600000
14+
scalar.db.analytics.server.db.pool.max_lifetime=1800000
15+
scalar.db.analytics.server.db.pool.connection_timeout=30000
16+
scalar.db.analytics.server.db.pool.minimum_idle=5
17+
scalar.db.analytics.server.db.pool.idle_timeout=600000
1818

1919
# Metering storage configuration (filesystem for development)
2020
scalar.db.analytics.server.metering.storage.provider=filesystem
2121
scalar.db.analytics.server.metering.storage.path=/tmp/metering
2222

2323
# License configuration (required for production)
24-
# scalar.db.analytics.server.licensing.license-key=<YOUR_LICENSE_KEY>
25-
# scalar.db.analytics.server.licensing.license-check-cert-pem=<YOUR_LICENSE_CERT_PEM>
24+
# scalar.db.analytics.server.licensing.license_key=<YOUR_LICENSE_KEY>
25+
# scalar.db.analytics.server.licensing.license_check_cert_pem=<YOUR_LICENSE_CERT_PEM>
2626

2727
# Logging configuration
2828
logging.level.root=INFO

scalardb-analytics-spark-sample/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
- 11051 # Catalog service port
3333
- 11052 # Metering service port
3434
volumes:
35-
- ./config/analytics-server.properties:/scalardb-analytics-server/server.properties:ro
35+
- ./config/scalardb-analytics-server.properties:/scalardb-analytics-server/server.properties:ro
3636
- ./config/scalardb.properties:/etc/scalardb.properties:ro
3737
networks:
3838
- scalar-network
@@ -49,7 +49,7 @@ services:
4949
scalardb-analytics-cli:
5050
image: ghcr.io/scalar-labs/scalardb-analytics-cli:3.16.2
5151
volumes:
52-
- ./config/analytics-cli-config.properties:/config/client.properties:ro
52+
- ./config/scalardb-analytics-cli.properties:/config/client.properties:ro
5353
- ./config/data-sources:/config/data-sources:ro
5454
networks:
5555
- scalar-network

0 commit comments

Comments
 (0)