Context Pattern
Description
A context extractor matching against the request path.
May be used by
Properties
Pattern (
pattern) Description
Regular expression pattern matched against the request URI.
The matching is done against the part of the request URI after the protocol or after the host (depending on the configuration of the context extractor).
Example: If the request URL is "https://host/blah/blue", the considered path is either "host/blah/blue" (if virtualhost is included) or "/blah/blue" otherwise.
The matching is done against the part of the request URI after the protocol or after the host (depending on the configuration of the context extractor).
Example: If the request URL is "https://host/blah/blue", the considered path is either "host/blah/blue" (if virtualhost is included) or "/blah/blue" otherwise.
The request path is then matched against the regular expression which must match the entire path, not just a substring.
Important: For SPA URLs under /ui/app/*, only top-level navigation (for example when navigating from an external site using a link or http redirect) can be used for context extraction. Most navigations/clicks within the SPA do not lead to an explicit request to the URL seen in the URL bar.
Attributes
RegEx
Mandatory
Configuration Context (
configurationContext) Description
The resulting configuration context if the regular expression matches.
Use "[DEFAULT]" to explicitly return the default context.
Use "[DEFAULT]" to explicitly return the default context.
Attributes
String
Mandatory
Example
CTX1
Example
EXT
Example
[DEFAULT]
YAML Template (with default values)
type: ContextPattern
id: ContextPattern-xxxxxx
displayName:
comment:
properties:
configurationContext:
pattern: