From 482d3f4a2c972885a16bd8fb67a48795d9dc95f4 Mon Sep 17 00:00:00 2001 From: Chirayu Patel Date: Fri, 2 Feb 2024 16:14:40 +0530 Subject: [PATCH] Event capture to store a copy of the request body (#923) * read request body early and handle failures in doing so * updated license --- benchmarks/benchserver/main.go | 2 +- benchmarks/runner/main.go | 2 +- codegen/casing.go | 2 +- codegen/casing_test.go | 2 +- codegen/client.go | 2 +- codegen/client_test.go | 2 +- codegen/gateway.go | 2 +- codegen/gateway_test.go | 2 +- codegen/header_propagate.go | 2 +- codegen/header_propagate_test.go | 2 +- codegen/method.go | 2 +- codegen/mockgen.go | 2 +- codegen/module.go | 2 +- codegen/module_system.go | 2 +- codegen/module_test.go | 2 +- codegen/package.go | 2 +- codegen/package_test.go | 2 +- codegen/post_gen_hooks.go | 2 +- codegen/proto.go | 2 +- codegen/proto_test.go | 2 +- codegen/reflect_interface.go | 2 +- codegen/runner/runner.go | 2 +- codegen/service.go | 2 +- codegen/service_test.go | 2 +- codegen/template.go | 2 +- codegen/template_test.go | 2 +- codegen/thrift.go | 2 +- codegen/thrift_test.go | 2 +- codegen/type_converter.go | 2 +- codegen/type_converter_test.go | 2 +- config/config.go | 2 +- config/production.gen.go | 2 +- fix_glide.go | 2 +- parallelize/parallelize.go | 2 +- parallelize/parallelize_test.go | 2 +- runtime/client_http_request.go | 2 +- runtime/client_http_request_test.go | 2 +- .../client_http_request_write_json_test.go | 2 +- runtime/client_http_response.go | 2 +- runtime/client_http_response_test.go | 2 +- runtime/constants.go | 2 +- runtime/context.go | 2 +- runtime/context_test.go | 2 +- runtime/events.go | 2 +- runtime/gateway.go | 2 +- runtime/gateway_test.go | 2 +- runtime/grpc_client.go | 2 +- runtime/grpc_client_test.go | 2 +- runtime/http_client.go | 2 +- runtime/http_server.go | 2 +- runtime/jsonwrapper/jsonwrapper.go | 2 +- runtime/middlewares.go | 2 +- runtime/middlewares_tchannel.go | 2 +- runtime/middlewares_tchannel_test.go | 2 +- runtime/middlewares_test.go | 2 +- runtime/options.go | 2 +- runtime/plugins/m3_aggregator.go | 2 +- runtime/router.go | 25 ++++++++++++++++--- runtime/router/router.go | 2 +- runtime/router/router_test.go | 2 +- runtime/router/trie.go | 2 +- runtime/router/trie_test.go | 2 +- runtime/router_test.go | 2 +- runtime/ruleengine/rule_engine.go | 2 +- runtime/ruleengine/rule_engine_test.go | 2 +- runtime/runtime_metrics.go | 2 +- runtime/runtime_metrics_test.go | 2 +- runtime/server_header.go | 2 +- runtime/server_header_test.go | 2 +- runtime/server_http_request.go | 2 +- runtime/server_http_request_test.go | 2 +- runtime/server_http_response.go | 2 +- runtime/server_http_response_easyjson_test.go | 2 +- runtime/server_http_response_test.go | 2 +- runtime/static_config.go | 2 +- runtime/static_config_test.go | 2 +- runtime/tchannel_client.go | 2 +- runtime/tchannel_client_raw.go | 2 +- runtime/tchannel_client_test.go | 2 +- runtime/tchannel_headers.go | 2 +- runtime/tchannel_headers_test.go | 2 +- runtime/tchannel_helpers.go | 2 +- runtime/tchannel_helpers_test.go | 2 +- runtime/tchannel_inbound_call.go | 2 +- runtime/tchannel_interfaces.go | 2 +- runtime/tchannel_logger.go | 2 +- runtime/tchannel_logger_test.go | 2 +- runtime/tchannel_metrics.go | 2 +- runtime/tchannel_metrics_test.go | 2 +- runtime/tchannel_outbound_call.go | 2 +- runtime/tchannel_server.go | 2 +- runtime/tchannel_server_test.go | 2 +- runtime/tracing.go | 2 +- runtime/tracing_test.go | 2 +- runtime/utils.go | 2 +- runtime/utils_test.go | 2 +- scripts/easy_json/easy_json.go | 2 +- scripts/resolve_i64/main.go | 2 +- scripts/resolve_thrift/main.go | 2 +- test/bootstrap_test.go | 2 +- test/clients/bar/bar_test.go | 2 +- test/clients/baz/baz_test.go | 2 +- test/clients/echo/echo_test.go | 2 +- test/config/config_test.go | 2 +- .../bar/bar_arg_with_headers_test.go | 2 +- .../endpoints/bar/bar_arg_with_params_test.go | 2 +- .../bar/bar_arg_with_query_params_test.go | 2 +- test/endpoints/bar/bar_hello_test.go | 2 +- test/endpoints/bar/bar_metrics_test.go | 2 +- test/endpoints/bar/bar_normal_test.go | 2 +- test/endpoints/baz/baz_metrics_test.go | 2 +- .../baz/baz_simpleservice_method_call_test.go | 2 +- .../baz_simpleservice_method_compare_test.go | 2 +- .../baz/baz_simpleservice_method_ping_test.go | 2 +- ...az_simpleservice_method_silly_noop_test.go | 2 +- test/endpoints/clientless/clientless_test.go | 2 +- test/endpoints/contacts/save_contacts_test.go | 2 +- test/endpoints/googlenow/googlenow_test.go | 2 +- test/endpoints/multi/multi_helloA_test.go | 2 +- test/endpoints/multi/multi_helloB_test.go | 2 +- .../tchannel/baz/baz_metrics_test.go | 2 +- .../baz/baz_simpleservice_method_call_test.go | 2 +- test/health_test.go | 2 +- test/jaeger_test.go | 2 +- test/lib/bench_gateway/bench_gateway.go | 2 +- test/lib/sort_metrics.go | 2 +- test/lib/test_backend/test_http_backend.go | 2 +- .../lib/test_backend/test_tchannel_backend.go | 2 +- test/lib/test_gateway/test_gateway.go | 2 +- test/lib/test_gateway/test_gateway_cover.go | 2 +- test/lib/test_gateway/test_gateway_process.go | 2 +- test/lib/test_m3_server/test_m3_server.go | 2 +- test/lib/util/util.go | 2 +- test/lib/wait_at_least.go | 2 +- .../circuitbreaker_test.go | 2 +- 135 files changed, 156 insertions(+), 137 deletions(-) diff --git a/benchmarks/benchserver/main.go b/benchmarks/benchserver/main.go index c1b574a91..760090d38 100644 --- a/benchmarks/benchserver/main.go +++ b/benchmarks/benchserver/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/benchmarks/runner/main.go b/benchmarks/runner/main.go index 3acbe1892..2869b0942 100644 --- a/benchmarks/runner/main.go +++ b/benchmarks/runner/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/casing.go b/codegen/casing.go index c8348d840..64cfe349f 100644 --- a/codegen/casing.go +++ b/codegen/casing.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/casing_test.go b/codegen/casing_test.go index cd8dc21ec..0889529e7 100644 --- a/codegen/casing_test.go +++ b/codegen/casing_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/client.go b/codegen/client.go index 91ca65d29..a959278e1 100644 --- a/codegen/client.go +++ b/codegen/client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/client_test.go b/codegen/client_test.go index 7ca4814e0..da3402a76 100644 --- a/codegen/client_test.go +++ b/codegen/client_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/gateway.go b/codegen/gateway.go index 0353530da..0e738a727 100644 --- a/codegen/gateway.go +++ b/codegen/gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/gateway_test.go b/codegen/gateway_test.go index 540cf264f..af56c132c 100644 --- a/codegen/gateway_test.go +++ b/codegen/gateway_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/header_propagate.go b/codegen/header_propagate.go index 7573fa67a..eb879b27b 100644 --- a/codegen/header_propagate.go +++ b/codegen/header_propagate.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/header_propagate_test.go b/codegen/header_propagate_test.go index 84d2d7f73..0b3f0a906 100644 --- a/codegen/header_propagate_test.go +++ b/codegen/header_propagate_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/method.go b/codegen/method.go index 2b6212b28..110e27429 100644 --- a/codegen/method.go +++ b/codegen/method.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/mockgen.go b/codegen/mockgen.go index 51b646a37..6dbebbc31 100644 --- a/codegen/mockgen.go +++ b/codegen/mockgen.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/module.go b/codegen/module.go index e2b1ce12a..c25818e05 100644 --- a/codegen/module.go +++ b/codegen/module.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/module_system.go b/codegen/module_system.go index 783611622..ad7ce7e93 100644 --- a/codegen/module_system.go +++ b/codegen/module_system.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/module_test.go b/codegen/module_test.go index c099a69b0..084e355e9 100644 --- a/codegen/module_test.go +++ b/codegen/module_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/package.go b/codegen/package.go index a6722f4d4..c3ecb3c9a 100644 --- a/codegen/package.go +++ b/codegen/package.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/package_test.go b/codegen/package_test.go index 838b1c4fe..f881fd65f 100644 --- a/codegen/package_test.go +++ b/codegen/package_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/post_gen_hooks.go b/codegen/post_gen_hooks.go index f295e924e..721858201 100644 --- a/codegen/post_gen_hooks.go +++ b/codegen/post_gen_hooks.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/proto.go b/codegen/proto.go index 22feb233b..28e5cbb0a 100644 --- a/codegen/proto.go +++ b/codegen/proto.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/proto_test.go b/codegen/proto_test.go index 89646383c..ad2aa0604 100644 --- a/codegen/proto_test.go +++ b/codegen/proto_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/reflect_interface.go b/codegen/reflect_interface.go index abc73214a..f22893296 100644 --- a/codegen/reflect_interface.go +++ b/codegen/reflect_interface.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/runner/runner.go b/codegen/runner/runner.go index f924f6a69..d8d62e214 100644 --- a/codegen/runner/runner.go +++ b/codegen/runner/runner.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/service.go b/codegen/service.go index 2a0cdbc4b..8b6ae6014 100644 --- a/codegen/service.go +++ b/codegen/service.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/service_test.go b/codegen/service_test.go index 3cabb8822..7b08287c9 100644 --- a/codegen/service_test.go +++ b/codegen/service_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/template.go b/codegen/template.go index 3c430452f..12c206e9b 100644 --- a/codegen/template.go +++ b/codegen/template.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/template_test.go b/codegen/template_test.go index 2c5bd8a49..d29b92c33 100644 --- a/codegen/template_test.go +++ b/codegen/template_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/thrift.go b/codegen/thrift.go index 2f102dda7..5eda356e1 100644 --- a/codegen/thrift.go +++ b/codegen/thrift.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/thrift_test.go b/codegen/thrift_test.go index f4f3e17a5..c8311a5a9 100644 --- a/codegen/thrift_test.go +++ b/codegen/thrift_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/type_converter.go b/codegen/type_converter.go index f84afc8a4..cdbe0785e 100644 --- a/codegen/type_converter.go +++ b/codegen/type_converter.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/codegen/type_converter_test.go b/codegen/type_converter_test.go index 17fe066bf..c49cf203b 100644 --- a/codegen/type_converter_test.go +++ b/codegen/type_converter_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/config/config.go b/config/config.go index 3194f79ff..b44ae1037 100644 --- a/config/config.go +++ b/config/config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/config/production.gen.go b/config/production.gen.go index eab9bb889..887bf3c58 100644 --- a/config/production.gen.go +++ b/config/production.gen.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/fix_glide.go b/fix_glide.go index ff4a4a764..bc3ec7230 100644 --- a/fix_glide.go +++ b/fix_glide.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/parallelize/parallelize.go b/parallelize/parallelize.go index 694966049..d4c6e02fe 100644 --- a/parallelize/parallelize.go +++ b/parallelize/parallelize.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/parallelize/parallelize_test.go b/parallelize/parallelize_test.go index 2d5f61a7c..e55a48968 100644 --- a/parallelize/parallelize_test.go +++ b/parallelize/parallelize_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/client_http_request.go b/runtime/client_http_request.go index a393f4cbe..b2c5a36c4 100644 --- a/runtime/client_http_request.go +++ b/runtime/client_http_request.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/client_http_request_test.go b/runtime/client_http_request_test.go index 02d96ea65..23adb71d4 100644 --- a/runtime/client_http_request_test.go +++ b/runtime/client_http_request_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/client_http_request_write_json_test.go b/runtime/client_http_request_write_json_test.go index f080d29b5..74cf3ddcd 100644 --- a/runtime/client_http_request_write_json_test.go +++ b/runtime/client_http_request_write_json_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/client_http_response.go b/runtime/client_http_response.go index 79395e6c6..6ad8b40e7 100644 --- a/runtime/client_http_response.go +++ b/runtime/client_http_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/client_http_response_test.go b/runtime/client_http_response_test.go index 797eb92f7..453139d6a 100644 --- a/runtime/client_http_response_test.go +++ b/runtime/client_http_response_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/constants.go b/runtime/constants.go index 50ac50fa5..5a7d05e2a 100644 --- a/runtime/constants.go +++ b/runtime/constants.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/context.go b/runtime/context.go index 4373979a9..e1ca8d59c 100644 --- a/runtime/context.go +++ b/runtime/context.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/context_test.go b/runtime/context_test.go index 282143ad9..0868d25e6 100644 --- a/runtime/context_test.go +++ b/runtime/context_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/events.go b/runtime/events.go index 558222f94..bd6b5bedd 100644 --- a/runtime/events.go +++ b/runtime/events.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/gateway.go b/runtime/gateway.go index a731d63e8..76b73a39d 100644 --- a/runtime/gateway.go +++ b/runtime/gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/gateway_test.go b/runtime/gateway_test.go index 242d344b2..2ca885356 100644 --- a/runtime/gateway_test.go +++ b/runtime/gateway_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/grpc_client.go b/runtime/grpc_client.go index 57f9244bb..4b0b2eb7a 100644 --- a/runtime/grpc_client.go +++ b/runtime/grpc_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/grpc_client_test.go b/runtime/grpc_client_test.go index 6e2985551..b6022847f 100644 --- a/runtime/grpc_client_test.go +++ b/runtime/grpc_client_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/http_client.go b/runtime/http_client.go index 4d1f47e3b..bcf0603bb 100644 --- a/runtime/http_client.go +++ b/runtime/http_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/http_server.go b/runtime/http_server.go index 821559e9f..2b2343834 100644 --- a/runtime/http_server.go +++ b/runtime/http_server.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/jsonwrapper/jsonwrapper.go b/runtime/jsonwrapper/jsonwrapper.go index bcdacacef..c5d315ceb 100644 --- a/runtime/jsonwrapper/jsonwrapper.go +++ b/runtime/jsonwrapper/jsonwrapper.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/middlewares.go b/runtime/middlewares.go index 1823824bb..509f0efed 100644 --- a/runtime/middlewares.go +++ b/runtime/middlewares.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/middlewares_tchannel.go b/runtime/middlewares_tchannel.go index 6ed6a48cc..33c9a5e37 100644 --- a/runtime/middlewares_tchannel.go +++ b/runtime/middlewares_tchannel.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/middlewares_tchannel_test.go b/runtime/middlewares_tchannel_test.go index 25723a63d..fdb74245f 100644 --- a/runtime/middlewares_tchannel_test.go +++ b/runtime/middlewares_tchannel_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/middlewares_test.go b/runtime/middlewares_test.go index 8d6ec8c2c..035edae45 100644 --- a/runtime/middlewares_test.go +++ b/runtime/middlewares_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/options.go b/runtime/options.go index 0c885d968..b0c1e3f25 100644 --- a/runtime/options.go +++ b/runtime/options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/plugins/m3_aggregator.go b/runtime/plugins/m3_aggregator.go index 767591bd5..d0f36904c 100644 --- a/runtime/plugins/m3_aggregator.go +++ b/runtime/plugins/m3_aggregator.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/router.go b/runtime/router.go index 30c600927..8faa38c53 100644 --- a/runtime/router.go +++ b/runtime/router.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -143,15 +143,34 @@ func (endpoint *RouterEndpoint) HandleRequest( req := NewServerHTTPRequest(w, r, urlValues, endpoint) ctx := req.Context() + // read body, fail early if unable to read. + // ReadAll also generates a response in case of failure, which will be sent to the client + // The downside of this approach is that the body will be read for all requests, + // which may be unnecessary for some requests; e.g malicious requests + // TODO: perform additional body & header validations (body type and header match, max body length etc) before + // invoking event capture or handler + body, success := req.ReadAll() + if !success { + // in case ReadAll hasn't generated a response, generate one here + if req.res.pendingStatusCode == 0 { + req.res.SendError(400, "Could not read request body", nil) + } + req.res.flush(ctx) + return + } + // setting up event container if endpoint.enableEventGen(endpoint.EndpointName, endpoint.HandlerName) { ctx = WithEventContainer(ctx, &EventContainer{}) ctx = WithToCapture(ctx) } - // make a copy of request headers since it could be mutated within the endpoint handler + // make a copy of request headers and body since they could be mutated within the endpoint handler var reqHeadersOriginal map[string][]string + var reqBodyOriginal []byte if GetToCapture(ctx) { + reqBodyOriginal = make([]byte, len(body)) + copy(reqBodyOriginal, body) reqHeadersOriginal = r.Header.Clone() } @@ -173,7 +192,7 @@ func (endpoint *RouterEndpoint) HandleRequest( ReqURL: r.URL.String(), ReqMethod: r.Method, ReqHeaders: reqHeadersOriginal, - ReqBody: req.rawBody, + ReqBody: reqBodyOriginal, RspStatusCode: req.res.StatusCode, RspHeaders: w.Header().Clone(), RspBody: req.res.pendingBodyBytes, diff --git a/runtime/router/router.go b/runtime/router/router.go index be1799fcf..7eccbef8a 100644 --- a/runtime/router/router.go +++ b/runtime/router/router.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/router/router_test.go b/runtime/router/router_test.go index 1bf77ad60..d0cb438fc 100644 --- a/runtime/router/router_test.go +++ b/runtime/router/router_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/router/trie.go b/runtime/router/trie.go index 28d1e946d..d3a6e3bfe 100644 --- a/runtime/router/trie.go +++ b/runtime/router/trie.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/router/trie_test.go b/runtime/router/trie_test.go index 085de10ac..9458dc194 100644 --- a/runtime/router/trie_test.go +++ b/runtime/router/trie_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/router_test.go b/runtime/router_test.go index 1840ae2df..bbc8ca7a3 100644 --- a/runtime/router_test.go +++ b/runtime/router_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/ruleengine/rule_engine.go b/runtime/ruleengine/rule_engine.go index 72dd3ce3b..a1806a3ea 100644 --- a/runtime/ruleengine/rule_engine.go +++ b/runtime/ruleengine/rule_engine.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/ruleengine/rule_engine_test.go b/runtime/ruleengine/rule_engine_test.go index 3cda56c72..9e36a49a9 100644 --- a/runtime/ruleengine/rule_engine_test.go +++ b/runtime/ruleengine/rule_engine_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/runtime_metrics.go b/runtime/runtime_metrics.go index 531859b2e..95cd3c5ba 100644 --- a/runtime/runtime_metrics.go +++ b/runtime/runtime_metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/runtime_metrics_test.go b/runtime/runtime_metrics_test.go index 56dd94b4d..f188e6483 100644 --- a/runtime/runtime_metrics_test.go +++ b/runtime/runtime_metrics_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/server_header.go b/runtime/server_header.go index 23f0c06fb..c4d3a7d38 100644 --- a/runtime/server_header.go +++ b/runtime/server_header.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/server_header_test.go b/runtime/server_header_test.go index 925d213d2..e0205e920 100644 --- a/runtime/server_header_test.go +++ b/runtime/server_header_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/server_http_request.go b/runtime/server_http_request.go index d9d244249..1590c2e9b 100644 --- a/runtime/server_http_request.go +++ b/runtime/server_http_request.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/server_http_request_test.go b/runtime/server_http_request_test.go index eb4195495..0b81a5266 100644 --- a/runtime/server_http_request_test.go +++ b/runtime/server_http_request_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/server_http_response.go b/runtime/server_http_response.go index e2308205e..bfd2f2e19 100644 --- a/runtime/server_http_response.go +++ b/runtime/server_http_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/server_http_response_easyjson_test.go b/runtime/server_http_response_easyjson_test.go index e5259bbfd..90e1ef937 100644 --- a/runtime/server_http_response_easyjson_test.go +++ b/runtime/server_http_response_easyjson_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/server_http_response_test.go b/runtime/server_http_response_test.go index db4ed29ce..3bc5b3c9d 100644 --- a/runtime/server_http_response_test.go +++ b/runtime/server_http_response_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/static_config.go b/runtime/static_config.go index 0009dac6e..309dd059e 100644 --- a/runtime/static_config.go +++ b/runtime/static_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/static_config_test.go b/runtime/static_config_test.go index 1564661bf..e67887f0a 100644 --- a/runtime/static_config_test.go +++ b/runtime/static_config_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_client.go b/runtime/tchannel_client.go index 15c97560a..78da582f6 100644 --- a/runtime/tchannel_client.go +++ b/runtime/tchannel_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_client_raw.go b/runtime/tchannel_client_raw.go index 3e18b2426..7391fc6ed 100644 --- a/runtime/tchannel_client_raw.go +++ b/runtime/tchannel_client_raw.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_client_test.go b/runtime/tchannel_client_test.go index 75610d8f2..f5c304030 100644 --- a/runtime/tchannel_client_test.go +++ b/runtime/tchannel_client_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_headers.go b/runtime/tchannel_headers.go index bc33f3fab..cfb3a8724 100644 --- a/runtime/tchannel_headers.go +++ b/runtime/tchannel_headers.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_headers_test.go b/runtime/tchannel_headers_test.go index 0dc3e5f9a..fa16fa700 100644 --- a/runtime/tchannel_headers_test.go +++ b/runtime/tchannel_headers_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_helpers.go b/runtime/tchannel_helpers.go index b36adea96..6c653e82d 100644 --- a/runtime/tchannel_helpers.go +++ b/runtime/tchannel_helpers.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_helpers_test.go b/runtime/tchannel_helpers_test.go index 67fce1d94..77cfca352 100644 --- a/runtime/tchannel_helpers_test.go +++ b/runtime/tchannel_helpers_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_inbound_call.go b/runtime/tchannel_inbound_call.go index a113d47d7..e6177f0f9 100644 --- a/runtime/tchannel_inbound_call.go +++ b/runtime/tchannel_inbound_call.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_interfaces.go b/runtime/tchannel_interfaces.go index 0ca9e222c..780b78ec5 100644 --- a/runtime/tchannel_interfaces.go +++ b/runtime/tchannel_interfaces.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_logger.go b/runtime/tchannel_logger.go index 4e86a876d..cf4a1a2f0 100644 --- a/runtime/tchannel_logger.go +++ b/runtime/tchannel_logger.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_logger_test.go b/runtime/tchannel_logger_test.go index a53a548cf..75d743d15 100644 --- a/runtime/tchannel_logger_test.go +++ b/runtime/tchannel_logger_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_metrics.go b/runtime/tchannel_metrics.go index 2b209d4c2..77df942ee 100644 --- a/runtime/tchannel_metrics.go +++ b/runtime/tchannel_metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_metrics_test.go b/runtime/tchannel_metrics_test.go index 5b5f08c93..2a642dba7 100644 --- a/runtime/tchannel_metrics_test.go +++ b/runtime/tchannel_metrics_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_outbound_call.go b/runtime/tchannel_outbound_call.go index 0dbf0adea..053b08142 100644 --- a/runtime/tchannel_outbound_call.go +++ b/runtime/tchannel_outbound_call.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_server.go b/runtime/tchannel_server.go index 0f418beab..46c65b27c 100644 --- a/runtime/tchannel_server.go +++ b/runtime/tchannel_server.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tchannel_server_test.go b/runtime/tchannel_server_test.go index fb2e6a67a..8e7fb8d26 100644 --- a/runtime/tchannel_server_test.go +++ b/runtime/tchannel_server_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tracing.go b/runtime/tracing.go index e1182b822..63dd821fa 100644 --- a/runtime/tracing.go +++ b/runtime/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/tracing_test.go b/runtime/tracing_test.go index 36e94d6a0..0543adf2f 100644 --- a/runtime/tracing_test.go +++ b/runtime/tracing_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/utils.go b/runtime/utils.go index 7b52806a1..3f3351e53 100644 --- a/runtime/utils.go +++ b/runtime/utils.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/runtime/utils_test.go b/runtime/utils_test.go index 0c20bf636..19bf48aa4 100644 --- a/runtime/utils_test.go +++ b/runtime/utils_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/scripts/easy_json/easy_json.go b/scripts/easy_json/easy_json.go index e4a87fa2a..c5bef456a 100644 --- a/scripts/easy_json/easy_json.go +++ b/scripts/easy_json/easy_json.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/scripts/resolve_i64/main.go b/scripts/resolve_i64/main.go index 8c91b7610..4dc538897 100644 --- a/scripts/resolve_i64/main.go +++ b/scripts/resolve_i64/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/scripts/resolve_thrift/main.go b/scripts/resolve_thrift/main.go index a3cb49348..179d6d799 100644 --- a/scripts/resolve_thrift/main.go +++ b/scripts/resolve_thrift/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/bootstrap_test.go b/test/bootstrap_test.go index ee31b9eec..c6d52716e 100644 --- a/test/bootstrap_test.go +++ b/test/bootstrap_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/clients/bar/bar_test.go b/test/clients/bar/bar_test.go index de93483dd..81a7df3b3 100644 --- a/test/clients/bar/bar_test.go +++ b/test/clients/bar/bar_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/clients/baz/baz_test.go b/test/clients/baz/baz_test.go index 65f6c950c..1fc43b420 100644 --- a/test/clients/baz/baz_test.go +++ b/test/clients/baz/baz_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/clients/echo/echo_test.go b/test/clients/echo/echo_test.go index 5d412c76b..26479deed 100644 --- a/test/clients/echo/echo_test.go +++ b/test/clients/echo/echo_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/config/config_test.go b/test/config/config_test.go index f22beb865..d3d8ae0e3 100644 --- a/test/config/config_test.go +++ b/test/config/config_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/bar/bar_arg_with_headers_test.go b/test/endpoints/bar/bar_arg_with_headers_test.go index b0fce490c..feb85381f 100644 --- a/test/endpoints/bar/bar_arg_with_headers_test.go +++ b/test/endpoints/bar/bar_arg_with_headers_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/bar/bar_arg_with_params_test.go b/test/endpoints/bar/bar_arg_with_params_test.go index 4455ca40d..37cb33aed 100644 --- a/test/endpoints/bar/bar_arg_with_params_test.go +++ b/test/endpoints/bar/bar_arg_with_params_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/bar/bar_arg_with_query_params_test.go b/test/endpoints/bar/bar_arg_with_query_params_test.go index 5fd4e90d4..d99e91874 100644 --- a/test/endpoints/bar/bar_arg_with_query_params_test.go +++ b/test/endpoints/bar/bar_arg_with_query_params_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/bar/bar_hello_test.go b/test/endpoints/bar/bar_hello_test.go index a0d2ceb99..ab327fd43 100644 --- a/test/endpoints/bar/bar_hello_test.go +++ b/test/endpoints/bar/bar_hello_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/bar/bar_metrics_test.go b/test/endpoints/bar/bar_metrics_test.go index 83841978b..b5f252542 100644 --- a/test/endpoints/bar/bar_metrics_test.go +++ b/test/endpoints/bar/bar_metrics_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/bar/bar_normal_test.go b/test/endpoints/bar/bar_normal_test.go index ee93d068b..28e27f6c1 100644 --- a/test/endpoints/bar/bar_normal_test.go +++ b/test/endpoints/bar/bar_normal_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/baz/baz_metrics_test.go b/test/endpoints/baz/baz_metrics_test.go index 6cb775cca..ab88abb9a 100644 --- a/test/endpoints/baz/baz_metrics_test.go +++ b/test/endpoints/baz/baz_metrics_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/baz/baz_simpleservice_method_call_test.go b/test/endpoints/baz/baz_simpleservice_method_call_test.go index 9dcb370da..c4a85c4e9 100644 --- a/test/endpoints/baz/baz_simpleservice_method_call_test.go +++ b/test/endpoints/baz/baz_simpleservice_method_call_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/baz/baz_simpleservice_method_compare_test.go b/test/endpoints/baz/baz_simpleservice_method_compare_test.go index 75d3d9c7f..57db7c58f 100644 --- a/test/endpoints/baz/baz_simpleservice_method_compare_test.go +++ b/test/endpoints/baz/baz_simpleservice_method_compare_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/baz/baz_simpleservice_method_ping_test.go b/test/endpoints/baz/baz_simpleservice_method_ping_test.go index efd6940d4..ae4bbd346 100644 --- a/test/endpoints/baz/baz_simpleservice_method_ping_test.go +++ b/test/endpoints/baz/baz_simpleservice_method_ping_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/baz/baz_simpleservice_method_silly_noop_test.go b/test/endpoints/baz/baz_simpleservice_method_silly_noop_test.go index 9aca3ed0c..831d6ce7c 100644 --- a/test/endpoints/baz/baz_simpleservice_method_silly_noop_test.go +++ b/test/endpoints/baz/baz_simpleservice_method_silly_noop_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/clientless/clientless_test.go b/test/endpoints/clientless/clientless_test.go index 344ddf0c3..d01815709 100644 --- a/test/endpoints/clientless/clientless_test.go +++ b/test/endpoints/clientless/clientless_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/contacts/save_contacts_test.go b/test/endpoints/contacts/save_contacts_test.go index 9d9df8cf4..6f767c653 100644 --- a/test/endpoints/contacts/save_contacts_test.go +++ b/test/endpoints/contacts/save_contacts_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/googlenow/googlenow_test.go b/test/endpoints/googlenow/googlenow_test.go index c5fc1dc3b..3b8a9dffa 100644 --- a/test/endpoints/googlenow/googlenow_test.go +++ b/test/endpoints/googlenow/googlenow_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/multi/multi_helloA_test.go b/test/endpoints/multi/multi_helloA_test.go index cc1c5cb61..680ef39ca 100644 --- a/test/endpoints/multi/multi_helloA_test.go +++ b/test/endpoints/multi/multi_helloA_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/multi/multi_helloB_test.go b/test/endpoints/multi/multi_helloB_test.go index b3f1fed04..92318f028 100644 --- a/test/endpoints/multi/multi_helloB_test.go +++ b/test/endpoints/multi/multi_helloB_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/tchannel/baz/baz_metrics_test.go b/test/endpoints/tchannel/baz/baz_metrics_test.go index ed916e9bf..42db1d63b 100644 --- a/test/endpoints/tchannel/baz/baz_metrics_test.go +++ b/test/endpoints/tchannel/baz/baz_metrics_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/endpoints/tchannel/baz/baz_simpleservice_method_call_test.go b/test/endpoints/tchannel/baz/baz_simpleservice_method_call_test.go index 276a25b91..8527be104 100644 --- a/test/endpoints/tchannel/baz/baz_simpleservice_method_call_test.go +++ b/test/endpoints/tchannel/baz/baz_simpleservice_method_call_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/health_test.go b/test/health_test.go index 971d01015..2a5feff34 100644 --- a/test/health_test.go +++ b/test/health_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/jaeger_test.go b/test/jaeger_test.go index 9ba1ba64a..313057c6a 100644 --- a/test/jaeger_test.go +++ b/test/jaeger_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/bench_gateway/bench_gateway.go b/test/lib/bench_gateway/bench_gateway.go index fe8f7ae7a..34972e8e0 100644 --- a/test/lib/bench_gateway/bench_gateway.go +++ b/test/lib/bench_gateway/bench_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/sort_metrics.go b/test/lib/sort_metrics.go index ad8e84777..e1bd1825a 100644 --- a/test/lib/sort_metrics.go +++ b/test/lib/sort_metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/test_backend/test_http_backend.go b/test/lib/test_backend/test_http_backend.go index 9486f8b2b..53f891e6f 100644 --- a/test/lib/test_backend/test_http_backend.go +++ b/test/lib/test_backend/test_http_backend.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/test_backend/test_tchannel_backend.go b/test/lib/test_backend/test_tchannel_backend.go index 4cf12b6f5..7527473c3 100644 --- a/test/lib/test_backend/test_tchannel_backend.go +++ b/test/lib/test_backend/test_tchannel_backend.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/test_gateway/test_gateway.go b/test/lib/test_gateway/test_gateway.go index 0b733466f..3b8322b0e 100644 --- a/test/lib/test_gateway/test_gateway.go +++ b/test/lib/test_gateway/test_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/test_gateway/test_gateway_cover.go b/test/lib/test_gateway/test_gateway_cover.go index e738be6ac..b2ff2a41f 100644 --- a/test/lib/test_gateway/test_gateway_cover.go +++ b/test/lib/test_gateway/test_gateway_cover.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/test_gateway/test_gateway_process.go b/test/lib/test_gateway/test_gateway_process.go index 422ddb6e3..030dbe28b 100644 --- a/test/lib/test_gateway/test_gateway_process.go +++ b/test/lib/test_gateway/test_gateway_process.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/test_m3_server/test_m3_server.go b/test/lib/test_m3_server/test_m3_server.go index 1fde0fe94..939a47ffb 100644 --- a/test/lib/test_m3_server/test_m3_server.go +++ b/test/lib/test_m3_server/test_m3_server.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/util/util.go b/test/lib/util/util.go index ba53605da..8041f902b 100644 --- a/test/lib/util/util.go +++ b/test/lib/util/util.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/lib/wait_at_least.go b/test/lib/wait_at_least.go index 6a20e31bb..a91f6bf25 100644 --- a/test/lib/wait_at_least.go +++ b/test/lib/wait_at_least.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/test/test_circuit_breaker/circuitbreaker_test.go b/test/test_circuit_breaker/circuitbreaker_test.go index 595a7054d..3c3826133 100644 --- a/test/test_circuit_breaker/circuitbreaker_test.go +++ b/test/test_circuit_breaker/circuitbreaker_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Uber Technologies, Inc. +// Copyright (c) 2024 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal