on 11-17-2017 6:41 AM
Hello Experts,
We have deployed some applications created in HANA XS on SCP. There is no on-premise gateway system in the landscape. Is it possible to push notifications from these cloud applications to the Fiori Notification service?
The blogs/examples that I have seen so far talk about pushing notifications from an on-premise gateway system.
Any suggestions, please!!!
Ajith,
We've had similar questions about how to make use of the notification center without having a backing on-premise system. Right now, the most promising (if still theoretical) solution we've found is to try and mimic the OData/WebSocket services that would normally be provided by the on-premise gateway.
Taking inspiration from this blog post Enabling Fiori 2.0 Notification Center in the Cloud using Fiori Launchpad, we realized that it might be possible to have our own OData V4 and WebSocket services accessible at a destination named notifications. We figure if all endpoints remain consistent with those that would be defined on-premise it should work. For example, we know we'll need to have a GET endpoint with the following path to access the badge count:
Request:
GET /sap/opu/odata4/iwngw/notification/default/iwngw/notification_srv/0001/GetBadgeNumber()
Response:
{"@odata.context":"$metadata#Edm.Int32","value":18}
Result in the notification center:
We're still working on the implementation right now, with our primary focus on getting the OData read services up and running. Once we've confirmed that that works though, it'll just be a matter fleshing out the services to any other endpoints the notification center tries to access.
I'd also love to learn about other approaches if you've had any other suggestions.
Thanks,
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey alfidio.valera we did get a version of this working in the Neo environment but we have since migrated over to Cloud Foundry where we no longer had the same requirements.
I will say that the approach of replicating the endpoints did work at that point in time in November 2017 but I cannot say if it still works given how the platform may have changed in the ensuing years.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.