summaryrefslogtreecommitdiffstats
path: root/hv-collector-test-utils/src
diff options
context:
space:
mode:
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-05 10:19:57 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-05 10:19:57 +0200
commit344bc193fece33112fc9a323bb4e3e93684bcab4 (patch)
tree419acecc886df9424910c1b122a40bd50335149c /hv-collector-test-utils/src
parentffe57b5673af80942925eed5b8e793ce2cf750b1 (diff)
Remove any inconsistencies with specification3.0.0-ONAP1.0.0
* Fix payloadId field issue (was 1 byte, should use 2 byts) * Copy final version of protobuf and asn definitions (mostly comments) * Added links to yet-to-be updated RTD documentation Change-Id: I69bda676423ad601797d95577ff8af6707cacb0c Issue-ID: DCAEGEN2-857 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'hv-collector-test-utils/src')
-rw-r--r--hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/messages.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/messages.kt b/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/messages.kt
index 3bf615af..db7777c2 100644
--- a/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/messages.kt
+++ b/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/messages.kt
@@ -38,7 +38,7 @@ private fun ByteBuf.writeValidWireFrameHeaders() {
writeByte(0x01) // major version
writeByte(0x00) // minor version
writeZero(RESERVED_BYTE_COUNT) // reserved
- writeByte(0x01) // content type = GPB
+ writeShort(0x0001) // content type = GPB
}
fun vesWireFrameMessage(domain: VesEventDomain = OTHER,