Repository: stratos Updated Branches: refs/heads/master 9bc1e7683 -> eabb22447
PCA - Added README to the PCA distribution Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/eabb2244 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/eabb2244 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/eabb2244 Branch: refs/heads/master Commit: eabb224479812170d27f91c428e6d25b1ab4388c Parents: 9bc1e76 Author: Chamila de Alwis <[email protected]> Authored: Sun May 24 23:25:56 2015 +0530 Committer: Chamila de Alwis <[email protected]> Committed: Sun May 24 23:25:56 2015 +0530 ---------------------------------------------------------------------- .../cartridge.agent/cartridge.agent/README | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/eabb2244/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/README ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/README b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/README new file mode 100644 index 0000000..92066bf --- /dev/null +++ b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/README @@ -0,0 +1,32 @@ +Python Cartridge Agent (PCA) +============================ + +Cartridge agent manages cartridge instance lifecycle and publishes its health statistics +to Complex Event Processor (CEP). It provides a set of extension points for implementing +logic required for configuring the server. + +How to run Live Tests +--------------------- +1. Install following packages + + apt-get install -y git python python-pip python-dev gcc zip + +2. Install dependent python modules: + ``` + pip install paho-mqtt + pip install psutil + pip install pexpect + pip install pycrypto + pip install gitpython + pip install yapsy + ``` + +3. Start ActiveMQ: + ``` + <activemq-home>/bin/activemq start + ``` + +4. Run python cartridge agent live tests: + ``` + mvn clean install -Plive + ```
