Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.09 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.09 KB

LocalMeteringMarketplace

A simple webapp for AWS MeteringMarketplace integration testing

Setup

There are no external dependencies. Run simply with sbt run

Usage

Supported endpoints

The currently supported endpoints are:

To test your application, configure it to use localhost:9000/meteringmarketplace as the AWS API endpoint.

Retrieving test data

localhost:9000/data/meteringmarketplace/list

Calling GET on this endpoint will return a dump of the metering requests received.

localhost:9000/data/meteringmarketplace/:customerId/:timestampFrom/:timestampTo

Calling GET on this endpoint will return a dump of the metering requests received with the specified customerId, between the specified timestamps.
Timestamps are expected to be in a string format that is understandable by Datetime.parse, preferably %Y-%m-%dT%H:%M:%S.%fZ.