go/svc: finish porting services to Bazel
The following services were never ported:
- cmc-proxy
- arista-proxy
- m6220-proxy
- topo
They now build.
Change-Id: I0688bfe43cdff946e6662e21969ef539382c0e86
diff --git a/WORKSPACE b/WORKSPACE
index 0b764bb..aee5f12 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -104,7 +104,6 @@
downloaded_file_path = "factorio.tar.xz",
)
-
# Go rules
http_archive(
@@ -219,3 +218,135 @@
commit = "72a7793efd38728796273861bb27d590cc33d9d4",
importpath = "github.com/sebastiaanklippert/go-wkhtmltopdf",
)
+
+go_repository(
+ name = "com_github_ziutek_telnet",
+ commit = "c3b780dc415b28894076b4ec975ea3ea69e3980f",
+ importpath = "github.com/ziutek/telnet",
+)
+
+go_repository(
+ name = "com_github_ybbus_jsonrpc",
+ commit = "94088458a1e880219bd312fc0ccb8548993ebf80",
+ importpath = "github.com/ybbus/jsonrpc",
+)
+
+go_repository(
+ name = "com_github_digitalocean_go_netbox",
+ commit = "29433ec527e78486ea0a5758817ab672d977f90e",
+ importpath = "github.com/digitalocean/go-netbox",
+)
+
+go_repository(
+ name = "com_github_cenkalti_backoff",
+ commit = "4b4cebaf850ec58f1bb1fec5bdebdf8501c2bc3f",
+ importpath = "github.com/cenkalti/backoff",
+)
+
+go_repository(
+ name = "ml_vbom_util",
+ commit = "efcd4e0f97874370259c7d93e12aad57911dea81",
+ importpath = "vbom.ml/util",
+)
+
+go_repository(
+ name = "com_github_go_openapi_strfmt",
+ commit = "6faa644e1cdafc07f7b38eb06c1af5f92128f289",
+ importpath = "github.com/go-openapi/strfmt",
+)
+
+go_repository(
+ name = "com_github_go_openapi_swag",
+ commit = "de649ffb9e02183a414820c5b1b4582f7b009792",
+ importpath = "github.com/go-openapi/swag",
+)
+
+go_repository(
+ name = "com_github_go_openapi_errors",
+ commit = "9b273e805998abc751853b4e1574d66e5df888b4",
+ importpath = "github.com/go-openapi/errors",
+)
+
+go_repository(
+ name = "com_github_go_openapi_runtime",
+ commit = "58872d9a7ca5f28beff9effa19ac4c17d3e42cd3",
+ importpath = "github.com/go-openapi/runtime",
+)
+
+go_repository(
+ name = "com_github_go_openapi_validate",
+ commit = "6405b9095e4c96aabb45856da08a9323d50d9336",
+ importpath = "github.com/go-openapi/validate",
+)
+
+go_repository(
+ name = "com_github_mitchellh_mapstructure",
+ commit = "3536a929edddb9a5b34bd6861dc4a9647cb459fe",
+ importpath = "github.com/mitchellh/mapstructure",
+)
+
+go_repository(
+ name = "org_mongodb_go_mongo_driver",
+ commit = "9ec4480161a76f5267d56fc836b7f6d357fd9209",
+ importpath = "go.mongodb.org/mongo-driver",
+)
+
+go_repository(
+ name = "in_gopkg_yaml_v2",
+ commit = "51d6538a90f86fe93ac480b35f37b2be17fef232",
+ importpath = "gopkg.in/yaml.v2",
+)
+
+go_repository(
+ name = "com_github_asaskevich_govalidator",
+ commit = "f61b66f89f4a311bef65f13e575bcf1a2ffadda6",
+ importpath = "github.com/asaskevich/govalidator",
+)
+
+go_repository(
+ name = "com_github_go_openapi_spec",
+ commit = "bdfd7e07daecc404d77868a88b2364d0aed0ee5a",
+ importpath = "github.com/go-openapi/spec",
+)
+
+go_repository(
+ name = "com_github_mailru_easyjson",
+ commit = "b2ccc519800e761ac8000b95e5d57c80a897ff9e",
+ importpath = "github.com/mailru/easyjson",
+)
+
+go_repository(
+ name = "com_github_go_openapi_analysis",
+ commit = "48f4521ad6c3df9d6192efb04287c4a411e1f806",
+ importpath = "github.com/go-openapi/analysis",
+)
+
+go_repository(
+ name = "com_github_go_openapi_jsonpointer",
+ commit = "a105a905c5e6ad147f08504784917f3e178e0ba5",
+ importpath = "github.com/go-openapi/jsonpointer",
+)
+
+go_repository(
+ name = "com_github_go_openapi_loads",
+ commit = "8548893a17237be4a5b2f74773f23002f4179bbe",
+ importpath = "github.com/go-openapi/loads",
+)
+
+go_repository(
+ name = "com_github_go_openapi_jsonreference",
+ commit = "2903bfd4bfbaf188694f1edf731f2725a8fa344f",
+ importpath = "github.com/go-openapi/jsonreference",
+)
+
+go_repository(
+ name = "com_github_puerkitobio_purell",
+ commit = "44968752391892e1b0d0b821ee79e9a85fa13049",
+ importpath = "github.com/PuerkitoBio/purell",
+)
+
+go_repository(
+ name = "com_github_puerkitobio_urlesc",
+ commit = "de5bf2ad457846296e2031421a34e2568e304e35",
+ importpath = "github.com/PuerkitoBio/urlesc",
+)