[67510558] include pluginData as one of the parameter while registration. This will be used for plugin version tracker
diff --git a/glide.yaml b/glide.yaml
index 1d443f6..4339125 100644
--- a/glide.yaml
+++ b/glide.yaml
@@ -16,7 +16,7 @@
import:
- package: github.com/apid/apid-core
- version: Release_170815-EdgeX-EAP
+ version: rj_67510558
testImport:
- package: github.com/onsi/ginkgo/ginkgo
- package: github.com/onsi/gomega
diff --git a/init.go b/init.go
index f9f219a..20d6478 100644
--- a/init.go
+++ b/init.go
@@ -73,7 +73,7 @@
// apid.RegisterPlugin() is required to be called in init()
func init() {
- apid.RegisterPlugin(initPlugin)
+ apid.RegisterPlugin(initPlugin, pluginData)
}
func getDB() apid.DB {
diff --git a/pluginData.go b/pluginData.go
index 205b36e..e628515 100644
--- a/pluginData.go
+++ b/pluginData.go
@@ -18,8 +18,8 @@
var pluginData = apid.PluginData{
Name: "apidAnalytics",
- Version: "0.0.1",
+ Version: "0.0.2",
ExtraData: map[string]interface{}{
- "schemaVersion": "0.0.1",
+ "schemaVersion": "0.0.2",
},
}