Developer’s Guide

How to develope and test Synaps

Set up development environment

see Installation Guide

Build Synaps

see Build Guide

Run synaps-api

After synaps installation, you can run synaps as below.

$ sudo synaps-api-cloudwatch

Run synaps-storm (local mode)

After build synaps-storm topology(synaps-storm-yyyy.xx.xx.jar), you can run the topology on storm local mode as below. (When you don’t pass topology name, it will run on local mode)

$ sudo storm jar synaps-storm-yyyy.xx.xx.jar

Run testcase (Functional/Integration test)

Now you can run testcase to check your Synaps running OK

~/git/synaps/synaps-api/synaps/tests$ python test_cloudwatch.py