Skip to content

Aresius423/LocalMeteringMarketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple webapp for AWS MeteringMarketplace integration testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published