Closed schmidtw closed 5 years ago
There are a few pieces of metadata that we'd like to provide via the HTTP expression of the WRP message. It seems reasonable to translate the metadata something like this:
wrp.metadata.hw-model = Example
Into:
X-Xmidt-Metadata: hw-model=Example X-Xmidt-Metadata: hw-serial-number=SDFKDFH X-Xmidt-Metadata: tags/example_tag/exires=1234
It looks like this is the area to add this functionality to: https://github.com/xmidt-org/wrp-go/blob/master/wrp/wrphttp/headers.go#L215
There are a few pieces of metadata that we'd like to provide via the HTTP expression of the WRP message. It seems reasonable to translate the metadata something like this:
Into: