You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor service_role and service_role_info to align to current flow, utilities, and testing (#278)
* Set up two ZooKeeper roles (two SERVER roles) in zk_session
* Add hostname to parse_role_result()
* Update read_roles() for optional view and filter parameters
* Update tests to use fixtures and discovered expected results
* Add get_cluster_hosts utility function
* Add family of wait_* functions for different Command types
* Add API docs for get_host and get_host_ref utilities
* Add filter to read_roles utility function
* Add API docs to read_role and read_roles utility functions
* Remove role name from create_role utility function
* Add tags to create_role utility function
* Add provision_service_role utility function
* Add toggle_role_maintenance utility function
* Add toggle_role_state utility function
* Update to use wait_commands function
* Update to use updated read_roles utility function
* Add service_register and service_deregister test utilities for creating fixtures-as-factories
* Add fixture factories for service, role, and role config group
* Update to renamed service creation utility
* Add register/deregister functions for use with factory fixtures
* Use fixture factory utility functions and rename the fixtures
* Add get_service_hosts utility
* Update tests to use fixture factory utilities
* Add display_name to base_cluster fixture
* Remove unused import
* Add autouse to zookeeper service fixture
* Refactor service_role to align with updated logic, utility functions, and test fixtures
* Add try-except for non-existent role
* Remove erroneous imports
Signed-off-by: Webster Mudge <[email protected]>
0 commit comments