We are implementing mobile application that is connected to Cumulocity platform via REST API.
We would like to notify our users immediately after some type of alarms are created on Cumulocity (i.e. geofence exit ) using Firebase Cloud messaging service provided by Google.
In order to do that, we need to send HTTP Post request from Cumulocity to the following url : https://fcm.googleapis.com/fcm/send when the alarm is created.
Do you have proposal how that could be implemented inside Cumulocity?
Is there any way to develop this feature without Apama Streaming Analytics, perhaps by invoking microservice which will send HTTP Post request towards Firebase Cloud Messaging upon alarm creation?
We have access to Apama Starter only, and I am not sure that our tenant has the EPL Apps page available in the Apama Analytics Builder in order to utilize HTTP transport as proposed.
What modules(services) should we have enabled on our account (tenant) in order to implement this feature with Apama Streaming Analytics using HTTP transport?
you can also write your own microservice for this if you are able to upload microservices to your tenant.
You could have a look at this nodejs microservice sample from here: Examples - Cumulocity IoT Guides
This microservice is posting messages on slack for every realtime update of active alarms.
Is there a possibility to perform real-time actions using the Java SDK when an alarm is created?
What would be the best approach for implementing this?