Skip to content

Commit

Permalink
change cli args
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Loftus committed Feb 4, 2025
1 parent a0db4da commit f9e8292
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ MINIO_SECRET_KEY=minio_secret_key

# GraphDB
GLEANERIO_GRAPH_URL=http://graphdb:7200
GLEANERIO_GRAPH_NAMESPACE=iow
GLEANERIO_DATAGRAPH_ENDPOINT=iow
GLEANERIO_PROVGRAPH_ENDPOINT=iowprov

Expand Down
2 changes: 0 additions & 2 deletions userCode/lib/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def assert_all_vars():
"GLEANERIO_MINIO_BUCKET",
"GLEANER_HEADLESS_ENDPOINT", # note this is named differently, confusingly so does not have the IO
"GLEANERIO_GRAPH_URL",
"GLEANERIO_GRAPH_NAMESPACE",
"LAKEFS_ENDPOINT_URL",
"LAKEFS_ACCESS_KEY_ID",
"LAKEFS_SECRET_ACCESS_KEY",
Expand Down Expand Up @@ -87,7 +86,6 @@ def strict_env(key: str):
GLEANER_HEADLESS_ENDPOINT = strict_env("GLEANER_HEADLESS_ENDPOINT")
# using GLEANER, even though this is a nabu property... same prefix seems easier
GLEANER_GRAPH_URL = strict_env("GLEANERIO_GRAPH_URL")
GLEANER_GRAPH_NAMESPACE = strict_env("GLEANERIO_GRAPH_NAMESPACE")
GLEANER_IMAGE = strict_env("GLEANER_IMAGE")
NABU_IMAGE = strict_env("NABU_IMAGE")
GLEANERIO_DATAGRAPH_ENDPOINT = strict_env("GLEANERIO_DATAGRAPH_ENDPOINT")
Expand Down
2 changes: 1 addition & 1 deletion userCode/templates/nabuconfig.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ contextmaps:
- prefix: https://schema.org/
file: /nabu/assets/schemaorg-current-https.jsonld
sparql:
endpoint: {{ GLEANERIO_GRAPH_URL }}
endpoint: {{ GLEANERIO_DATAGRAPH_ENDPOINT }}
authenticate: false
username: ""
password: ""
Expand Down

0 comments on commit f9e8292

Please sign in to comment.