Service Reference Card
A REST WEB Service which ranks cloud providers.
cloudproviderranker (Java Application):
Init scripts and options:
If installed through
.rpm/.deb packages the server daemon can be
If started as a docker container (
docker run) the server can be
controlled by standard docker commands (
Configuration files location with example template:
Logs are saved in
/var/log/CloudProviderRanker.log. Log messages are
also printed on stdout/stderr, therefore if running through docker, logs
can be accessed with the
docker logs command.
By default port tcp/8080 is used. The admin can change it by launching the daemon with custom options.
Possible unit test of the service:
Continuous unit testing is conducted during development via Jenkins.
Where is service state held (and can it be rebuilt):
Service state is held in two files:
The state can be rebuilt by copying the two files.
Alternatively, the content of the above files can be accessed and recreated by using following the REST API, detailed in the API chapter:
If launched with a keystore file (which is not the default) the service will listen on HTTPS.
Inbound and outbound traffic to the server port (default tcp/8080) must be allowed from/to the Orchestrator.
It's advised to enable serving HTTPS traffic or to put the service behind a reverse proxy with HTTPS enabled.