Repository navigation
Release vmini-runtime-1.75.1
·
12026 commits
to master
since this release
Add tRPC support to HttpCallParser and implement TrpcUtils (#6654) * Add tRPC support to HttpCallParser and implement TrpcUtils - Introduced TrpcUtils for handling tRPC HTTP calls, converting them to REST-shaped calls per procedure. - Updated HttpCallParser to integrate tRPC parsing logic, distinguishing between tRPC and GraphQL endpoints. - Enhanced logging to specify whether endpoints added to inventory are tRPC or GraphQL. - Added unit tests for TrpcUtils to ensure correct parsing and functionality. * Refactor TrpcUtils for improved URL parsing and response handling - Enhanced URL parsing logic to streamline detection of tRPC endpoints, aligning with GraphQL's approach. - Removed redundant checks and improved clarity in the codebase. - Updated unit tests to reflect changes in request handling and ensure accurate response parsing. - Introduced a helper method for multi-valued headers to simplify test setup. * Refactor TrpcUtils documentation and streamline code structure - Simplified and clarified the documentation for tRPC support, enhancing readability and understanding of the wire format and ingestion process. - Removed redundant comments and improved the organization of the code for better maintainability. - Updated unit tests to align with the refactored logic and ensure comprehensive coverage of tRPC functionality. * Refactor TrpcUtils to utilize HttpRequestResponseUtils for header handling - Replaced custom header value retrieval logic with utility methods from HttpRequestResponseUtils for improved code clarity and maintainability. - Streamlined content type and tRPC accept header checks to enhance readability and reduce redundancy.