Fusionnée
Benoit Ducarouge a demandé de fusionner
v2-propre vers
main
Core
- update gpf-entrepot-toolbelt to 0.18.*
- update use of input parameters.json file for V2 model
- remove use of upload dir : upload data must be downloaded from S3
- add download of upload data with S3 client from gpf-entrepot-toolbelt (use of environnement variables)
- remove unused code because of gpf-entrepot-toolbelt use (database related code)
Tests
- refactor tests to use pytest instead of autotest.sh scripts:
- mock S3 with moto
- update input .json configuration file to add template parameters %HOST% and %PORT%
- update input .json configuration file to define name of upload
- add fixture data in S3 bucket with moto
- define template parameters from environnement variable so we can run pytest in CI
- test only some parameters of output:
- remove test_vector_to_db.py. All tests are now done with cli. Tests added to cli:
- test_ajout_error_table_mismatch
- test_ajout
- others tests where already available in cli
Edited by Jean-Marie KERLOCH