Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsantell/eb-mock
Mock API for AWS ElasticBeanstalk
https://github.com/jsantell/eb-mock
Last synced: about 1 month ago
JSON representation
Mock API for AWS ElasticBeanstalk
- Host: GitHub
- URL: https://github.com/jsantell/eb-mock
- Owner: jsantell
- License: mit
- Created: 2014-10-11T17:41:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-13T00:40:43.000Z (about 10 years ago)
- Last Synced: 2024-04-25T06:20:45.759Z (9 months ago)
- Language: JavaScript
- Size: 191 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
eb-mock [![Build Status](https://travis-ci.org/jsantell/eb-mock.png)](https://travis-ci.org/jsantell/eb-mock)
=======Mock API for AWS ElasticBeanstalk.
An API mimicking [aws-sdk](https://www.npmjs.org/package/aws-sdk)'s ElasticBeanstalk wrapper.
Implements all [ElasticBeanstalk operations](http://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_Operations.html), except the following methods, which are noops of consistent `param`, `callback` signatures:
* CheckDNSAvailability
* CreateConfigurationTemplate
* CreateStorageLocation
* DeleteApplicationVersion
* DeleteConfigurationTemplate
* DeleteEnvironmentConfiguration
* DescribeEvents
* DescribeConfigurationOptions
* DescribeConfigurationSettings
* DescribeEnvironmentResource
* RebuildEnvironment
* RetrieveEnvironmentInfo
* RequestEnvironmentInfo
* RestartAppServer
* UpdateConfigurationTemplate
* UpdateApplicationVersion
* ValidateConfigurationSettings## Examples
```
var EB = require("eb-mock");
var fakeCreds = {};
var eb = new EB(fakeCreds);eb.createApplication({
ApplicationName: "my app"
}, function (err, data) {
console.log(data);
});
```## Testing
`npm test`
## TODO
* Add other methods as needed
* Perfect parity with AWS errors## License
Copyright (c) 2014 Jordan Santell