forked from snowflakedb/snowflake-ingest-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
131 lines (129 loc) · 7.09 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
load("deps.bzl", "make_all_unit_tests")
java_library(
name = "observe_snowflake_ingest_sdk",
srcs = glob(["src/main/java/**/*.java"]),
resources = glob(["src/main/resources/**"]),
visibility = ["//visibility:public"],
deps = [
"@snowpipe_maven//:com_fasterxml_jackson_core_jackson_annotations",
"@snowpipe_maven//:com_fasterxml_jackson_core_jackson_core",
"@snowpipe_maven//:com_fasterxml_jackson_core_jackson_databind",
"@snowpipe_maven//:com_fasterxml_woodstox_woodstox_core",
"@snowpipe_maven//:com_github_ben_manes_caffeine_caffeine",
"@snowpipe_maven//:com_github_stephenc_jcip_jcip_annotations",
"@snowpipe_maven//:com_google_code_findbugs_jsr305",
"@snowpipe_maven//:com_google_code_gson_gson",
"@snowpipe_maven//:com_google_errorprone_error_prone_annotations",
"@snowpipe_maven//:com_google_guava_failureaccess",
"@snowpipe_maven//:com_google_guava_guava",
"@snowpipe_maven//:com_google_guava_listenablefuture",
"@snowpipe_maven//:com_google_j2objc_j2objc_annotations",
"@snowpipe_maven//:com_google_protobuf_protobuf_java",
"@snowpipe_maven//:com_google_re2j_re2j",
"@snowpipe_maven//:com_nimbusds_nimbus_jose_jwt",
"@snowpipe_maven//:commons_beanutils_commons_beanutils",
"@snowpipe_maven//:commons_cli_commons_cli",
"@snowpipe_maven//:commons_codec_commons_codec",
"@snowpipe_maven//:commons_collections_commons_collections",
"@snowpipe_maven//:commons_io_commons_io",
"@snowpipe_maven//:commons_net_commons_net",
"@snowpipe_maven//:commons_pool_commons_pool",
"@snowpipe_maven//:io_airlift_aircompressor",
"@snowpipe_maven//:io_dropwizard_metrics_metrics_core",
"@snowpipe_maven//:io_dropwizard_metrics_metrics_jmx",
"@snowpipe_maven//:io_dropwizard_metrics_metrics_jvm",
"@snowpipe_maven//:io_netty_netty_common",
"@snowpipe_maven//:jakarta_activation_jakarta_activation_api",
"@snowpipe_maven//:net_bytebuddy_byte_buddy",
"@snowpipe_maven//:net_bytebuddy_byte_buddy_agent",
"@snowpipe_maven//:net_snowflake_snowflake_jdbc",
"@snowpipe_maven//:org_apache_avro_avro",
"@snowpipe_maven//:org_apache_commons_commons_compress",
"@snowpipe_maven//:org_apache_commons_commons_configuration2",
"@snowpipe_maven//:org_apache_commons_commons_lang3",
"@snowpipe_maven//:org_apache_commons_commons_math3",
"@snowpipe_maven//:org_apache_commons_commons_text",
"@snowpipe_maven//:org_apache_hadoop_hadoop_annotations",
"@snowpipe_maven//:org_apache_hadoop_hadoop_common",
"@snowpipe_maven//:org_apache_hadoop_hadoop_mapreduce_client_core",
"@snowpipe_maven//:org_apache_hadoop_thirdparty_hadoop_shaded_guava",
"@snowpipe_maven//:org_apache_hadoop_thirdparty_hadoop_shaded_protobuf_3_7",
"@snowpipe_maven//:org_apache_iceberg_iceberg_api",
"@snowpipe_maven//:org_apache_iceberg_iceberg_core",
"@snowpipe_maven//:org_apache_iceberg_iceberg_parquet",
"@snowpipe_maven//:org_apache_parquet_parquet_column",
"@snowpipe_maven//:org_apache_parquet_parquet_common",
"@snowpipe_maven//:org_apache_parquet_parquet_encoding",
"@snowpipe_maven//:org_apache_parquet_parquet_format_structures",
"@snowpipe_maven//:org_apache_parquet_parquet_hadoop",
"@snowpipe_maven//:org_apache_parquet_parquet_jackson",
"@snowpipe_maven//:org_apache_yetus_audience_annotations",
"@snowpipe_maven//:org_bouncycastle_bcpkix_jdk18on",
"@snowpipe_maven//:org_bouncycastle_bcprov_jdk18on",
"@snowpipe_maven//:org_bouncycastle_bcutil_jdk18on",
"@snowpipe_maven//:org_checkerframework_checker_qual",
"@snowpipe_maven//:org_codehaus_woodstox_stax2_api",
"@snowpipe_maven//:org_hamcrest_hamcrest_core",
"@snowpipe_maven//:org_javassist_javassist",
"@snowpipe_maven//:org_objenesis_objenesis",
"@snowpipe_maven//:org_slf4j_slf4j_api",
],
)
make_all_unit_tests(
srcs = glob(["src/test/java/**/*.java"]),
excludes = [
"AbstractDataTypeTest", # not an actual test - used as base class for integration tests
"UserAgentTest", # fails due to version string mismatch
],
resources = glob(["src/test/resources/**"]),
runtime_deps = [
"@snowpipe_maven//:net_snowflake_snowflake_jdbc",
],
deps = [
":observe_snowflake_ingest_sdk",
"@snowpipe_maven//:com_fasterxml_jackson_core_jackson_annotations",
"@snowpipe_maven//:com_fasterxml_jackson_core_jackson_core",
"@snowpipe_maven//:com_fasterxml_jackson_core_jackson_databind",
"@snowpipe_maven//:com_github_luben_zstd_jni",
"@snowpipe_maven//:commons_beanutils_commons_beanutils",
"@snowpipe_maven//:commons_cli_commons_cli",
"@snowpipe_maven//:commons_codec_commons_codec",
"@snowpipe_maven//:commons_collections_commons_collections",
"@snowpipe_maven//:commons_io_commons_io",
"@snowpipe_maven//:commons_net_commons_net",
"@snowpipe_maven//:commons_pool_commons_pool",
"@snowpipe_maven//:io_dropwizard_metrics_metrics_core",
"@snowpipe_maven//:io_dropwizard_metrics_metrics_jmx",
"@snowpipe_maven//:io_dropwizard_metrics_metrics_jvm",
"@snowpipe_maven//:junit_junit",
"@snowpipe_maven//:com_google_guava_guava",
"@snowpipe_maven//:net_snowflake_snowflake_jdbc",
"@snowpipe_maven//:org_apache_commons_commons_compress",
"@snowpipe_maven//:org_apache_commons_commons_configuration2",
"@snowpipe_maven//:org_apache_commons_commons_lang3",
"@snowpipe_maven//:org_apache_commons_commons_math3",
"@snowpipe_maven//:org_apache_commons_commons_text",
"@snowpipe_maven//:org_apache_iceberg_iceberg_api",
"@snowpipe_maven//:org_apache_parquet_parquet_column",
"@snowpipe_maven//:org_apache_parquet_parquet_common",
"@snowpipe_maven//:org_apache_parquet_parquet_encoding",
"@snowpipe_maven//:org_apache_parquet_parquet_format_structures",
"@snowpipe_maven//:org_apache_parquet_parquet_hadoop",
"@snowpipe_maven//:org_apache_parquet_parquet_jackson",
"@snowpipe_maven//:org_assertj_assertj_core",
"@snowpipe_maven//:org_bouncycastle_bcpkix_jdk18on",
"@snowpipe_maven//:org_bouncycastle_bcprov_jdk18on",
"@snowpipe_maven//:org_bouncycastle_bcutil_jdk18on",
"@snowpipe_maven//:org_hamcrest_hamcrest_core",
"@snowpipe_maven//:org_mockito_mockito_core",
"@snowpipe_maven//:org_openjdk_jmh_jmh_core",
"@snowpipe_maven//:org_powermock_powermock_api_mockito2",
"@snowpipe_maven//:org_powermock_powermock_api_support",
"@snowpipe_maven//:org_powermock_powermock_core",
"@snowpipe_maven//:org_powermock_powermock_module_junit4",
"@snowpipe_maven//:org_powermock_powermock_module_junit4_common",
"@snowpipe_maven//:org_powermock_powermock_reflect",
"@snowpipe_maven//:org_slf4j_slf4j_api",
"@snowpipe_maven//:org_slf4j_slf4j_simple",
],
)