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

Implement new Exporter interface for bundled exporters #6797

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tfmorris
Copy link
Member

Fixes #6419. Based on @karindev 's work in #6460 adapted to the modified interface in #6796 (which is a prerequisite for this).

Changes proposed in this pull request:

  • Update all bundled exporters and tests to the new API

NOTE: Compatibility is only provided for OpenRefine calling legacy exporters. There is no compatibility for a legacy third party framework (if any such frameworks exist) to call via the old API exporters which implement the new API

TODO: We probably need a test exporter which uses the old API so that we can confirm API compatibility on an ongoing basis.

Marked as Draft until I investigate the above ToDo

tfmorris and others added 4 commits August 16, 2024 14:13
- replace Properties with Map<String, String>
- add default implementations for both new and old signature
- add helper utilities
Adapted by tfmorris to the master (3.x) branch
- Run refine lint & whitespace cleanup
@github-actions github-actions bot added Type: Feature Request Identifies requests for new features or enhancements. These involve proposing new improvements. export Exporting a project to some format. Use the format-specific sub-label if available refactoring labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
export Exporting a project to some format. Use the format-specific sub-label if available refactoring size/XL Type: Feature Request Identifies requests for new features or enhancements. These involve proposing new improvements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace Properties with Map<String, String> in Exporters interfaces
3 participants