Skip to content

Commit

Permalink
Merge pull request #21 from onema/feature-improvements
Browse files Browse the repository at this point in the history
Updated documentation
  • Loading branch information
onema authored Dec 21, 2018
2 parents 95582c2 + 23b9b38 commit b1a479e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 13 additions & 13 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-blue.svg?longCache=true&style=flat-square)](LICENSE)

The µServerless package (pronounced micro-serverless) is a small collection of classes, traits and adapters to help you
build AWS Lambda functions using scala.
build distributed applications using AWS Lambda and scala.

µServerless has the following features:

1. Handles exceptions and exception handlers to take actions when exception occur
1. API Gateway has a special handler that to help you deal with Lambda Proxy Request and Responses
1. SNS Handler that unpacks and deserialize the message
1. Provides a trait to get configuration values or secrets from SSM Parameter Store
1. Structured logging
1. Error and Metric reporting is possible using the **[Overwatch](https://github.com/onema/uServerlessOverwatch)** app.

> [Overwatch](https://github.com/onema/uServerlessOverwatch) this is a metric and error reporting application that configures
general purpose infrastructure for all µServerless applications

## Install
Add the following to your SBT config:
Expand All @@ -15,15 +27,3 @@ Add the following to your SBT config:
libraryDependencies += "io.onema" %% "userverless-core" % "<LATEST_VERSION>"
```

## Design Objectives
TODO
The adapters have the following properties:

1. Enable you to separate the lambda `Function` handler from the `Logic` of the application
- The `Function` is responsible for building all the dependencies and constructing the logic object and handling errors, notifications and keeping the function warm (if enabled)
- The `Logic` should acquire all it's dependencies via DI, hence it should be the testable part of your code
1. Handles exceptions and exception handlers to take actions when exception occur
1. API Gateway has a special handler that to help you deal with Lambda Proxy Request and Responses
1. SNS Handler that unpacks and deserialize the message
1. Provides a trait to get configuration values or secrets from SSM Parameter Store
1. Works with the **Overwatch** app, this is a metric and error reporting application that configures general purpose infrastructure for all µServerless applications
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
site_name: µServerless
nav:
- Lambda Configuration: 01-lambda-configuration.md
- Lambda Handlers: 02-handlers.md
- Dealing with Exceptions: 03-dealing-with-exceptions.md
- Logging and Metrics: 04-logging.md
- Event listeners: 05-event-listeners.md
- Lambda Configuration: lambda-configuration.md
- Lambda Handlers: handlers.md
- Dealing with Exceptions: dealing-with-exceptions.md
- Logging and Metrics: logging.md
- Event listeners: event-listeners.md
- Other Features: 99-other-features.md
theme: readthedocs

0 comments on commit b1a479e

Please sign in to comment.