load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "chirp", srcs = ["main.go"], importpath = "edge-infra.dev/pkg/edge/datasync/chirp", visibility = ["//visibility:public"], deps = [ "//pkg/edge/datasync/chirp/provider", "//pkg/edge/datasync/chirp/sender", "//pkg/edge/datasync/chirp/server/grpc", "//pkg/edge/datasync/chirp/server/http", "//pkg/edge/datasync/chirp/worker", "//pkg/edge/datasync/http", "//pkg/edge/datasync/internal/config", "//pkg/edge/datasync/internal/metric", "//pkg/lib/fog", "@com_github_joho_godotenv//:godotenv", ], ) go_test( name = "chirp_test", srcs = ["chirp_test.go"], embed = [":chirp"], deps = [ "//pkg/edge/datasync/kafkaclient", "@com_github_google_uuid//:uuid", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", ], )