microservices-demo/orders-aws

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

orders-aws

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:

Build

GROUP=weaveworksdemos COMMIT=latest ./scripts/build.sh

Test

./test/test.sh unit.py
./test/test.sh component.py
GROUP=weaveworksdemos COMMIT=latest ./test/test.sh container.py --tag latest

Manual test in microservices-demo

GROUP=weaveworksdemos COMMIT=latest ./scripts/build.sh && (cd ../microservices-demo/deploy/docker-compose && docker-compose up -d && docker-compose logs -f)

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.