bamaer opened a new pull request, #9574: URL: https://github.com/apache/hop/pull/9574
Fixes #9550, fixes #9551 - Static request headers on the REST connection (new Headers tab). Sent by the REST client, HTTP client, HTTP POST, the HTTP action and the connection test. - OAuth 2: when a token the connection fetched gets a 401, it is dropped from the cache, a new one is fetched and the request is retried once. Done in the REST client (also while paging) and the connection test. HTTP client, HTTP POST and the HTTP action don't retry yet; that is a follow-up. Tests: - Unit: `RestConnectionStaticHeadersTest`, `RestConnectionOAuth2TokenRejectedTest`, `RestOAuth2TokenRejectedTest`, `RestUnauthorizedHintTest`, additions to `RestOAuth2TokenProviderTest` and `ActionHttpConnectionTest`. - ITs in `http`, with a new WireMock `oauth` service: 0056 static headers (REST client, HTTP client, HTTP POST), 0057 rejected token, 0058 rejected token while paging, 0059 four copies sharing the token cache. All four fail on main and pass with this change (`run-tests-docker.sh PROJECT_NAME=http`). - `0018-mts-rest-certificates` also fails on main: its test certificates expired on 2026-11-10. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
