Running the Cloud Provider Ranker
Installation
The Cloud Provider Ranker Service is a Spring Boot Application. It consists of a single .jar
file containing a Main
class which implements the main
method.
Launch the server
The Cloud Provider Ranker can be executed by:
The service listens on the default port 8080.
Testing the server
To test the server (which responds at the address http://<IP_WHERE_YOU_DEPLOYED_IT>:8080/rank
) at the client side just use cURL
:
The content of the file cpr-test.json
is described in the Ranking JSON request format.
The repository contains sample files which can be used.
Running a Docker container
To run the container:
Run container from Docker Hub
The pre-built container can also be pulled from the central Docker Hub:
Last updated