/fh-messaging

FeedHenry Messaging Server

Primary LanguageJavaScriptApache License 2.0Apache-2.0

#fh-messaging(1) -- The FeedHenry Message Server

DESCRIPTION

This contains the 2 messaging components

  • fh-messaging

  • fh-metrics

fh-messaging

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

fh-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

Tests

Individual component testing

Each component has there own test suite that runs tests on the components individually. see the individual components README's for more on this.

Acceptance tests

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.

Manual tests

Testing Cloud Reporting Manually

For instructions how to test cloud reporting manually, refer to fh-metrics/README.md.

License

fh-messaging & fh-metrics are licensed under the Apache License, Version 2.0.