Apply UI Changes
To be able to configure your connector from the UI and test it through there as well you will need to modify a file located withinopenmetadata-ui/src/main/resources/ui/src/utils/
Which file you need to modify depends on the Source Type you are developing a connector for: {source_type}ServiceUtils.ts.
The change itself is pretty straightforward since you only need to add the JSON Schema connection you created.
Example - MySQL
import mysqlConnection from ...
- import mysqlConnection from …: Import your connection from the JSON Schema file.
getDatabaseConfig
- getDatabaseConfig: In the
switchstatement within thegetDatabaseConfigadd a new case for your new Connector.
myOwnConnection.json connector, you could add the following case:- MyOwn: Would be the Service Type defined on
myOwnConnection.json - myOWnConnection: Would be the import startement
UI Documentation to follow along
If you pay attention when configuring a connector through the UI you will see that there is a follow along documentation to assist you. In order to add this feature, you need to create a new fileYourConnector.mdx within
openmetadata-ui/src/main/resources/ui/public/locales/en-US/{source_type}, in the proper Source Type.
Example - MySQL
First we give an overview
First we give an overview about the Connector and any requirements or important information the user should know
Within the `## Connection Details`
Within the
## Connection Details section you can see that we use some special notation $(id="{something}").This is used to sync the documentation here with the property that the user is configuring at a given time (The “follow along” feature if you will).In order to make it work properly you need to set the ID of each section to the property of the JSON Schema.Next Step
It is possible that you need to implement a small piece of Java code to make everything work perfectly depending on the Connection Schema. You can learn more about it in the next step.Create the Java ClassConverter
Learn what is the Java ClassConverter and how to create it