Primavera Gateway delivers an out-of-the-box sample event listener that you can use to demonstrate event-triggered synchronization jobs with the Sample provider. The event listener monitors the event of creating or updating project objects in the Sample provider. The event listener is an XML file, SampleEvents.xml, which contains events that should occur in the Sample provider (source application) to trigger a corresponding synchronization in the Gateway user interface.
Prerequisites
- For Gateway on-premises installations, configure Gateway Weblogic domain for event notifications.
- For Gateway cloud service, contact Oracle Support with a request to configure Gateway domain for event notifications.
Procedure
Add an application deployment connection and associate an event listener with the Sample provider:
- In the sidebar, select Configuration.
- Select the Deployments tab.
- Select Add....
- In the General step of the Deployment wizard:
- Select Application Provider: Select Sample from the drop-down.
- Deployment Name: Enter Sample with Listener.
- In the Deployment step, select Next.
- In the Event Listener step:
- In the EventFilePath field, enter the location of the SampleEvents.xml file, ..\<Gateway_HOME>\sample\SampleEvents.xml.
- Select Save.