-
Notifications
You must be signed in to change notification settings - Fork 9
/
BUILD.bazel
58 lines (55 loc) · 2.27 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 2020-2021 Grabtaxi Holdings PTE LTE (GRAB), All rights reserved.
#
# Use of this source code is governed by the Apache License 2.0 that can be
# found in the LICENSE file
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"config.go",
"factory.go",
"filter.go",
],
importpath = "github.com/grab/ego/egofilters/http/security",
visibility = ["//visibility:public"],
deps = [
"//ego/src/go:go_default_library",
"//ego/src/go/envoy:go_default_library",
"//ego/src/go/envoy/datastatus:go_default_library",
"//ego/src/go/envoy/headersstatus:go_default_library",
"//ego/src/go/envoy/lifespan:go_default_library",
"//ego/src/go/envoy/statetype:go_default_library",
"//ego/src/go/envoy/trailersstatus:go_default_library",
"//ego/src/go/logger:go_default_library",
"//egofilters/http/security/context:go_default_library",
"//egofilters/http/security/proto:go_default_library",
"//egofilters/http/security/verifier:go_default_library",
"@com_github_golang_protobuf//proto:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = [
"config_test.go",
"factory_test.go",
"filter_sign_test.go",
"filter_verify_test.go",
],
embed = [":go_default_library"],
deps = [
"//ego/src/go/envoy/datastatus:go_default_library",
"//ego/src/go/envoy/headersstatus:go_default_library",
"//ego/src/go/envoy/trailersstatus:go_default_library",
"//ego/src/go/volatile:go_default_library",
"//ego/test/go/mock:go_default_library",
"//ego/test/go/mock/gen/envoy:go_default_library",
"//egofilters/http/security/context:go_default_library",
"//egofilters/http/security/proto:go_default_library",
"//egofilters/http/security/verifier:go_default_library",
"//egofilters/mock/gen/http/security/verifier:go_default_library",
"@com_github_golang_protobuf//proto:go_default_library",
"@com_github_stretchr_testify//assert:go_default_library",
"@com_github_stretchr_testify//mock:go_default_library",
"@com_github_stretchr_testify//require:go_default_library",
],
)