GitHub user camillser opened a pull request:

    https://github.com/apache/helix/pull/15

    Adding support for zookeeper administration in python library

    Refactoring cluster.py:
    Changing from module to class based functions allowing the implementation 
to be changed.
    The interface for the cluster object does not change when using the Cluster 
class.
    Adding ZKCluster object. Use of the zookeeper module is optional and does 
not interfere with the dependencies when using the Cluster object.
    
    functions.py:
    Put all functions inside a class.
    Switched to using a class variable for host selection.
    
    zkfunctions.py:
    Adding support for direct zookeeper access.
    
    statemodeldefs.py:
    Constants for state model definitions.
    
    test/test_helix.py:
    Unit tests for both Rest object and zookeeper object.
    
    Only the most basic operations are implemented in zkfunctions.
    
    Testing done:
    Created some unit tests. Tested add_cluster, add_resource, add_instance, 
add_instance_tag, add_resource_tag, del_cluster, del_resource, del_instance for 
both rest and zk implementations.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/camillser/helix master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/helix/pull/15.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 #15
    
----
commit a714f002cd2d9dd98bd86723da787c94f0d70ee7
Author: Casey Miller <[email protected]>
Date:   2015-02-14T03:43:24Z

    Refactoring cluster.py:
    Changing from module to class based functions.
    Abstracting Cluster object.
    Adding ZKCluster object.
    
    functions.py:
    Put all functions inside a class.
    Switched to using a class variable for host selection.
    
    zkfunctions.py:
    Adding support for direct zookeeper access.
    
    statemodeldefs.py:
    Constants for state model definitions.
    
    test/test_helix.py:
    Unit tests for both Rest object and zookeeper object.

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to