Skip to content

Commit

Permalink
Merge branch 'rpb-136-fachgebiete' of https://github.com/hbz/rpb into…
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Feb 29, 2024
2 parents 720c1b8 + 04fb685 commit 4c63fac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions transformAndImportFull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ API_TOKEN=$API_TOKEN
sbt "runMain rpb.ETL conf/rpb-systematik-import.flux INPUT=rpb.ndjson PATH=rpb-notations HOST=$HOST API_TOKEN=$API_TOKEN"
# curl --request DELETE "http://$HOST:1337/api/rpb-spatials/[1-5]"
sbt "runMain rpb.ETL conf/rpb-systematik-import.flux INPUT=rpb-spatial.ndjson PATH=rpb-spatials HOST=$HOST API_TOKEN=$API_TOKEN"
# curl --request DELETE "http://$HOST:1337/api/fachgebiete/[1-5]"
sbt "runMain rpb.ETL conf/rpb-systematik-import.flux INPUT=rpb-fachgebiete.ndjson PATH=fachgebiete HOST=$HOST API_TOKEN=$API_TOKEN"

# Personen
# curl --request DELETE "http://$HOST:1337/api/rppds/[1-5]"
Expand Down
2 changes: 2 additions & 0 deletions transformAndImportTest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ API_TOKEN=$API_TOKEN
sbt "runMain rpb.ETL conf/rpb-systematik-import.flux INPUT=rpb.ndjson PATH=rpb-notations HOST=$HOST API_TOKEN=$API_TOKEN"
# curl --request DELETE "http://$HOST:1337/api/rpb-spatials/[1-5]"
sbt "runMain rpb.ETL conf/rpb-systematik-import.flux INPUT=rpb-spatial.ndjson PATH=rpb-spatials HOST=$HOST API_TOKEN=$API_TOKEN"
# curl --request DELETE "http://$HOST:1337/api/fachgebiete/[1-5]"
sbt "runMain rpb.ETL conf/rpb-systematik-import.flux INPUT=rpb-fachgebiete.ndjson PATH=fachgebiete HOST=$HOST API_TOKEN=$API_TOKEN"

# Personen
# curl --request DELETE "http://$HOST:1337/api/rppds/[1-5]"
Expand Down

0 comments on commit 4c63fac

Please sign in to comment.