Skip to content

chrissekaran/bcly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

####Simple application with Spring boot using a configurable embedded/external DB datasource and RESTful calls that demonstrate how Guava Eventbus can be used to intercept invocations.

Here

  1. A POST call to localhost:8080/customer/

with json data like {"id":"501","owningCustomer":{"id":"1001","name":"John Lennon"}}

will result in a adding a bank account to a customer.

  1. A GET call to localhost:8080/customer/1001

will result in getting customer of id=101 and will result in producing { "id": "1001", "name": "George Harrison1-JPA", "bankAccounts": "[501, ]" }

A log message is printed out when a new account is added using the POST request and that event is logged using the EventBus api.

About

Simple spring, Eventbus, REST working example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages