Oracle CEP Samples 3-19
■
To test the missing event query: on page 3-41
To create the missing event query: 1.
If the CQL Oracle CEP instance is not already running, follow the procedure in Section 3.7.1, Running the CQL Example
to start the server. You must have a running server to use the Oracle CEP Visualizer.
2.
Invoke the following URL in your browser: http:host:portwlevs
where host refers to the name of the computer on which Oracle CEP is running and port refers to the Jetty NetIO port configured for the server default value 9002.
The Logon screen appears as Figure 3–3
shows.
Figure 3–3 Oracle CEP Visualizer Logon Screen
3. In the Logon screen, enter the User Id wlevs and Password wlevs, and click Log
In .
The Oracle CEP Visualizer dashboard appears as Figure 3–29
shows.
3-20 Oracle Complex Event Processing Getting Started
Figure 3–4 Oracle CEP Visualizer Dashboard
For more information about the Oracle CEP Visualizer user interface, see Understanding the Oracle CEP Visualizer User Interface in the Oracle Complex
Event Processing Visualizer Users Guide.
4. In the right-hand pane, expand WLEventServerDomain NonClusteredServer
Applications .
5. Select the cql node.
The CQL application screen appears as Figure 3–30
shows.
Oracle CEP Samples 3-21
Figure 3–5 CQL Application Screen: General Tab
6. Select the Event Processing Network tab.
The Event Processing Network screen appears as Figure 3–31
shows.
3-22 Oracle Complex Event Processing Getting Started
Figure 3–6 CQL Application: Event Processing Network Tab
7. Double-click the orderProcessor Oracle CQL processor icon.
The Oracle CQL processor screen appears as Figure 3–32
shows.
Oracle CEP Samples 3-23
Figure 3–7 Oracle CQL Processor: General Tab
8. Select the Query Wizard tab.
The Query Wizard screen appears as Figure 3–33
shows.
3-24 Oracle Complex Event Processing Getting Started
Figure 3–8 Oracle CQL Processor: Query Wizard Tab
You can use the Oracle CQL Query Wizard to construct an Oracle CQL query from a template or from individual Oracle CQL constructs.
In this procedure, you are going to create an Oracle CQL query from a template. For more information, see Creating a Rule in an Oracle CQL Processor Using the
Query Wizard in the Oracle Complex Event Processing Visualizer Users Guide.
9.
Click the Templates tab. The Templates tab appears as
Figure 3–9 shows.
Oracle CEP Samples 3-25
Figure 3–9 Template Tab
10. Click and drag the Pattern Match Template from the Templates palette and drop it