Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
GitHub provides hosting for software development version control using Git. This plugin would allow users to select the data sets associated with the specified repository and collect raw level data.
User Expectations
- User Users would like to enable GitHub API to start retrieving GitHub data associated with repositories collect raw data sets associated with a specific repository so that they can perform monitoring and reporting on it
- User would like to provide User would like to perform aggregations on GitHub datasets so that they can get better understanding of the repository usage
Plugin Type
- Batch Source
- Batch Sink
- Real-time Source
- Real-time Sink
- Action
- Post-Run Action
- Aggregate
- Join
- Spark Model
- Spark Compute
User Configurations
User Configuration Label | Label Description | Variable | User Widget | Notes |
---|---|---|---|---|
Access Token | Authorization token to access GitHub API | authorizationToken | Text Box | https://developer.github.com/v3/#authentication |
Repository | GitHub repository | repoName | Text Box | |
Dataset | Dataset name that you would like to retrieve | dataset_name | Drop down | https://developer.github.com/v3/repos/ Valid values include all the objects listed in the above link. |
Design / Implementation Tips
Plugin will be implemented using third-part The GitHub Java API library, It is part of the GitHub Mylyn Connector and aims to support the entire GitHub v3 API. Authentication will be performed using access token. Output schema must be automatically generated from selected data.
References
- GitHub API v3 documentation: https://developer.github.com/v3/
- GitHub API v4 (GraphQL) documentation: https://developer.github.com/v4/
- GitHub API v3 third-part libraries: https://developer.github.com/v3/libraries/
Table of Contents
Checklist
- User stories documented
- User stories reviewed
- Design documented
- Design reviewed
- Feature merged
- Examples and guides
- Integration tests
- Documentation for feature
- Short video demonstrating the feature