Name: orders-aws
Owner: Microservices Demo
Description: Orders service adapted for AWS DynamoDB
Created: 2017-02-14 15:51:09.0
Updated: 2017-02-14 15:53:27.0
Pushed: 2017-03-07 16:02:40.0
Homepage: null
Size: 45
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A microservices-demo service that provides ordering capabilities.
The code is in Scala and uses Spring, Jersey and the Java DynamoDB client.
Compared to the original orders
service, this service cuts down heavily on dependency injection 'magic'. It does still use spring autowiring, but no autoconfiguration, no integration with other frameworks.
It also pushes the use of reflection out of the core of the application. Reflection is still used in the presentation layer, but poses no maintenance risk on the rest of the application any more, because it is used in isolation.
Simplifications:
List
sGROUP=weaveworksdemos COMMIT=latest ./scripts/build.sh
./test/test.sh unit.py
./test/test.sh component.py
GROUP=weaveworksdemos COMMIT=latest ./test/test.sh container.py --tag latest
microservices-demo
GROUP=weaveworksdemos COMMIT=latest ./scripts/build.sh && (cd ../microservices-demo/deploy/docker-compose && docker-compose up -d && docker-compose logs -f)