-
Notifications
You must be signed in to change notification settings - Fork 7
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
Added legacy formatting during export from main to exploitation db #303
Added legacy formatting during export from main to exploitation db #303
Conversation
19df729
to
8d98792
Compare
392221f
to
83fb7c2
Compare
83fb7c2
to
e8a3efd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testé en détail le fonctionnement pour moi c'est bon. A noté un cas particulier. Voir dans un autre ticket car il va chercher le fantoir dans la commune ancienne puis dans la commune actuelle. Dans le code legacy on avait ensuite un filtrage... ici on n'a pas rajouté de filtrage on devrait limiter la recherche à l'ancienne commune si elle est déclarée.
idVoie | idVoieFantoir | nbNumeros | nomVoie
49244_C282 | 49244_C282 | 2 | L'Orée du Bois (St Florent-le-Vieil)
49244_C282 | 49244_C282 | 1 | L'Orée du Bois (La Pommeraye)
49244_C282 | 49244_C282 | 1 | Orée du Bois (St Laurent-de-la-Plaine)
idVoie idVoieFantoir nbNumeros nomVoie
49244_26zn3x null 1 Orée du Bois (St Laurent-de-la-Plaine)
49244_C282 49244_C282 1 L'Orée du Bois (La Pommeraye)
49244_zn02j8 null 2 L'Orée du Bois (St Florent-le-Vieil)
07bc99c
to
5292f6f
Compare
5292f6f
to
10c1476
Compare
f793d11
to
05db529
Compare
05ce658
to
cc767c6
Compare
WARNING : need to install postgis in production before deploying this PR.
Context :
When BAL data is processed through ID-Fix and new BAN-ID APIs, data is stored in a postgreSQL DB.
For now, the data used by our users is stored in the legacy Mongo DB. In order to be able to use the data that has been processed by new APIs, we need to :
Enhancements :
This PR aims to :
*For now, we use temporary collections because we are still duplicating the data. It is still a two ways architecture : the data is processed by id-fix and le legacy compose.
The last step would be to dissociate this two ways architecure into a one way architecture and finally import the formatted data into the legacy collections.