-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support import to multiple destination #495
Conversation
1490907
to
3cf574e
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #495 +/- ##
===========================================
- Coverage 91.18% 90.61% -0.57%
===========================================
Files 18 20 +2
Lines 1645 1567 -78
===========================================
- Hits 1500 1420 -80
- Misses 145 147 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
b96f661
to
690a03b
Compare
Ne pas oublier de passer les requêtes SQLA en style 2.0 et compatible 1.4 :) |
As multiple imports are attached to the same dataset, the order is not guaranteed.
Databases changes: - add `bib_destinations` table and references FK - add `bib_entities` table and references FK - add "synthese" destination - add SYNTHESE/ALL/C to `t_permissions_available` - copy permissions on IMPORT/IMPORT/C to SYNTHESE/ALL/C All backend routes are prefixed with destination. For now, the frontend calls the route with hard-coded "synthese" destination.
The validator does not fail anymore if some geom fields are not present. For instance, it can be used with Occhab which does not accept codes.
preview_valid_data still needs some work to make it generic.
30cb48e
to
c3a3585
Compare
Remplacé par le travail fait directement dans le cœur de GeoNature avec cette PR : PnX-SI/GeoNature#2833 Voir aussi : PnX-SI/GeoNature#3269 |
Databases changes:
bib_destinations
table and references FKbib_entities
table and references FKt_permissions_available
All backend routes are prefixed with destination.
For now, the frontend calls the route with hard-coded "synthese" destination.