Table of Contents

Search

  1. Preface
  2. Introduction to Banking Use Case
  3. Before You Begin
  4. Alerting Customer Account Balance Details
  5. Notifying Stock Price Changes
  6. Notifying Credit Card Transactions
  7. Notifying Free Health Checkups for Account Holders
  8. Alerting the Bank Manager about Customers with a Particular Account Type in a City Overview
  9. Alerting Customer Cash Withdrawal Details
  10. Alerting Stock Prices to DMAT Account Holders
  11. Checking Customer Cash Withdrawal Details for a Specified Duration
  12. Alerting Consequent Credit Card Transaction Rejections
  13. Monitoring Balance Threshold of Customers
  14. Using the Dashboard Functions
  15. Managing Banking Users and Roles
  16. Importing and Exporting Objects
  17. Setting Up High Availability
  18. Using Custom Services
  19. Using the REST APIs
  20. Using Java Adapter for REST API

Banking Use Case Tutorial

Banking Use Case Tutorial

Step 4. Create an SQL Source

Step 4. Create an SQL Source

Create an SQL source to fetch customer account details and publish events on the configured topic customer_accounts.
  1. On the
    Design
    tab, select
    Sources
    .
  2. In the right pane, click
    Actions
    New
    .
  3. Under
    Details
    , configure the following properties:
    Field
    Value
    Driver Class
    Customer Accounts Source
    Description
    Retrieves customer account details
    Type
    SQL Source
    Password
    rulepoint
    Connection
    SQL Connection
  4. Under
    Topic Information
    , select the topic name, customer_accounts, and click
    OK
    .
  5. Under
    Configuration
    , type the following information:
    select * from customer_info c,account_info a where c.cust_id=a.cust_id
    The following figure shows the configurations for an SQL source:
    The 
				  Sources view in the 
				  Design tab shows the configurations for the fields under sections 
				  New Source, 
				  Topic Information, and 
				  Configuration.
    Test source is available only for an SQL source that runs the SQL query on the database that you specify in the connection. The result of the query is fetched as the topic properties and the
    Edit Topic
    window appears. For more information, see the
    RulePoint User Guide
    .
  6. Click
    Save
    .

0 COMMENTS

We’d like to hear from you!