-
Notifications
You must be signed in to change notification settings - Fork 0
refactor(get-ahblines): Get ahblines from sqlite instead from json files #416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(get-ahblines): Get ahblines from sqlite instead from json files #416
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vllt schreibst du , nur als kommentar für uns, noch rein, wo diese spalten in dieser form herkommen. das ist janur der prototypische stand mit dem ich es gestern einmal reingehackt habe. ich würde ich der vollständigkeit und reproduzierbarkeit einfach zumindest referenzieren: https://github.com/Hochfrequenz/ahb-mig-backend/releases/tag/v0.0.1 ganz unabhängig davon ob es in diesem repo bleibt oder nicht oder wo es in zukunft herkommt: so hat man die chance die DB reproduzierbar nachzubauen, zumindest als jemand mit zugriff auf private HF repos.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in e835315
if (type === FileType.JSON) { | ||
return this.getFromDatabase(pruefi, formatVersion); | ||
} else { | ||
return this.getFromBlobStorage(pruefi, formatVersion, type); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
das ist aber langfristig schwer zu maintainen, oder? vermute mal, das wird in einem folge-pr geändert.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wollte das feature mit den excel-files noch weiter anbieten.
Wo siehst du Bedenken?
src/server/repository/ahb.ts
Outdated
meta: { | ||
description: metaInfo.description || '', | ||
direction: metaInfo.direction || '', | ||
maus_version: '0.3.1', // TODO: Add this to the database schema |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
braucht das der lcient oder irgendwer? Ich würde das einfach auslassen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nö brauchen wir nicht
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in 4698ec8
review #415 first.