Double-click the Output icon. Configure the Output as follows: Click Inject Rule. Click OK. Click Save. Click on the CQL Rules tab. Click on the View radio button. In the Logon screen, enter the User Id wlevs and Password wlevs, and click Log

3-58 Oracle Complex Event Processing Getting Started Figure 3–44 Query Wizard: Output

30. Click on the Select icon and drag to the Output icon to connect the Oracle CQL

constructs.

31. Double-click the Output icon.

The Output configuration screen appears as Figure 3–45 shows. Oracle CEP Samples 3-59 Figure 3–45 Output Configuration Dialog

32. Configure the Output as follows:

■ Select View. ■ Configure View Name as StockVolGt1000. ■ Delete the contents of the View Schema field. We will let the Oracle CEP server define the view schema for us.

33. Click Inject Rule.

The Inject Rule Confirmation dialog appears as Figure 3–46 shows. Figure 3–46 Inject Rule Confirmation Dialog

34. Click OK.

The Query Wizard adds the rule to the cqlProc processor.

35. Click Save.

36. Click on the CQL Rules tab.

The CQL Rules tab appears as Figure 3–47 shows. 3-60 Oracle Complex Event Processing Getting Started

37. Click on the View radio button.

Confirm that your StockVolGt1000 view is present. Figure 3–47 CQL Rules Tab With View StockVolGt1000 To create the moving average query using the view source: 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–48 shows. Oracle CEP Samples 3-61 Figure 3–48 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-62 Oracle Complex Event Processing Getting Started Figure 3–49 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