This is really more of an AirVantage specific question than a MangOH specific one but I figured some people here may have some ideas (and I was unable to find an AirVantage specific forum).
In essence, we receive message from AirVantage using the Google Cloud pubsub connector. The payload delivered by AirVantage only contains a “system ID” and no serial number. Our database stores device data by serial number instead of by AirVantage system ID, so we need a way to relate the two.
AirVantage has a REST API (and a Node client built around it) to support looking up serial numbers from system ID, but I’m concerned about how this is going to scale up. This would require either an extremely high amount of API requests, or some form of caching after initially retrieving the result. Additionally, we could face outages if the AirVantage REST API is down for whatever reason.
Is there anyway to configure AirVantage to put this in the payload, or am I stuck looking this up?
Any help is greatly appreciated.