Huawei Push Kit authorizator in time
To send push messages via huawei push kit access token must be taken not often (about 1000 via 5 minuts). To get access token for request before each operation huawei service delay about 3-5 seconds and not acceptable in some use cases for example send notification for media call.
This microservice can reduce delay for send push notification by get access token in background and always returns valid access token for clients without delay.
For use in docker application use public image oh docker hub: https://hub.docker.com/r/ekudinov/huawei-push-authorizator
curl -H ‘X-API-TOKEN:123456’ localhost:8077/auth