Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Integration Lifecycle Handling - what does "Delete Integration" mean? #35

Open
dongniwang opened this issue Aug 28, 2017 · 1 comment
Open

Comments

@dongniwang
Copy link
Contributor

Was just reviewing the design implementation of the Integration Details page, a few questions came up:

  • Can users delete an integration if the integration status is "In Progress"?
  • When users click "Delete Integration" what is actually being deleted?
    • Is it deleting current running version (the latest version) of the integration?
    • Or it's deleting the entire git repo? Including all deployed and undeployed versions?
  • This is a related behavior, what does "Stop Integration" do? Is it stop the current version of the running integration?

image

image

cc: @sjcox-rh @gashcrumb @kahboom @rhuss

@rhuss
Copy link
Contributor

rhuss commented Aug 29, 2017

Can users delete an integration if the integration status is "In Progress"?

I would say 'yes', it should be able to delete an integration in any state.

When users click "Delete Integration" what is actually being deleted?

This will delete the actual runtime objects on OpenShift and the integration in the Syndesis DB so that it won't show up again in the overview. I won't delete the GitHub repository, though (that's my understanding).

I don't think it makes much sense to offer a 'delete' for individual revisions (as this is also to be considered a kind of history which we all can't change :). But if this makes sense from a business POV we could add this, too (as part of a table row)

This is a related behavior, what does "Stop Integration" do? Is it stop the current version of the running integration?

Stop pauses a running integration which then can be restarted (other suggestions for the labels are 'Suspend' / 'Resume' as in https://github.com/syndesisio/syndesis-project/blob/master/proposals/044-integration-model.md). The corresponding button would then be Start. Its all about the current revision (there can be only one revision running at a time).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants