Page Properties |
---|
Status | Status |
---|
| |
---|
colour | Yellow |
---|
title | PROGRESS |
---|
|
|
---|
Priority | 2 |
---|
Note |
|
---|
Assignee | Antje |
---|
RessourcesConcept article linking to the respecive tutorials |
...
The following parameters can/have to be defined in the interceptor configuration:
Parameter | Type | Description |
---|
type | String | The type of the interceptor. It defines the position in the process flow where the interceptor can step in. |
predicate | String | The condition that triggers the intervention of the process flow in order to include the project-specific process extension. The string can provide the condition either in Spring Expression Language (SpEL) or Javascript. Thus, the string has to start always with a prefix spel: for SpEL or js: for Javascript. |
url | String | HTTP address of the project-specific process extension. Dynamic components (properties of the processed object) can be included in braces. |
useDirectory | boolean | Decides whether |
the url
will be read in the discovery or processed as an absolute address.to resolve the url string at the Discovery-Service or not |
Interceptor Types
There are different types of interceptors available, that interrupt the process flow at different positions.
Intercepor Type | Evaluation Target of the Predicate | Description |
---|
getContent | API dms object in JSON format | Manipulation of the binary content of the return statement by a project-specific service |
search | structure of the specific class SearchInterceptorObject | Manipulation of the search query parameter and the search result. |
updateDmsObject | first API dms object in the list in JSON format, that is passed to the corresponding update endpoint | Manipulation of the update properties that will be applied to a dms object. |
Configuration Examples
The interceptor configuration is part of the . It is a JSON list of all interceptors, each of them specified by its type
, predicate
, url
and useDirectory
parameters. If there are two or more interceptors of the same type, all of them will be executed in random order.
...
Info |
---|
|
Read on
Section |
---|
Column |
---|
| Another Tutorial Brief summary of the article linked.
|
Column |
---|
| Another Concept Article Brief summary of the article linked. |
Column |
---|
| Another interesting Tutorial Brief summary of the article linked. |
|
|