Oaky has introduced Streaming API support for Opera Cloud OHIP integrations, moving away from the Polling API. This ensures near real-time updates for reservation events.
Note: All previously configured OHIP settings remain unchanged. This guide focuses only on enabling the Streaming API.
Polling API vs Streaming API
Feature | Polling API (Current) | Streaming API (New) |
Data Delivery | Oaky requests data from OHIP every 30 minutes | OHIP continuously sends data to Oaky as it becomes available |
Latency | Potential delay; not real-time | Near real-time updates |
Connection | Intermittent | Persistent open connection |
Prerequisites for Enabling Streaming API
Before enabling Streaming API for a hotel/chain:
OPERA environments must be added for event consumption (handled by Oaky during initial onboarding).
The OPERA environment must have streaming enabled.
Events template must be prepared by Oaky for the Reservation module.
Oaky submits a request to subscribe the chain to these events.
Chain admin must approve the request and select the hotels to consume events.
Approving Events in Developer Portal
Chain/Hotel admins with Developer Portal access can approve event consumption to protect their data.
Steps to Approve Event Subscriptions
Open the Developer Portal and click the Applications tab.
Search for and click an application to open it.
Click the Partner Applications tab. (Note: Applications with pending event subscriptions appear with a red ribbon icon on the application card.)
Click an application with a pending event to open it.
Click the Events tab.
Click Next to proceed with approval.
Select the properties for the event subscription and click Next.
Click Approve.
After approval, the event status changes to ‘In Progress’ and then to ‘Approved’. Partners (Oaky) can monitor this status in the Developer Portal.
Reference
For more details, see Oracle documentation: Streaming API - Working with Events in the Developer Portal.
