This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nebolintegration_tutorial_2 [2021/08/11 21:46] – nebol | nebolintegration_tutorial_2 [2021/08/11 22:46] (current) – removed nebol | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== So what happened? ==== | ||
- | A continuation of [[NebolIntegration_Tutorial_1]] - Creating your first integration | ||
- | |||
- | |||
- | === Database structure === | ||
- | |||
- | It will be useful to discuss the database structure. Eventually you'll probably need to get in there to do some maintenance so it's important to understand what going on. | ||
- | |||
- | (Click image to show full-size) | ||
- | |||
- | {{: | ||
- | |||
- | * Integration - this table is the main table containing information & settings for each integration | ||
- | * IntegrationQueue - contains submitted requests for integration jobs | ||
- | * IntegrationResult - contains the result(s) of the integration jobs | ||
- | * | ||
- | |||
- | |||
- | ==== The Flow ==== | ||
- | |||
- | When the Engine is started it creates a separate thread for every integration. Every integration will lay sleeping until it's time do poll the database for new queue items according to its set polling interval. | ||
- | |||
- | When you do a Submit for an integration, |