readme improvements re: layering
This commit is contained in:
parent
7a9a9fae26
commit
2eaad7a44b
|
@ -15,6 +15,8 @@ java -jar target/mon-api.jar server config-file.yml
|
|||
|
||||
### Architectural layers
|
||||
|
||||
Requests flow through the following architectural layers from top to bottom:
|
||||
|
||||
* Resource
|
||||
* Serves as the entrypoint into the service.
|
||||
* Responsible for handling web service requests, and performing structural request validation.
|
||||
|
@ -22,6 +24,6 @@ java -jar target/mon-api.jar server config-file.yml
|
|||
* Responsible for providing application level implementations for specific use cases.
|
||||
* Domain
|
||||
* Contains the technology agnostic core domain model and domain service definitions.
|
||||
* Responsible for defining state transitions.
|
||||
* Responsible for upholding invariants and defining state transitions.
|
||||
* Infrastructure
|
||||
* Contains technology specific implementations of domain services.
|
Loading…
Reference in New Issue