git_brcal/src/server/BreCal
Daniel Schick a5b16154c6 Fixed saving of shipcall by correctly interpreting enums now
The trick was to use a helper-field and a (decorated) @post_load method in the model that allows to fill the helper
fields with the values (ints) instead of strings for enums.
Trouble is: We are parsing strings from API/JSON and want to serialize as int (value in IntEnum). The helper
fields also must be skipped when setting up the query. Pretty convoluted, but gets the jon done (finally).

Also extended the database by new field 'interval_end' which is a preparation to allow not only timestamps but also
intervals when specifying times for participants.
2024-03-27 19:20:54 +01:00
..
api Merge branch 'feature/api_enhancements' into develop 2024-03-27 10:08:48 +01:00
brecal_utils Adding validation rules (traffic light status) to the system. Post & Put calls of shipcalls and times now execute the traffic light evaluation and store the result in the connected MySQL database instance. The 'brecal_utils' library is merged with 'BreCal', including the stub objects and test functions. Requirements were adapted, and installation of a virtual environment works from scratch (on a linux system). 2023-10-17 09:09:35 +02:00
database removing unused if-statements 2023-12-15 16:40:51 +01:00
impl Fixed saving of shipcall by correctly interpreting enums now 2024-03-27 19:20:54 +01:00
schemas Fixed saving of shipcall by correctly interpreting enums now 2024-03-27 19:20:54 +01:00
services fixes for errors reported in server log 2024-02-14 15:41:21 +01:00
stubs fixes for errors reported in server log 2024-02-14 15:41:21 +01:00
validators Changed validation rule 002 A-C so that the agency time is set as reference time allowing 15 minute deviation 2024-01-13 19:02:43 +01:00
__init__.py Fixed SQL and added endpoint for history data 2024-01-13 19:09:50 +01:00
local_db.py changed local path 2024-01-15 17:00:19 +01:00