cloudera-labs / cdpy

A Simple Pythonic Client wrapper for Cloudera CDP CLI, designed for use with the Ansible framework
Apache License 2.0
10 stars 22 forks source link

Further Teardown Improvements #24

Closed Chaffelson closed 3 years ago

Chaffelson commented 3 years ago

Add option to filter DF listings by a name as describe environment will return None if DF Service is disabled but not removed, whereas it still appears in listings Split DF disable and DF delete functions to provide better clarity in usage. Improve wait_for_state to allow None to be included in the list of valid finish states - this allows the user to specify they are waiting for a failure state or removal during teardown

Signed-off-by: Daniel Chaffelson chaffelson@gmail.com