Skip to content
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 check on BAL to detect use of BAN-ID #61

Merged
merged 3 commits into from
Nov 23, 2023

Conversation

antoineludeau
Copy link
Member

@antoineludeau antoineludeau commented Nov 6, 2023

Context

To be able to redirect the process of a BAL to the legacy process or to the new process using ban-ID APIs, we need to detect if the BAL (version 1.3 for now) is using the BAN-IDs or not.

Also, in order to test the process only for a few districts, we need to restrain the processing to a specific list.

Enhancement

This PR aims to add checks on each BAL line to detect :
1- if uid_adresse field is field out
2- if uid_adresse contains a valid main common toponym ID (uuid v4)

Also, we detect if district cog is part of the accepted-cog-list.json

If all checks are true, id-fix process the BAL

@antoineludeau antoineludeau linked an issue Nov 6, 2023 that may be closed by this pull request
@antoineludeau antoineludeau force-pushed the antoineludeau/check-if-bal-use-ban-id branch from 5c17fce to 5458192 Compare November 6, 2023 16:12
@antoineludeau antoineludeau self-assigned this Nov 6, 2023
@antoineludeau antoineludeau force-pushed the antoineludeau/check-if-bal-use-ban-id branch from c6f2cfd to 52b2a9e Compare November 7, 2023 10:48
@antoineludeau antoineludeau force-pushed the antoineludeau/check-if-bal-use-ban-id branch 3 times, most recently from 5ec23c1 to d9cf4eb Compare November 16, 2023 16:16
@antoineludeau antoineludeau force-pushed the antoineludeau/check-if-bal-use-ban-id branch 2 times, most recently from 2806d9f to a48159d Compare November 21, 2023 15:48
@antoineludeau antoineludeau force-pushed the antoineludeau/check-if-bal-use-ban-id branch from a48159d to 7cc0a48 Compare November 22, 2023 09:32
@antoineludeau antoineludeau merged commit 0528bc3 into master Nov 23, 2023
1 check passed
@antoineludeau antoineludeau deleted the antoineludeau/check-if-bal-use-ban-id branch November 23, 2023 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ID-Fix] : Implementer détection de l'utilisation du BAN-ID
2 participants