VOL-1558 Implementation of openolt adapter with dep for dependency management
Also updated the build system to take this into account.
Currently dep ensure fails due to missing libraries in voltha-go, but the vendor folder has been updated otherwise.
This can be worked around in development using the LOCAL_VOLTHAGO variable described in the readme
This does not build currrently, but that is due to missing code in voltha-go master.
This pattern is consistent with how voltha-go does things, but does not leave you dependent on it to build.
See the readme for how to use dep.
The resourcemanager file is no longer hidden.
Change-Id: I25b8472dbc517b193970597c9f43ddff18c2d89f
diff --git a/Gopkg.toml b/Gopkg.toml
new file mode 100644
index 0000000..413989e
--- /dev/null
+++ b/Gopkg.toml
@@ -0,0 +1,54 @@
+# Gopkg.toml example
+#
+# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
+# for detailed Gopkg.toml documentation.
+#
+# required = ["github.com/user/thing/cmd/thing"]
+# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
+#
+# [[constraint]]
+# name = "github.com/user/project"
+# version = "1.0.0"
+#
+# [[constraint]]
+# name = "github.com/user/project2"
+# branch = "dev"
+# source = "github.com/myfork/project2"
+#
+# [[override]]
+# name = "github.com/x/y"
+# version = "2.4.0"
+#
+# [prune]
+# non-go = false
+# go-tests = true
+# unused-packages = true
+
+
+[[constraint]]
+ name = "github.com/gogo/protobuf"
+ version = "1.2.1"
+
+[[constraint]]
+ name = "github.com/golang/protobuf"
+ version = "1.3.1"
+
+[[constraint]]
+ branch = "master"
+ name = "github.com/opencord/voltha-go"
+
+[[constraint]]
+ branch = "master"
+ name = "github.com/opencord/voltha-protos"
+
+[[constraint]]
+ name = "google.golang.org/grpc"
+ version = "1.19.1"
+
+[[override]]
+ branch = "master"
+ name = "go.etcd.io/etcd"
+
+[prune]
+ go-tests = true
+ unused-packages = true