From 2b376533b227c70f5b14cbdf4af05954b42922b4 Mon Sep 17 00:00:00 2001 From: Maxime Vergez <85738261+mvergez@users.noreply.github.com> Date: Thu, 5 Jan 2023 18:23:14 +0100 Subject: [PATCH] fix(config): changed categories into items (#29) * Merged feat/package-module-alembic commit 70b01395d5031487a4e74e9cbe60a87ceabe2a70 Author: Maxime Vergez <maxime_vergez@natural-solutions.eu> Date: Tue Dec 6 15:22:56 2022 +0100 style: apply black commit 2badedf9976435319cc577ec3e4b861e1a4ec3c1 Author: Maxime Vergez <maxime_vergez@natural-solutions.eu> Date: Tue Dec 6 15:11:41 2022 +0100 chore(db): removed unused import commit 57d9b523d620cc55580002a53f2883cdf692ba5f Author: Maxime Vergez <maxime_vergez@natural-solutions.eu> Date: Tue Dec 6 14:47:48 2022 +0100 feat(db): improved & finished downgrade func commit 211780f4467f27f0e188623b03c46c25823c34bc Author: Maxime Vergez <maxime_vergez@natural-solutions.eu> Date: Tue Dec 6 09:32:12 2022 +0100 feat(db): wip: add upgrade and began downgrade Downgrade migration need a little bit more work due to the use of sql alchemy and not plain text sql commit 0b5a3b883fe8f08e0f8d34198ab3c44b39728159 Author: Maxime Vergez <maxime_vergez@natural-solutions.eu> Date: Mon Dec 5 11:40:32 2022 +0100 feat: packaged module * Feat/edit categories module (#19) * tests: make tests and fixtures work for modules By changing the way a monitoring module is created in the fixture Add two tests to check the relationship * feat(api): add categories in edit module * style: applied black * fix(config): changed categories into items Following the change with marshmallow schemas --- config/monitoring/generic/module.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/monitoring/generic/module.json b/config/monitoring/generic/module.json index 8f804de64..8cb07d9e4 100644 --- a/config/monitoring/generic/module.json +++ b/config/monitoring/generic/module.json @@ -140,7 +140,7 @@ "api" : "__MONITORINGS_PATH/sites/categories", "application": "GeoNature", "required": true, - "data_path": "categories", + "data_path": "items", "definition": "Permet de paramétrer la compatibilité de ce module avec les catégories de sites" },