Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 758 Bytes

README.md

File metadata and controls

38 lines (34 loc) · 758 Bytes

Camelot Sandbox

Example allowing to launch camelot plugin project with the default single-node environment

Prerequisites

  • Docker >= 1.6.2
  • Docker Compose >= 1.3.1
  • JDK >= 1.7
  • Maven >= 3.13
  • Boot2Docker (on Mac)

How to use

  • Clone project
  • Build project
$ mvn clean package -Dcamelot.version=2.2.2-SNAPSHOT
  • Run environment
$ docker-compose up -d
  • Send messages via
$ curl http://localhost:18082/collect/put?key={AGG_KEY}

or if you are on Mac:

$ curl http://$(boot2docker ip):18082/collect/put?key={AGG_KEY}
  • Get state via
$ curl http://localhost:18082/collect/get?key={AGG_KEY}

or if you are on Mac:

$ curl http://$(boot2docker ip):18082/collect/get?key={AGG_KEY}