RPC code challenge from gravitational
| src/main | ||
| .gitignore | ||
| build.gradle | ||
| README.md | ||
JobServ
Remote Procedure Calls over the protobuf API
Building
Gradle will manage dependencies, generate code, compile the java, and package the code. Simply run the folllowing command:
$ gradle clean build
Gradle will package both the client and server into both a zip and a tarball. The tarball is located in build/distributions. After extracting one of the archives on a target machine the following commands will run JobServ. Make sure you are in the directory you extracted the archive to.
$ ./bin/jobserv-server
$ ./bin/jobserv-client (host) (port)
(TODO: seperate archives for client and server)
Testing
(TODO: tests for mtls, job control module)