#fh-messaging(1) -- The FeedHenry Message Server
This contains the 2 messaging components
-
fh-messaging
-
fh-metrics
This is the main messaging server which handles receiving messages and storing them in the database. It also has the scripts/commands for doing batch imports, and rollups for the metrics
This is the metrics server which handles serving metrics data to millicore. It has been seperated from fh-messaging, so that App Studio will not be affect by slowness or downtime of the messaging server
Each component has there own test suite that runs tests on the components individually. see the individual components README's for more on this.
Run the acceptance test suite
Install whiskey https://github.com/cloudkick/whiskey
npm install -g whiskey
Install any other dependancies
npm install
Run the tests
npm test
Run a single test
whiskey --dependencies tests/dependencies.json --only-essential-dependencies --real-time --report-timing --tests tests/test_fhinit.js
IMPORTANT: Timezone must be IST currently for tests to work. IMPORTANT: Mongo Auth must not be enabled for tests to work.
For instructions how to test cloud reporting manually, refer to fh-metrics/README.md
.
fh-messaging & fh-metrics are licensed under the Apache License, Version 2.0.