syndesisio / syndesis

This project is archived. A flexible, customizable, open source platform that provides core integration capabilities as a service.
https://syndesis.io/
Apache License 2.0
598 stars 202 forks source link

Change Integration management to async #45

Closed syndesis-bot closed 6 years ago

syndesis-bot commented 7 years ago
@rhuss 2017-03-10 big

Creating / updating intgeration involves expensive operations like github and openshift object creations. Currently this is done blocking, which leads obviously to various problems (including timeouts from the OpenShift router)

This should be fixed by:

The UI needs to be adapted to show the status somewhere which on status change should be pushed from the server.

syndesis-bot commented 7 years ago
@chirino 2017-03-16

Using a status field on the integration should work wonderfully since the UI is currently being notified (via WebSocket or SSE event) whenever an entity is updated.

syndesis-bot commented 7 years ago
@KurtStam 2017-03-16

@chirino, we have two fields StatusType and StatusPhase: This is so we can activate an integration by setting the StatusType to "Activated" on the integration. When deployment starts it then sets the StatusPhase to Pending, and when up to Running, when not up to Failed, when successfully deactivated to Succeeded. There is also an Unknown Phase just in case. We could add a StatusMessage to report errors.

syndesis-bot commented 7 years ago
@KurtStam 2017-04-04

Work on this is ongoing on PR https://github.com/redhat-ipaas/ipaas-rest/pull/262 and https://github.com/redhat-ipaas/ipaas-rest/pull/236

chirino commented 6 years ago

Integration lifecycle is managed async now. This issue is out of date. Closing.