-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Generate connectors.md
#23367
Generate connectors.md
#23367
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the spirit and presentation of this. Let merge it in.
For context, in the future this file may take on a different "form" as metadata likely willl:
- Make the catalog the primary reference point and the definition yamls will go away.
- Move the generation of the catalog outside of CI/CD and not checked into the repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is absolutely beautiful
final List<JsonNode> destinationDefinitionsJson = getSeedJson(seedRoot, SeedConnectorType.DESTINATION.getDefinitionFileName()); | ||
final List<JsonNode> sourceDefinitionsJson = getSeedJson(seedRoot, SeedConnectorType.SOURCE.getDefinitionFileName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we ok with introducing a new usage of the YAMLs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I very much hope this file one day is built by our metadata service. I view this as a transitionary step - if we can get folks looking here, and not the actor definitions, than the pain of removing them is lessened.
airbyte-config/specs/src/main/java/io/airbyte/config/specs/ConnectorMarkdownGenerator.java
Show resolved
Hide resolved
@evantahler the file is breaking CI. It fails the check The timestamp for |
This PR will catch the problem above in tests for the future #23370 |
This PR adds an automatically-generated
connectors.md
file at the root of this directory. It takes the information contained within the actor_definition files and builds a human-readable markdown table any time a connector is added or updated.This answers the question - "What's the official list of connectors"?
In the future, once all connector metadata lives within this repo, we can add cloud status and additional information. This happens automatically as part of the
/publish
workflow, keyed as a dependency of:airbyte-config:init:processResources
View the file here