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

New data mappings approach #686

Merged
merged 20 commits into from
Jun 3, 2024
Merged

New data mappings approach #686

merged 20 commits into from
Jun 3, 2024

Conversation

maaikelimper
Copy link
Collaborator

@maaikelimper maaikelimper commented May 22, 2024

To allow data-ingestion based on metadata_id, this PR re-structures the "validate_and_load"-functionality that matches input-path with data-plugin using data-mappings.
To enable backwards-compatibility I still allow matching on the topic-hierarchy but the logic in validate_and_load will attempt to match path with metadata_id first.

#584

Note that since the index in elasticsearch is no longer topic-based, this PR breaks the display of data in the wis2box-ui which should be fixed by a change in wis2box-api (see station_info-process).

@maaikelimper maaikelimper requested a review from tomkralidis May 27, 2024 18:36
@maaikelimper maaikelimper marked this pull request as ready for review May 27, 2024 18:45
docs/source/reference/auth.rst Show resolved Hide resolved
docs/source/user/data-ingest.rst Outdated Show resolved Hide resolved
docs/source/user/data-ingest.rst Outdated Show resolved Hide resolved
wis2box-management/wis2box/cli_helpers.py Outdated Show resolved Hide resolved
wis2box-management/wis2box/data/base.py Outdated Show resolved Hide resolved
wis2box-management/wis2box/data_mappings.py Outdated Show resolved Hide resolved
@maaikelimper maaikelimper requested a review from tomkralidis June 3, 2024 10:51
@tomkralidis tomkralidis added this to the sprint-015 milestone Jun 3, 2024
@tomkralidis tomkralidis added the enhancement New feature or request label Jun 3, 2024
@tomkralidis tomkralidis merged commit 1a66f49 into main Jun 3, 2024
3 checks passed
@tomkralidis tomkralidis deleted the new-data-mappings-approach branch June 3, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants