GitHub user chamilad opened a pull request: https://github.com/apache/stratos/pull/85
Python implementation of the Cartridge Agent You can merge this pull request into a Git repository by running: $ git pull https://github.com/chamilad/stratos master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/stratos/pull/85.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #85 ---- commit cb0475e8cefee4ecaa876c7646b58971eabef399 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-16T07:39:19Z tested mqtt client connectivity with paho refactored methods commit a06b52a6f5e010f48aa8b24063fcc3dfc9b6640a Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-16T09:23:10Z tested mqtt publishing Conflicts: tools/python-cartridge-agent/cartridge-agent/agent.py commit 783bd3387046bc1d778ed97629807d0e1fd6b0e8 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-17T06:27:53Z Implemented cartridge agent configuration which loads the configuration and launch parameters file agent: verifying necessary properties extensions: default extension handler skeleton commit a4b53d693955d8b5cdb952a62342c9cbe410e268 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-17T12:32:21Z Reorganized module structure InstanceEvent subscribing instance notifier events on instance started event impl on default extension handler extension utils skeleton renamed configuration file commit a0c4c96c4d2130b85fddb72c9e82ad34c9b1b027 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-20T06:29:11Z Added artifact management with git clone pull (without error handling) Added instance/status/# event publisher Added tenant/# event receiver Completed artifact updated event execution Added cartridge agent utils decrypting AES 256 password, with unpadding, without IV commit 495a6c72351d1dd3a4f7b908dbd222752361661b Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-21T18:52:50Z moved event handlers to agent.py commit a408abe3a93ac3d4ce251e9d6602515463338f5b Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-21T19:16:01Z Added topology event listener skeletal methods Refactored subscriber classes to one class commit 0d612986c2be406a39447b63b9e636debfd89201 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-22T09:32:12Z Fixed TenantEvent listener design Organized python module structure within cartridge agent Consolidated class structures in to one module file in instance (status/notifier) and tenant events Completed most cartridge agent init functions Topology and Tenant managers missing LogPublisher task missing commit c2b17404192256822d4621afd2c65452c9202df1 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-23T08:33:46Z Restructured modules to suit relative imports commit ec594ad72329594e0558ae0701433ba4737bf952 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-23T18:14:51Z Fixed path issue for the agent.conf file commit 1a0b50c52766966f9170bfaf6b3156c5829ae638 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-24T11:03:52Z Added Tenant context handling base classes Implemented populating the CompleteTenantEvent object with the received json string Update tenant context on CompleteTenantEvent if not already initialized commit d339b4bef41cea61df809115ab66e5a7d508c666 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-24T16:41:39Z Topology context messaging model classes added commit 985e42baa501323526684e005b0c6523b33c46b6 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-24T18:17:37Z Added CompleteTopologyEvent populating with the json string received from message broker Added implementation for on_complete_topology_event method Fixed bugs in topology context commit cd74ec113976ccd0a124582babd12deaecaa2c5c Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-24T21:53:08Z Git repository initialization and validation in Artifact management commit c39c888aee631f26467a630b57da916260e1b4c5 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-24T23:37:04Z Completed git pull, clone and merge scenarios in artifact updated event commit 4c0c906b61489b069b95640e029aa29f3dab6b47 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-25T01:11:06Z AsyncScheduledTask for scheduled tasks with interval Artifact update task commit 9980e3b3b458db2a4444785793c870db87b9d3ab Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-25T04:56:10Z Complete instance activated extension path Added command execution util Fixed topology context Reverted CartridgeAgentConfiguration from singleton to static class commit 73fb8943fd384111ab314954f6a0cba5786687e2 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-25T05:13:04Z Instance Activated path Overloaded execute command method commit dc0666405165c45f2444921f30ac3b982ffb496e Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-25T10:22:31Z Completed following paths in extension and event handling cleanup status event publishing member activated instance and topology event classes deserialization from json few extension util methods json string added for Member and topology classes commit 98aa7fda30d70ae9db2fc46044403ab65635b6da Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-26T10:49:15Z Added clustering informaiton handling to the default extension handler Style changes to the default extension handler code Added get_service method to topology object commit 2653be32c83dd93b11c99760c914846733b915be Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-26T11:26:29Z Completed start servers extension path commit 02f74b68a36e9edb5530e528526262e091a1be4d Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-26T12:00:27Z Fixed style issues Added volume mount extension execution copy artifact extension commit 9c560a76c7bab0ca67724f19af08ef4538682949 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-26T14:37:04Z Completed DefaultExtensionHandler and extension util paths Fixed minor bugs Implemented event handler methods commit 11231b30fa302c91695609b950b2e6c295ba53c0 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-28T08:35:00Z Provided documentation comments with reStructured text, with additional type hinting commit 0b63370d9198ffa156049f0d8aadccfa11ee24cb Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-28T08:36:48Z Fixed minor issues in cartridge agent and cartridge agent configuration commit b7c8985aa666aa508387cd665905b076bfe41fcb Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-29T09:43:49Z Abstracted extension handler functionality to avoid circular dependancy Added logging to file '/tmp/cartridge-agent.log' commit f85bc0a164a0334b0a7c35cadc02746bc95c3a79 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-29T13:56:57Z Fixed exception handling for non critical parameter reading Fixed incorrect use of the configuration class Fixed minor issues in agent.py commit f4b2b5c7fe9fe5028a2eb2bb732696fcb7205e93 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-30T10:00:41Z Added WSO2 CEP/BAM Python data publisher Wrote a sample log publisher commit 700a6d26780b5e54975f65aa0c392e048845f3bd Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-09-30T21:10:14Z Refactored thrift communication module Added databridge additional classes Completed log publishing from agent commit 1c2f0462963464b0958af81206939c8bcfa40492 Author: Chamila de Alwis <chami...@wso2.com> Date: 2014-10-01T10:36:26Z Added health statistic publishing classes Refactored stream definition creation in datapublishing ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---