RestLookupService
Description
Use a REST service to look up values.
Tags
http, json, lookup, rest, xml
Properties
In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
URL * | rest-lookup-url | The URL for the REST endpoint. Expression language is evaluated against the lookup key/value pairs, not flowfile attributes. Supports Expression Language, using FlowFile attributes and Environment variables. | ||
Record Reader * | rest-lookup-record-reader | Controller Service: RecordReaderFactory Implementations: AvroReader CEFReader CSVReader ExcelReader GrokReader JsonPathReader JsonTreeReader ReaderLookup ScriptedReader Syslog5424Reader SyslogReader WindowsEventLogReader XMLReader YamlTreeReader | The record reader to use for loading the payload and handling it as a record set. | |
Record Path | rest-lookup-record-path | An optional record path that can be used to define where in a record to get the real data to merge into the record set to be enriched. See documentation for examples of when this might be useful. Supports Expression Language, using Environment variables. | ||
Response Handling Strategy * | rest-lookup-response-handling-strategy | Returned |
| Whether to return all responses or throw errors for unsuccessful HTTP status codes. |
SSL Context Service | rest-lookup-ssl-context-service | Controller Service: SSLContextService Implementations: StandardRestrictedSSLContextService StandardSSLContextService | The SSL Context Service used to provide client certificate information for TLS/SSL connections. | |
Authentication Strategy * | rest-lookup-authentication-strategy | None |
| Authentication strategy to use with REST service. |
OAuth2 Access Token Provider * | rest-lookup-oauth2-access-token-provider | Controller Service: OAuth2AccessTokenProvider Implementations: StandardOauth2AccessTokenProvider | Enables managed retrieval of OAuth2 Bearer Token applied to HTTP requests using the Authorization Header. This property is only considered if:
| |
Proxy Configuration Service | proxy-configuration-service | Controller Service: ProxyConfigurationService Implementations: StandardProxyConfigurationService | Specifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: HTTP + AuthN, SOCKS In case of SOCKS, it is not guaranteed that the selected SOCKS Version will be used by the processor. | |
Basic Authentication Username | rest-lookup-basic-auth-username | The username to be used by the client to authenticate against the Remote URL. Cannot include control characters (0-31), ':', or DEL (127). Supports Expression Language, using Environment variables. This property is only considered if:
| ||
Basic Authentication Password | rest-lookup-basic-auth-password | The password to be used by the client to authenticate against the Remote URL. Supports Expression Language, using Environment variables. This property is only considered if:
| ||
Use Digest Authentication | rest-lookup-digest-auth | false |
| Whether to communicate with the website using Digest Authentication. 'Basic Authentication Username' and 'Basic Authentication Password' are used for authentication. This property is only considered if:
|
Connection Timeout * | rest-lookup-connection-timeout | 5 secs | Max wait time for connection to remote service. | |
Read Timeout * | rest-lookup-read-timeout | 15 secs | Max wait time for response from remote service. |
State Management
This component does not store state.
Restricted
This component is not restricted.
System Resource Considerations
This component does not specify system resource considerations.