Skip to content

implementation of distributed scenario to real time fraud detection on payment transactions

Notifications You must be signed in to change notification settings

mjamilfarooq/ap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1- class FraudDetectionApplicationTests contains Integration Tests against which the code is tested. It publishes transactions on transactions.queue and listens to fraud.notification topic for any fraud published by the service.

2- Application is divided into three main parts.

2-1 ITransactionListener listens for transaction and implemented using Jms/ActiveMq and listens at
    transaction.queue. which then maintains ITransactionDataStore. which is implemented as in memory datastore and
    mark transaction with configurable TTL (time to live).

2-2 InMemoryTransactionDataStore also publishes entire transactions against card-number to fraud-detection.queue on
    arrival of new transactions. and purge expired transactions.

2-3 FraudDetectionService implements the summation logic and also expect configurable fraud threshold amount. After
    finding transactions to exceed threshold it also publishes the information on fraud.notification topic.

3- Unit test cases is implemented to verify DataStore implementation and expiration logic, and parsing of transactions.

About

implementation of distributed scenario to real time fraud detection on payment transactions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages