RPC code challenge from gravitational
Find a file
2019-05-19 13:26:15 -07:00
gradle/wrapper pass in private key for generation of cert requests 2019-05-19 11:37:58 -07:00
src/main refactor server side exception handling, better error messages in client 2019-05-19 13:26:15 -07:00
.gitignore script wrapping build process managing certificates and triggering a build 2019-05-18 20:25:34 -07:00
build.gradle refactored out private module of JobServServer into its own module. got ssl code building 2019-05-18 16:40:58 -07:00
buildwrapper.sh refactors to server tls code 2019-05-19 13:03:53 -07:00
gradlew pass in private key for generation of cert requests 2019-05-19 11:37:58 -07:00
gradlew.bat pass in private key for generation of cert requests 2019-05-19 11:37:58 -07:00
README.md refactors to server tls code 2019-05-19 13:03:53 -07:00

JobServ

Remote Procedure Calls over the protobuf API

Requirements

  • openssl

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)