Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The System Hooks catch the call for a function under certain conditions in order to extend or modify the requested process. Thus, it is possible to externalize functional extensions or modularize components of the function call. In order to react to a function call under a certain condition, the latter is defined as a parameter for the corresponding System Hook in its predicate attribute. The set of conditions that need to be met in order for a System Hook to activate are defined in a SpEL (Spring Expression Language) statement that needs to yield a True result in order to trigger the System Hook.

System Hook Configuration

System Hooks are configured in the \service-manager\config\system\systemHookConfiguration.json configuration file within the service manager in JSON format. Any changes to the System Hook configuration will not apply until the affected services have been restarted.

...

Two different types of System Hooks can be used in yuuvis® Momentum, that support two different application (question) (question) types. Both of them react to function calls under a specified condition defined in SpEL, but their behavior after activation is completely different.

...

  • The AMQP Hook applies to object imports and checks the contentStreams for the presence of a range attribute. Should the range attribute be detected, the AMQP Hook recognizes the imported content to be a compound document and initiates asynchronous text extraction of all the content parts.
  • The example Webhook activates at every login and retrieves the roles of the user trying to authenticate (question) (question) authorize (permissions)?.

...