Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.54 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.54 KB

reveal_restlet

Description

A simple REST service for starting, stopping, killing and deploying topologies.

API Usage (replace localhost by server name) :

action REST call
list all installed topologies http://localhost:8182/manage
start someTopology http://localhost:8182/storm/someTopology/start
stop someTopology http://localhost:8182/storm/someTopology/stop
kill someTopology http://localhost:8182/storm/someTopology/kill
deploy someTopology on someChannel http://localhost:8182/storm/someTopology/deploy?channel=someChannel

Installing the REST service

  • Follow the instructions of the project documentation pdf file in order to set up rabbitmq and storm
  • This project comes as a maven project so download and install maven
  • invoke make run or mvn clean install in order to run the REST service
  • If topologies should be deployed to a remote server then the value for "nimbus.host" in deployment.properties has to be changed to the address of the remote server. Furthermore the value for "restlet.url" has to be changed to the restlet server's address.

Installing a topology