Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1011 Bytes

async-tasks.md

File metadata and controls

20 lines (17 loc) · 1011 Bytes

Asynchronous tasks

Layman uses asynchronous tasks for processing publications (layers and maps), because some processing steps may take a long time. For example, importing 100 MB ShapeFile to DB may take few tens of seconds.

Asynchronous tasks are started by following requests:

  • POST Workspace Layers
    • tasks related to newly published layer
    • tasks related to each map that points to newly published layer
  • PATCH Workspace Layer
    • tasks related to patched layer
    • tasks related to each map that points to patched layer
  • POST Workspace Maps
    • tasks related to newly published map
  • PATCH Workspace Map
    • tasks related to patched map
  • WFS-T
    • tasks related to each edited layer
    • tasks related to each map that points to at least one edited layer

Each request starts series of asynchronous tasks called chain.