This repository provides a starting project to implement a ImporterExtension, an Extension of the Open Data Mesh Command
Line. This extension adds functionalities to the import
command.
To begin your implementation, fork this repository. After forking, update the necessary project files to fit your extension’s requirements.
After setting up your fork, modify the following files:
Located in .github/workflows
, these files define CI/CD pipelines. You should:
- Update the workflow names to reflect your extension.
- Modify the target
.jar
filename to match your implementation. - Add any additional steps required for your extension.
Files to modify:
ci.yml
– Defines a workflows to execute tests.cicd.yml
– Extends CI by adding .jar deployment step.
The pom.xml
file is essential for project metadata and dependencies. Modify:
groupId
,artifactId
,version
,name
, anddescription
to align with your extension.- Add any required dependencies for additional functionality.
This directory contains service provider configuration files that allow Java's Service Provider Interface (SPI) to dynamically discover and load implementations.
org.opendatamesh.cli.extensions.importer.ImporterExtension
: this file should contain the fully qualified class name of the implementation of theImporterExtension
interface. Java’s SPI mechanism will use this to load your custom importer implementation dynamically. Example:org.opendatamesh.cli.extensionstarter.importer.ImporterStarterExtension