aboutsummaryrefslogtreecommitdiff
path: root/gn3
AgeCommit message (Collapse)Author
2021-02-16Add extra option to set email when queueing CMDBonfaceKilz
The e-mail field will be used to send the results of the computation when it is completed.
2021-02-16Add basic integration tests to test out the APIBonfaceKilz
2021-02-16Register blueprints in gn3/app.pyBonfaceKilz
* main.py: Move blueprint registrations to ... * gn3/app.py (create_app): ... here
2021-02-16gn3: commands: Add new procedure for running a commandBonfaceKilz
* gn3/commands.py (run_command): New procedure.
2021-02-15Add default redis configBonfaceKilz
2021-02-15Add test stubbed gemma endpointBonfaceKilz
2021-02-15Bootsrap the flask applicationBonfaceKilz
2021-02-12Add configuration file for the projectBonfaceKilz
2021-02-12Use sorted list of files when calculating md5sums of directoryBonfaceKilz
* gn3/file_utils.py (get_dir_hash): Sort list of files before calculating their md5sums. * tests/unit/test_file_utils.py (test_get_dir_hash): Update test-case md5sum.
2021-02-12Add custom gn3 exceptionsBonfaceKilz
2021-02-12Add new procedure for queueing a commandBonfaceKilz
* gn3/commands.py (queue_cmd): New procedure. * tests/unit/test_commands.py: New test-cases for ^^.
2021-02-12Add new procedure for composing a gemma cmdBonfaceKilz
* gn3/commands.py: New file * tests/unit/test_commands.py: New test-cases for ^^.
2021-02-12Add new procedure to return a python dict from a json fileBonfaceKilz
* gn3/file_utils.py (jsonfile_to_dict): New procedure * tests/unit/test_file_utils.py: New test-cases.
2021-02-12Add new procedure for looking up files in a given ENV variableBonfaceKilz
* gn3/file_utils.py (lookup_file): New function. * tests/unit/test_file_utils.py: New test cases for ^^.
2021-02-12Add function for computing the hash of a directoryBonfaceKilz