123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- package(default_visibility = ["//visibility:public"])
- load(
- "@io_bazel_rules_go//go:def.bzl",
- "go_test",
- "go_library",
- )
- go_test(
- name = "go_default_test",
- srcs = [
- "app_test.go",
- "canal_test.go",
- "dapper_test.go",
- "databus_test.go",
- "members_test.go",
- "monitor_test.go",
- "need_test.go",
- "pprof_test.go",
- "prometheus_test.go",
- "service_test.go",
- "tree_test.go",
- "upload_test.go",
- "user_test.go",
- "ut_dash_test.go",
- "ut_rank_test.go",
- "ut_report_test.go",
- "ut_test.go",
- ],
- embed = [":go_default_library"],
- rundir = ".",
- tags = ["automanaged"],
- deps = [
- "//app/admin/main/apm/conf:go_default_library",
- "//app/admin/main/apm/dao:go_default_library",
- "//app/admin/main/apm/dao/mock:go_default_library",
- "//app/admin/main/apm/model/canal:go_default_library",
- "//app/admin/main/apm/model/monitor:go_default_library",
- "//app/admin/main/apm/model/need:go_default_library",
- "//app/admin/main/apm/model/pprof:go_default_library",
- "//app/admin/main/apm/model/ut:go_default_library",
- "//library/log:go_default_library",
- "//vendor/github.com/BurntSushi/toml:go_default_library",
- "//vendor/github.com/bouk/monkey:go_default_library",
- "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
- ],
- )
- go_library(
- name = "go_default_library",
- srcs = [
- "alarm.go",
- "app.go",
- "canal.go",
- "dapper.go",
- "databus.go",
- "discovery.go",
- "ecode.go",
- "log.go",
- "members.go",
- "monitor.go",
- "need.go",
- "open.go",
- "platform.go",
- "pprof.go",
- "prometheus.go",
- "qywechat.go",
- "service.go",
- "task.go",
- "tree.go",
- "upload.go",
- "user.go",
- "ut.go",
- "ut_app.go",
- "ut_dash.go",
- "ut_rank.go",
- "ut_report.go",
- ],
- importpath = "go-common/app/admin/main/apm/service",
- tags = ["automanaged"],
- deps = [
- "//app/admin/main/apm/conf:go_default_library",
- "//app/admin/main/apm/dao:go_default_library",
- "//app/admin/main/apm/model/app:go_default_library",
- "//app/admin/main/apm/model/canal:go_default_library",
- "//app/admin/main/apm/model/databus:go_default_library",
- "//app/admin/main/apm/model/discovery:go_default_library",
- "//app/admin/main/apm/model/ecode:go_default_library",
- "//app/admin/main/apm/model/log:go_default_library",
- "//app/admin/main/apm/model/monitor:go_default_library",
- "//app/admin/main/apm/model/need:go_default_library",
- "//app/admin/main/apm/model/pprof:go_default_library",
- "//app/admin/main/apm/model/tree:go_default_library",
- "//app/admin/main/apm/model/user:go_default_library",
- "//app/admin/main/apm/model/ut:go_default_library",
- "//app/admin/main/config/model:go_default_library",
- "//app/tool/saga/service/gitlab:go_default_library",
- "//library/conf/env:go_default_library",
- "//library/ecode:go_default_library",
- "//library/log:go_default_library",
- "//library/naming:go_default_library",
- "//library/net/http/blademaster:go_default_library",
- "//library/queue/databus/report:go_default_library",
- "//library/sync/errgroup.v2:go_default_library",
- "//library/time:go_default_library",
- "//vendor/github.com/BurntSushi/toml:go_default_library",
- "//vendor/github.com/Shopify/sarama:go_default_library",
- "//vendor/github.com/bsm/sarama-cluster:go_default_library",
- "//vendor/github.com/jinzhu/gorm:go_default_library",
- "//vendor/github.com/pkg/errors:go_default_library",
- "//vendor/github.com/robfig/cron:go_default_library",
- "//vendor/github.com/smartystreets/goconvey/web/server/contract:go_default_library",
- "//vendor/github.com/smartystreets/goconvey/web/server/parser:go_default_library",
- "@com_github_gogo_protobuf//sortkeys:go_default_library",
- ],
- )
- filegroup(
- name = "package-srcs",
- srcs = glob(["**"]),
- tags = ["automanaged"],
- visibility = ["//visibility:private"],
- )
- filegroup(
- name = "all-srcs",
- srcs = [":package-srcs"],
- tags = ["automanaged"],
- visibility = ["//visibility:public"],
- )
|