Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Delete workflow state when template is deleted and no resources exist #694

Merged
merged 1 commit into from
Apr 30, 2024

Commits on Apr 30, 2024

  1. Delete workflow state when template is deleted and no resources exist (

    …#689)
    
    * Add test for updating state index
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    * Add method to delete state document to FlowFrameworkIndidesHandler
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    * Delete state document on deprovision if no template exists
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    * Add check whether state can be deleted to FlowFrameworkIndicesHandler
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    * Conditionally delete state when deleting template
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    * Add IT to test workflow state deletion on deprovision/no-resources
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    * Fix typo
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    * Properly test ResponseException on Workflow State 404
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    * Fetch workflowId of newly created template
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    * Stabilize IT
    
    Signed-off-by: Daniel Widdis <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Widdis <[email protected]>
    (cherry picked from commit ff072de)
    Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    822df64 View commit details
    Browse the repository at this point in the history