Voici la documentation : https://geoplateforme.pages.gpf-tech.ign.fr/documentation

Skip to content

Refactor for V2 params use and upload data download from S3

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:
    • extent
    • relations
  • 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
Modification effectuée par Jean-Marie KERLOCH

Rapports de requête de fusion

Chargement en cours