...
Code Block |
---|
consume { http.RequestCycle req = udrCreate(http.RequestCycle); req.host = "myserver"; req.port = "8181"; req.secure = true; req.httpVersion = "http2"; req.path = "/nf-instance"; req.method = "GET"; debug("sending request"+req); udrRoute(req); } |
Prerequisites
The reader of this information should be familiar with:
- Hypertext Transfer Protocol version 2 (RFC 7540: https://tools.ietf.org/html/rfc7540)
Hypertext Transfer Protocol version 1.1 (RFC 2616: http://www.ietf.org/rfc/rfc2616.txt)
- The Transport Layer Security (TLS) Protocol version 1.3 (RFC 8446: https://tools.ietf.org/html/rfc8446)
- mTLS (https://tools.ietf.org/html/rfc8446#section-4.4.2.4)
Configuration
The agent consists of the Client tab.
Client Tab
The Client tab contains the following settings:
Setting | Description | |||||
---|---|---|---|---|---|---|
Use SSL | If you want to use SSL, select this checkbox. | |||||
Security Profile | If you have selected to use SSL, select which 8.20 17 Security Profile you want the agent to use. | |||||
Request Timeout (sec) | Enter the timeout period in seconds for the request to the HTTP/2 client to wait for a response before timing out. | |||||
Max Requests Queued Per Destination | The size of the message queue in the Jetty server. Default is 20000.
| |||||
Retry Interval For full Queues (ms) | A millisecond value to indicate the time it will take for the request to try again when the queue is full. | |||||
Max Retries For Full Queue | When the Route Error UDR option is checked, this field will be enabled. This field will indicate how many times the request will attempt to retry before routing it to Error UDR. | |||||
Route Error UDR | If this check box is ticked, the request will attempt to be received by the agent until it reached the maximum amount of retries. Once the threshold is reached, the request will be stored in an Error UDR and sent as an output from the HTTP/2 client agent. If the check box is not ticked the request will attempt the retries for an indefinite amount of time, until the workflow is terminated. |
OpenAPI/5G
The OpenAPI/5G tab contains the following settings:
Setting | Description | |||||
---|---|---|---|---|---|---|
Use OpenAPI Profile | If you want the agent to use an OpenAPI profile, select this check box. | |||||
OpenAPI Profile | If you have selected Use OpenAPI Profile, select which OpenAPI profile you want the agent to use. | |||||
Enable Validation | If you want to validate the OpenAPI profile, select this check box.
|
HTTP/2 Client Proxy
If HTTP traffic is required to be routed through a proxy, please look at 15. HTTP Proxy Support in order to configure the proxy.
Note | ||
---|---|---|
| ||
Currently the HTTP/2 Client agent only supports HTTP/1.1 protocol traffic routing when a proxy is configured. Without a proxy, HTTP/2 Client is able to route to HTTP/2 protocol traffic. |
Input/Output Data
Input Data
Output Data
Scroll ignore | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||