Monasca REST API
Go to file
Derrick Johnson 42a8f62fbb removed temp files 2014-04-18 00:06:28 -04:00
etc/security Added key and trust stores 2014-02-19 17:48:28 -08:00
src removed temp files 2014-04-18 00:06:28 -04:00
.gitignore updated pom with Debian code to produce .deb file 2014-03-07 10:56:12 -05:00
README.md readme improvements re: layering 2014-03-28 21:28:48 -07:00
pom.xml Updated metric and measurement queries to support new normalized db schema 2014-04-10 15:11:34 -07:00

README.md

Overview

mon-api is a RESTful API server that is designed with a layered architecture layered architecture.

Usage

mvn package
java -jar target/mon-api.jar server config-file.yml

Design Overview

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.
  • Application
    • Responsible for providing application level implementations for specific use cases.
  • Domain
    • Contains the technology agnostic core domain model and domain service definitions.
    • Responsible for upholding invariants and defining state transitions.
  • Infrastructure
    • Contains technology specific implementations of domain services.