No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
empros-core
empros-csvstore
empros-dbstore-h2
empros-dbstore-mysql
empros-dbstore
empros-esstore
empros-sample
empros-war
src/etc
.gitignore
.springBeans
README.md
pom.xml

README.md

Empros

Overview

Empros is Event Management and Processing System. Empros runs on a Servlet container which supports Servlet 3.0.

Usage

Empros project provides a server and client(agent) component.

Run Server

Empros server component is provided as WAR component to run on Servlet 3.0 container. You can deploy the war file on your application server. If you want to try it easily, just run the following command:

$ mvn install
$ cd empros-war
$ mvn tomcat7:run

Send Events

Send Single Event

$ curl http://localhost:8080/empros/events/ -H "Content-type: application/json" \
  -X POST -d "{\"aaa\":1,\"bbb\":2}"

or

$ curl http://localhost:8080/empros/events/ -H "Content-type: application/json" \
  -X POST -d "[{\"aaa\":1,\"bbb\":2}]"

Send Nested Event

$ curl http://localhost:8080/empros/events/ -H "Content-type: application/json" \
  -X POST -d "[{\"aaa\":1,\"bbb\":2,\"ccc\":{\"ddd\":3,\"eee\":4}}]"

Send Multiple Events

$ curl http://localhost:8080/empros/events/ -H "Content-type: application/json" \
  -X POST -d "[{\"aaa\":1,\"bbb\":2},{\"ccc\":\"CCC\",\"ddd\":\"DDD\"}]"

Development

Environment

  • Java 6
  • Eclipse (m2e, m2e-wtp, Spring Tool Suite)
  • Maven 3