Skip to content

Commit

Permalink
chore: cleanup around dev setup
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl committed May 7, 2024
1 parent 6a802de commit 7a61b11
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion deploy/down.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
docker compose -f compose.dev.yaml down -v
docker compose down -v
5 changes: 5 additions & 0 deletions deploy/reset-topics.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
docker compose exec kafka bash -c "kafka-consumer-groups.sh --bootstrap-server localhost:9092 --delete --all-groups"
docker compose exec kafka bash -c "kafka-topics.sh --bootstrap-server localhost:9092 --delete --topic 'fhir.obds'"
docker compose exec kafka bash -c "kafka-topics.sh --bootstrap-server localhost:9092 --delete --topic 'onkostar.*'"
docker compose exec kafka bash -c "kafka-topics.sh --bootstrap-server localhost:9092 --delete --topic 'onkostar-*'"
5 changes: 0 additions & 5 deletions deploy/resetTopics.sh

This file was deleted.

2 changes: 1 addition & 1 deletion deploy/up.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
docker compose -f compose.dev.yaml up -d
docker compose up -d
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public List<MeldungExport> prioritiseLatestMeldungExports(
return meldungExportList.stream().sorted(meldungComparator).collect(Collectors.toList());
}

public String getPatIdFromAdt(MeldungExport meldung) {
public String getPatIdFromMeldung(MeldungExport meldung) {
return meldung
.getXml_daten()
.getMenge_Patient()
Expand Down

0 comments on commit 7a61b11

Please sign in to comment.