Pulls the table privilege check used to get service account requirements from palliativeconnect into dsdk.
Fix invalid json format in logging.
Simplify the log messages.
Remove unimplemented callingfunc --logging is not stack tracing--.
Use lazy evaluation for log variable interpolation instead of f-strings.
Make all log messages json, including known errors.
Fix incorrect logging of contextmanagers. For example, a contextmanager like open_mongo or open_mssql is responsible for logging both the open and the close of the database connection.
Fix bug where the batch.record.end was still null after the batch is closed without errors. The mongo id was not being saved when the batch was opened, so the later update fails to find the batch to close.
Add multipart dockerfile for lint and test using docker-compose and github workflows using docker images.
Does not use tox for the github workflow tests.
Adds logging of pipeline and pipeline tasks.
TODO:
Fix github workflow trigger --it seems to triplicate the workflow--.
Figure out how to delete old and progressively more insecure images.
Figure out how to scan images for vulnerabilities, there are github actions that can do this, but they must be integrated.
Simplify integration code and avoid writing github workflow "yaml-code" when it can be done in docker-compose or anything that can be tested locally with development tool support. integration work is the the most buggy, error-prone, and fragile. The development tools are weak, the syntax is undocumented. Embedding bash script inside the "yaml-code" is even worse.
Integration from palliativeconnect.
open_mongo
oropen_mssql
is responsible for logging both the open and the close of the database connection.TODO:
TODOs have been added as issues to the project.