Skip to content

lernejo/korekto-amqp-grader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

korekto-amqp-grader

Grader for AMQP exercise

Build

Launch locally

This grader uses Testcontainers which needs Docker.
On Windows this means that the Docker engine must be running.

To launch the tool locally, run com.github.lernejo.korekto.toolkit.launcher.GradingJobLauncher with the argument -s=mySlug

With Maven

mvn compile exec:java -Dexec.args="-s=yourGitHubLogin"

With intelliJ

Demo Run Configuration

Timeouts

Timeouts are overridable using the following system properties:

  • -Dserver_start_timeout=40 to wait at most 50 sec for the server to start
  • -Dqueue_read_timeout=4 to await at most 4 sec for reading messages from the queue

GitHub API rate limiting

When using the grader a lot, GitHub may block API calls for a certain amount of time (criterias change regularly). This is because by default GitHub API are accessed anonymously.

To increase the API usage quota, use a Personal Access Token in order to access GitHub APIs authenticated.

Such a token can be supplied to the grader tool through the system property : -Dgithub_token=<your token>

Like so:

mvn compile exec:java -Dexec.args="-s=yourGitHubLogin" -Dgithub_token=<your token>

Releases

No releases published

Packages

No packages published

Languages