ING-1519: Updated all dependencies#370
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates Go module dependencies (including oapi-codegen and OpenTelemetry) and adjusts the Data API HTTP strict-middleware integration and response header handling to match the updated generated types.
Changes:
- Bumped versions across
go.mod/go.sum(AWS/Azure/GCP SDKs, OpenTelemetry, oapi-codegen runtime/tooling, etc.). - Migrated strict HTTP middleware plumbing from
oapi-codegen/runtime/strictmiddleware/nethttptypes to generateddataapiv1strict middleware/handler function types. - Updated Data API response header helpers/assignments to use pointer-valued header fields (e.g.,
*string,*uint32) as expected by the new generated types.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updates direct/indirect dependency versions (notably oapi-codegen, OpenTelemetry, cloud SDKs). |
| go.sum | Refreshes module checksums for the updated dependency graph. |
| gateway/system/system.go | Switches strict handler middleware slice type to dataapiv1.StrictMiddlewareFunc and drops the old nethttp middleware import. |
| gateway/dapiimpl/uatracing.go | Updates tracing middleware to the generated strict middleware/handler function types. |
| gateway/dapiimpl/uametrics.go | Updates user-agent metrics middleware to the generated strict middleware/handler function types. |
| gateway/dapiimpl/tlsconnstate.go | Updates TLS conn-state middleware to the generated strict middleware/handler function types. |
| gateway/dapiimpl/httperrors.go | Updates error-handling middleware to the generated strict middleware/handler function types. |
| contrib/oapimetrics/metrics.go | Updates OAPI metrics middleware to the generated strict middleware/handler function types. |
| gateway/dapiimpl/server_v1/helpers.go | Changes helper return types for headers (e.g., ETag/Expires/mutation token) to pointers. |
| gateway/dapiimpl/server_v1/dataapi_touch.go | Updates response headers to pointer fields using ptr.To(...). |
| gateway/dapiimpl/server_v1/dataapi_locking.go | Updates response headers to pointer fields using ptr.To(...). |
| gateway/dapiimpl/server_v1/dataapi_crud.go | Updates response headers to pointer fields using ptr.To(...). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
chvck
previously approved these changes
May 19, 2026
e008c5d to
ac59c21
Compare
dnault
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.