This ETL job shows how to use internally or externally defined properties in an ETL job.
Let's say we have a property file properties.conf with these values:
properties.conf
neo4j.connector.username=neo4jneo4j.connector.password=adminThe external property file can then be used in a job:
<!DOCTYPE etl SYSTEM "https://scriptella.org/dtd/etl.dtd"><etl> <description>Use internal and external properties in a job</description> <properties> <include href="/path/to/external/property/file/properties.conf"/> neo4j.connector.bolt=bolt://localhost:7687 neo4j.script.prop=some_prop_name </properties> <connection id="neo4j" driver="neo4j" url="$neo4j.connector.bolt" user="$neo4j.connector.username" password="$neo4j.connector.password"/> <script connection-id="neo4j"> MATCH (n) SET n.$neo4j.script.prop="some value" </script></etl>