This provides a step-by-step guide for contributing to the Ballerina rewards program - Connector conribution event event.
Welcome to the Ballerina rewards program - Connector conribution event! We're excited to have you contribute to the Ballerina ecosystem. This guide will walk you through the process of participating in this event and contributing your connector. Please follow the instructions carefully to ensure your contribution is eligible for rewards.
Connector categories & rewards
You can contribute to one of the following categories:
-
Category 1: Connectors generated via existing OpenAPI specifications
- Contribution involves creating a connector using a pre-defined OpenAPI spec.
- Reward: 60 Credits
-
Category 2: Connectors generated via manually written OpenAPI specifications
- Contribution requires defining the OpenAPI spec first, followed by generating the connector.
- Reward: 80 Credits
-
Category 3: Manually developed (handwritten) connectors
- Contribution involves building a connector from scratch without relying on an OpenAPI spec, typically for APIs that don’t provide one.
- Reward: 100 Credits
Contribution process
Step 1: Select a connector
- Browse the project ideas listed in the Connector project board and choose a connector to work on.
- After selecting a connector, leave a comment on its GitHub issue to indicate your interest in contributing.
- Ballerina team will review your comment and confirm your request. Once confirmed, the connector will be officially assigned to you.
Step 2: Repository setup
- After confirmation, the Ballerina team will create a new repository for the connector under the ballerina-platform GitHub organization and, set up the initial project structure.
Step 3: Follow the connector development guide
- Start working on your connector by following the steps in the Create your first Ballerina connector guide.
Note on Handwritten connectors (Category 3): Since the guide primarily covers generated connectors, steps related to client generation won't apply. However, the steps for testing, documentation, and examples are the same.
Step 4: Contribution workflow
For each area of your contribution, create individual pull requests (PRs):
- Client generation with required sanitization (if applicable)
- Test cases
- Documentation
- Examples
Ensure all PRs reference the related connector issue in the description to properly track your contributions.
Step 5: Code reviews & improvements
- Ballerina team will review your PRs and may request changes or improvements. Address the feedback and resubmit the PRs as needed.
Step 6: Completion & rewards
-
Once all tasks (client, tests, docs, examples) are completed and merged, the Ballerina team will arrange for the rewards.
-
Important: You must complete all the required steps to be eligible for the full reward. Partial submissions are not eligible for rewards.
Additional resources
- New to Ballerina? Start with Ballerina By Example to get familiar with the language.
- For technical questions, ask on StackOverflow using the ballerina tag, and the team will be notified.
- Follow the Connector development process for a detailed guide on building connectors.
- Review Ballerina best practices to write clean, efficient code.
- Need help? Comment on the GitHub issue or ask in the Ballerina Discord.
- Ensure your contributions follow the Ballerina Code of Conduct.
We can't wait to see your contributions!