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

MAPEX-70: Add Export Sanity Checks #19

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

emeth1
Copy link
Contributor

@emeth1 emeth1 commented Nov 15, 2023

Fixes #70

What Changed

  • mappings file validated on export
  • sanity checks added
    • warning if the mappings file defines groups in metadata that are not used in mappings_objecs
    • error if the mappings file contains a group in mappings_objects that is not defined in metadata
    • removes extra groups from metadata in exported file
    • warning if the mappings file defines mapping types in metadata that are not used in mappings_objecs
    • error if the mappings file contains a mapping type in mappings_objects that is not defined in metadata

Known Limitations

  • none

Copy link
Contributor

1 similar comment
Copy link
Contributor

@emeth1 emeth1 requested a review from mikecarenzo November 15, 2023 15:39
src/mapex/cli.py Outdated Show resolved Hide resolved
src/mapex/cli.py Outdated Show resolved Hide resolved
src/mapex/cli.py Outdated Show resolved Hide resolved
src/mapex/cli.py Outdated Show resolved Hide resolved
src/mapex/cli.py Outdated Show resolved Hide resolved
src/mapex/cli.py Outdated Show resolved Hide resolved
src/mapex/cli.py Show resolved Hide resolved
src/mapex/cli.py Show resolved Hide resolved
@mikecarenzo mikecarenzo changed the title MAPEX 70: Add export sanity checks MAPEX-70: Add Export Sanity Checks Nov 16, 2023
Copy link
Contributor

@mikecarenzo mikecarenzo merged commit 37324b6 into main Nov 16, 2023
3 checks passed
@mikecarenzo mikecarenzo deleted the MAPEX-70_cli_export_sanity_checks branch November 16, 2023 02:49
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.

2 participants