Skip to content

Customer Aggregate with Account Aggregate moved to account microservice

Notifications You must be signed in to change notification settings

ddd-workshop-org/ddd-customer-only-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#run main class using following command on terminal gradle run

Request

{ "addressRequest": { "city": "pune" } }

curl --location --request POST 'http://localhost:8080/customers'
--header 'Content-Type: application/json'
--data-raw '{
"addressRequest" :{ "city": "pune" }

}'

curl --location --request PUT 'http://localhost:8080/customers/53b0c526-4318-44b5-8b38-b1dc0d9d1814/address'
--header 'Content-Type: application/json'
--data-raw '{ "city": "mumbai" }'

// events.add(new CustomerAddressUpdatedEvent(customerId.getCustomerId(), new com.ddd_bootcamp.domain.events.AddressData(address.getCity())));

About

Customer Aggregate with Account Aggregate moved to account microservice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages