Hooks

The import software (both cmdline and HTTP-API) can be extended by customers through hooks. This individualization method is officially supported for the long-term and thus sustainable.

The modern Python-based PyHooks are saved in /usr/share/ucs-school-import/pyhooks/. They are documented in Commandline import documentation chapter Hooks.

There is a collection of PyHooks in a dedicated git repository: components/ucsschool-hooks.

Sequence

The order in which (hook) code is executed during an import job:

Hook execution sequence.