Skip to content

Conversation

@chusopr
Copy link
Contributor

@chusopr chusopr commented Oct 19, 2022

Add datahub_start option when switching an environment to the started state support starting an environment without starting the datahubs within it.

It's set to True by default to be consistent with the current behaviour without requiring modifications in current code using this module.

Tested on CDP Public Cloud on GCP.

It requires cloudera-labs/cdpy#57

@jimright jimright changed the base branch from main to devel October 19, 2022 19:32
Copy link
Contributor

@jimright jimright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chusopr - apart from the missing note about the argument in the DOCUMENTATION this looks good.

Here is how I tested it:

  1. Start no arguments. ENV + DH started as expected. ✔️
  2. Start with datahub_start True. ENV + DH started as expected. ✔️
  3. Start with datahub_start False. ENV started; DH stay stopped. ✔️
  4. Create and teardown of environment. Both worked as expected. ✔️

…ted` state support starting an environment without starting the datahubs within it.

Signed-off-by: Jesus Perez Rey <jprey@bluemetrix.com>
@chusopr chusopr force-pushed the start_env-without_datahubs branch from 1280746 to ffb32a8 Compare November 2, 2022 17:37
@chusopr chusopr requested a review from jimright November 4, 2022 11:23
@wmudge wmudge added the enhancement MINOR - New feature or enhancement in the CHANGELOG label Nov 7, 2022
@wmudge wmudge merged commit 0e76789 into cloudera-labs:devel Nov 7, 2022
wmudge pushed a commit to wmudge/cloudera.cloud that referenced this pull request Feb 1, 2023
* Add 'datahub_start' option to switch an environment to the `started` state to support starting an environment without starting the datahubs within it.

Signed-off-by: Jesus Perez Rey <jprey@bluemetrix.com>
Signed-off-by: Webster Mudge <wmudge@cloudera.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement MINOR - New feature or enhancement in the CHANGELOG

Development

Successfully merging this pull request may close these issues.

3 participants