Updated das extension metering-serive capps README.md file
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/9e978392 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9e978392 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9e978392 Branch: refs/heads/stratos-4.1.x Commit: 9e978392d265bee678c8e2634ed832cce27d0c10 Parents: 4e09187 Author: Thanuja <[email protected]> Authored: Mon Sep 28 18:14:44 2015 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Mon Sep 28 18:44:19 2015 +0530 ---------------------------------------------------------------------- extensions/das/metering-service/capps/README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/9e978392/extensions/das/metering-service/capps/README.md ---------------------------------------------------------------------- diff --git a/extensions/das/metering-service/capps/README.md b/extensions/das/metering-service/capps/README.md index d424ea0..ad5285b 100644 --- a/extensions/das/metering-service/capps/README.md +++ b/extensions/das/metering-service/capps/README.md @@ -1,7 +1,18 @@ # Apache Stratos Metering Dashboard -This directory contains Composite Applications (CApps) required for Stratos Metering Service. It includes all Event Stream, Event receiver, Even Store, Gadgets and Dashboard artifacts bundle inside the car file. +This directory contains Composite Applications (CApps) required for Stratos Metering Service. +It includes all Event Stream, Event receiver, Even Store, Gadgets and Dashboard artifacts bundle inside the car file. Follow the below steps to generate the metering dashboard: -1. Add the jaggery files which can be found inside directory 'jaggery-files' to inside server path '/jaggeryapps/portal/controllers/apis' -2. Create MySQL data tables using queries in 'mysqlscript.sql' -3. Add the car file to server to generate the metering dashboard. \ No newline at end of file +1. Run a external DAS server +2. Enable thrift stats publisher for das in thrift-client-config.xml file and update DAS server IP and thrift port in the same file as follow: + <config> + <name>das</name> + <statsPublisherEnabled>false</statsPublisherEnabled> + <username>admin</username> + <password>admin</password> + <ip>localhost</ip> <!-- DAS server IP --> + <port>7612</port> <!-- DAS thrift port --> + </config> +2. Add the jaggery files which can be found inside directory 'jaggery-files' to inside server path '/jaggeryapps/portal/controllers/apis' +3. Create MySQL data tables using queries in 'mysqlscript.sql' +4. Add the car file to server to generate the metering dashboard. \ No newline at end of file
