syndesisio / syndesis-ui

The front end application or UI for Syndesis - a flexible, customizable, cloud-hosted platform that provides core integration capabilities as a service. It leverages Red Hat's existing product architecture using OpenShift Online/Dedicated and Fuse Integration Services.
https://syndesis.io/
14 stars 28 forks source link

Modified integration saved as draft, the already deployed version cannot be deactivated #1086

Open apupier opened 6 years ago

apupier commented 6 years ago

Then I have a "start integration" button but I have no more possibility to "deactivate" it. image

neither from this page: image

gashcrumb commented 6 years ago

Yeah, this definitely exposes some issues with our status management :-)

The buttons available are based on the current status of the integration. I guess when you save it as a draft, that gets set to Draft, which probably isn't correct if there's a running instance. We probably need to revising having Draft as a status on the integration object.

rhuss commented 6 years ago

Actually that's a consequence that we didn't do a full rework of the integration model (which is still pending here https://github.com/syndesisio/syndesis-rest/pull/493 (but very likely unusable now because of many merge conflicts) and have the latest revisions status on the integration (so its draft here, but should be of course still active). In the original story, status where only on the revisions and an integration could have a reference to a draft revision and and an active revision.

We have to revisit this issue very soonish as its currently one of the major pain points.