load( "//bazel:envoy_build_system.bzl", "envoy_cc_mock", "envoy_cc_test", "envoy_package", ) licenses(["notice"]) # Apache 2 envoy_package() envoy_cc_mock( name = "aws_mocks", srcs = ["mocks.cc"], hdrs = ["mocks.h"], deps = [ "//source/extensions/common/aws:credentials_provider_interface", "//source/extensions/common/aws:signer_interface", ], ) envoy_cc_test( name = "signer_impl_test", srcs = ["signer_impl_test.cc"], deps = [ "//source/common/buffer:buffer_lib", "//source/common/http:message_lib", "//source/extensions/common/aws:signer_impl_lib", "//test/extensions/common/aws:aws_mocks", "//test/test_common:simulated_time_system_lib", "//test/test_common:utility_lib", ], ) envoy_cc_test( name = "utility_test", srcs = ["utility_test.cc"], deps = [ "//source/extensions/common/aws:utility_lib", "//test/test_common:utility_lib", ], ) envoy_cc_test( name = "region_provider_impl_test", srcs = ["region_provider_impl_test.cc"], deps = [ "//source/extensions/common/aws:region_provider_impl_lib", "//test/test_common:environment_lib", ], ) envoy_cc_test( name = "credentials_provider_impl_test", srcs = ["credentials_provider_impl_test.cc"], deps = [ "//source/extensions/common/aws:credentials_provider_impl_lib", "//test/extensions/common/aws:aws_mocks", "//test/mocks/api:api_mocks", "//test/mocks/event:event_mocks", "//test/test_common:environment_lib", "//test/test_common:simulated_time_system_lib", ], ) envoy_cc_test( name = "credentials_provider_test", srcs = ["credentials_provider_test.cc"], deps = [ "//source/extensions/common/aws:credentials_provider_interface", ], ) envoy_cc_test( name = "aws_metadata_fetcher_integration_test", srcs = [ "aws_metadata_fetcher_integration_test.cc", ], deps = [ "//source/common/common:fmt_lib", "//source/extensions/common/aws:utility_lib", "//source/extensions/filters/http/fault:config", "//source/extensions/filters/http/fault:fault_filter_lib", "//source/extensions/filters/http/router:config", "//source/extensions/filters/network/echo:config", "//source/extensions/filters/network/http_connection_manager:config", "//test/integration:integration_lib", "//test/server:utility_lib", "//test/test_common:utility_lib", ], )