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

Data migration from cyhy-core database #8

Open
3 tasks
felddy opened this issue Oct 18, 2024 · 0 comments
Open
3 tasks

Data migration from cyhy-core database #8

felddy opened this issue Oct 18, 2024 · 0 comments
Labels
breaking change This issue or pull request involves changes to existing functionality documentation This issue or pull request improves or adds to documentation

Comments

@felddy
Copy link
Member

felddy commented Oct 18, 2024

💡 Summary

This implementation of the CyHy database is not a drop in replacement for the old ODM.
This issue is used to track the breaking changes that need to be considered during any data migration.

Motivation and context

Document the breaking changes to make the migration task a bit more predictable.

Implementation notes

  • ScanDocs now use DBRef to reference the associated SnapshotDocs (was ObjectIDs)
  • ScanLimits of RequestDocs were only defined as a list in cyhy-core. They are now explicitly defined in the schema.
    • The ScanLimit scanType field is now named scan_type.
@felddy felddy added breaking change This issue or pull request involves changes to existing functionality documentation This issue or pull request improves or adds to documentation labels Oct 18, 2024
felddy added a commit that referenced this issue Oct 18, 2024
This breaking change is documented in:
- Data migration from `cyhy-core` database #8

Co-authored-by: David Redmin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change This issue or pull request involves changes to existing functionality documentation This issue or pull request improves or adds to documentation
Projects
None yet
Development

No branches or pull requests

1 participant