3. Usecase: Banking sample
● Demonstrates account opening process in a retail bank .
○ Available online at https://docs.wso2.
com/display/DVS370/Retail+Banking+Sample
○ Integrates several existing/legacy systems to orchestrate
new business capability.
○ Long running process
4. Usecase: Banking sample
● Account opening procedure:
○ Check weather customer exists ( in customer database)
○ if customer doesn’t exist, create a record in database
○ Create the account ( Accounts are maintained in mainframe
system)
○ Link the debit card to account.
○ Issue debit card ( - done by a separate system. Accessed
via a web service)
6. Use Case: Extensions to banking
sample
● Account opening procedure:
○ Check weather customer exists ( in customer database)
○ if customer doesn’t exist, create a record in database
○ Validate Customer’s request (based on set of business rules)
○ Send for Bank manager’s approval if required.
○ Create the account ( Accounts are maintained in mainframe system)
○ Link the debit card to account.
○ Issue debit card ( - done by a separate system. Accessed via a web
service)
7. Use Case: Extensions to banking
sample
● Cross cutting concerns:
○ Account opening service needs to be secured and access controlled.
○ Need to understand usage patterns of the service by collecting
statistics at differents stages. E.g:
■ Number account opening requests.
■ Number of requests required manager approval
12. Business Rules
• Account creation requires approval under following
conditions
If customer is underage or Initial deposit is below required minimum
https://brs.sample.org:9450/carbon
13. Data Services
• Expose customer database as service
• Used to check the existence of the customer
https://dss.sample.org:9449/
15. Analytics
• BAM: Number of Account Opening requests per
account type.
• CEP: Detect suspicious activities, trigger
alarms/emails:
Total account deposits > 1 000 000 for a
particular customer within 1 minute
https://bps.sample.org:9445/
https://cep.sample.org:9453