A standalone Rate Limiting [Micro-]Service.
The apiman-rls project is a standard maven project, so to build it from source, simply do this:
mvn clean package
Once the project is built, there are a number of ways you can run the server. Perhaps the easiest way is to simply run the fat jar that is created in the apiman-rls-vertx module:
cd vertx/target
java -jar apiman-rls-vertx-${version}-fat.jar
This will start up the server on port 8080 of localhost. Point your browser or REST client at the resulting endpoint:
You should see a response payload with some basic information, for example:
{
"name" : "apiman-rls-api",
"version" : "1.0",
"description" : "A REST API to the apiman Rate Limiting [Micro-]Service. This API provides a way for external clients to quickly and accurately query and increment named rate limits."
}
Now that the server is running, you can start making REST calls to the server. Details of the REST API can be found here: