Skip to content

Conversation

@Chaffelson
Copy link
Contributor

Add NOT_ENABLED status to STOPPED_STATES for Dataflow

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

Add NOT_ENABLED status to STOPPED_STATES for Dataflow

Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
@Chaffelson Chaffelson requested a review from wmudge June 24, 2021 12:16
Chaffelson added a commit to Chaffelson/cloudera.cloud that referenced this pull request Jun 24, 2021
Dependent on cloudera-labs/cdpy#21

Break out usage of environment name from environment crn
Use states from common instead of explicit values for checks
Fix check for wait condition when disabling, should wait if requested regardless of whether disable called or not
Fix attempting to enable when Environment not present
Fix wait for disable incorrectly stipulating that state should be None when it should be checking if field response is None

Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
Chaffelson added a commit to Chaffelson/cloudera.exe that referenced this pull request Jun 24, 2021
Dependent on cloudera-labs/cloudera.cloud#17
Dependent on cloudera-labs/cdpy#21

Add df key to sequence role to handle deploying to defaults when only df is requested
Switch request to use Environment crn instead of name for better determinism when user supplies unexpected values
Switch from async call to direct call for df enable / disable as it is a 1:1 mapping to environment

Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
Chaffelson added a commit to Chaffelson/cloudera-deploy that referenced this pull request Jun 24, 2021
Dependent on cloudera-labs/cloudera.exe#20
Dependent on cloudera-labs/cloudera.cloud#17
Dependent on cloudera-labs/cdpy#21

Add df key to cloud and cdp public triggers so they are run when df is called solo

Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
…is very specific

Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
@wmudge wmudge merged commit f6284e1 into cloudera-labs:devel Jul 13, 2021
wmudge pushed a commit to cloudera-labs/cloudera.cloud that referenced this pull request Jul 13, 2021
* Changes for DF-beta inclusion
** Dependent on cloudera-labs/cdpy#21
* Break out usage of environment name from environment crn
* Use states from common instead of explicit values for checks
* Fix check for wait condition when disabling, should wait if requested regardless of whether disable called or not
* Fix attempting to enable when Environment not present
* Fix wait for disable incorrectly stipulating that state should be None when it should be checking if field response is None
* Include Dataflow in descendants collation for env_info
* Switch to using REMOVABLE_STATES to indicate DF disable capability
* Support force removal keyword for DF to enable delete functionality

Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
wmudge pushed a commit to cloudera-labs/cloudera.exe that referenced this pull request Jul 13, 2021
Dependent on cloudera-labs/cloudera.cloud#17
Dependent on cloudera-labs/cdpy#21

* Add df key to sequence role to handle deploying to defaults when only df is requested
* Switch request to use Environment crn instead of name for better determinism when user supplies unexpected values
* Switch from async call to direct call for df enable / disable as it is a 1:1 mapping to environment

Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
cmperro pushed a commit to cmperro/cloudera.cloud that referenced this pull request Aug 12, 2021
* Changes for DF-beta inclusion
** Dependent on cloudera-labs/cdpy#21
* Break out usage of environment name from environment crn
* Use states from common instead of explicit values for checks
* Fix check for wait condition when disabling, should wait if requested regardless of whether disable called or not
* Fix attempting to enable when Environment not present
* Fix wait for disable incorrectly stipulating that state should be None when it should be checking if field response is None
* Include Dataflow in descendants collation for env_info
* Switch to using REMOVABLE_STATES to indicate DF disable capability
* Support force removal keyword for DF to enable delete functionality

Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
Signed-off-by: Chris Perro <cmperro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants