Skip to content

Commit 31ac513

Browse files
committed
fix(signal-processing): Use different placeholder in NiFi flow
1 parent 35fa6f8 commit 31ac513

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

demos/signal-processing/DownloadAndWriteToDB.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@
741741
"kerberos-credentials-service": null,
742742
"dbcp-max-conn-lifetime": "-1",
743743
"Validation-query": "select count(*) from conditions;",
744-
"Database Connection URL": "jdbc:postgresql://postgresql-timescaledb.{{ NAMESPACE }}.svc.cluster.local:5432/tsdb",
744+
"Database Connection URL": "jdbc:postgresql://postgresql-timescaledb.[[ NAMESPACE ]].svc.cluster.local:5432/tsdb",
745745
"dbcp-time-between-eviction-runs": "-1",
746746
"Database User": "admin",
747747
"kerberos-user-service": null,

demos/signal-processing/create-nifi-ingestion-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ data:
9494
9595
filename = "/tmp/DownloadAndWriteToDB.json"
9696
with open(filename, "w") as f:
97-
f.write(response.text.replace("{{ NAMESPACE }}", os.environ["NAMESPACE"]))
97+
f.write(response.text.replace("[[ NAMESPACE ]]", os.environ["NAMESPACE"]))
9898
9999
pg_id = get_root_pg_id()
100100

0 commit comments

Comments
 (0)