VOL-2458 Timestamp format has changed from float32 to timestamp.Timestamp
Change-Id: I66e96a810d578ea2cf3bfa861fd43a02ea9cc5b8
diff --git a/VERSION b/VERSION
index 3a660ff..0e80d41 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.3.13
+2.3.14
diff --git a/pyvoltha/adapters/extensions/events/adapter_events.py b/pyvoltha/adapters/extensions/events/adapter_events.py
index 9b19c5c..bca847f 100644
--- a/pyvoltha/adapters/extensions/events/adapter_events.py
+++ b/pyvoltha/adapters/extensions/events/adapter_events.py
@@ -76,14 +76,14 @@
:return: (dict) Event header
"""
- return EventHeader(id=self.format_id(event),
+ hdr = EventHeader(id=self.format_id(event),
category=category,
sub_category=sub_category,
type=_type,
- type_version=self.type_version,
- raised_ts=raised_ts,
- reported_ts=arrow.utcnow().timestamp
- )
+ type_version=self.type_version)
+ hdr.raised_ts.FromSeconds(raised_ts),
+ hdr.reported_ts.GetCurrentTime()
+ return hdr
@inlineCallbacks
def send_event(self, event_header, event_body):
diff --git a/requirements.txt b/requirements.txt
index d471718..f7af3a3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -18,4 +18,4 @@
structlog==19.2.0
transitions==0.6.4
txaioetcd==0.3.0
-voltha-protos==3.0.0
+voltha-protos==3.2.3