Skip to content

rwinch/assessment-job

 
 

Repository files navigation

Project Assessment Batch Job

This batch job will obtain many of the metrics available from Github using the Github REST Search API.

NOTE: Github's REST based Search API is highly rate limited. Because of this, there is a minute delay between each step in the batch job. Also, if you have more than one or two team members, you may need to tweak this code or run it with subsets of the members of the team to avoid hitting rate limits.

Configuration

Provide an application.properties file with the following:

spring.main.web-application-type=none
github.user=<YOUR_GITHUB_USER>
github.token=<YOUR_GITHUB_TOKEN>
spring.project.users=<GITHUB_IDS_FOR_EACH_TEAM_MEMBER> //This is comma delimited
spring.project.repo=<repo:GITHUB_RELATIVE_URL_TO_REPO>

An example is as follows

spring.main.web-application-type=none
github.user=mminella
github.token=a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0
spring.project.users=benas,mminella
spring.project.repo=repo:spring-projects/spring-batch

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%