-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathtransformation.properties
More file actions
24 lines (20 loc) · 981 Bytes
/
transformation.properties
File metadata and controls
24 lines (20 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Source CSV file
source.csv=https://raw.githubusercontent.com/openshift-integration/camel-k-example-transformations/main/data.csv
# Fetch URL for OpenStreetMap data
openstreetmap.url=https://nominatim.openstreetmap.org/reverse
# PostgreSQL settings
postgresql.user=camel-k-example
postgresql.password=transformations
postgresql.host=mypostgres
postgresql.port=5432
postgresql.database=example
# CSV dataformat settings
camel.beans.customCSV = #class:org.apache.camel.model.dataformat.CsvDataFormat
camel.beans.customCSV.allow-missing-column-names = true
camel.beans.customCSV.use-maps = true
# JDBC dataformat settings
camel.beans.postgresBean = #class:org.apache.commons.dbcp2.BasicDataSource
camel.beans.postgresBean.url = jdbc:postgresql://{{postgresql.host}}:{{postgresql.port}}/{{postgresql.database}}
camel.beans.postgresBean.username = {{postgresql.user}}
camel.beans.postgresBean.password = {{postgresql.password}}
camel.beans.postgresBean.validation-query = SELECT 1