23 Commits

Author SHA1 Message Date
Smith, Greg W
21586c47f3 Properly using single quotes only. 2016-09-08 17:49:25 -07:00
Smith, Greg W
f675132780 Provide data to verify YAML result. 2016-09-08 17:46:12 -07:00
Smith, Greg W
290f5af218 Adds test to AWS Invoke to vierify that YAML can be used for event input. Verifies fix for #1994. 2016-09-08 17:39:30 -07:00
Florian Motlik
f9f212b404 WIP 2016-09-05 16:18:58 +02:00
Philipp Muens
5fedf6a4f9 Add getTmpDir util method and refactor tests 2016-08-23 13:51:16 +02:00
Nick Chisiu
16aa6581ab fix #1854 - update npm devDependencies packages (#1879)
* fix #1854 - added latest version of eslint-config-airbnb-base package

* fix #1854 - added latest npm shrinkwrap scheme

* fix #1854 - added latest npm coveralls package

* fix #1854 - added latest npm eslint package

* fix #1854 - added latest npm eslint-config-airbnb package

* fix #1854 - added latest npm eslint-plugin-import package

* fix #1854 - added latest npm eslint-plugin-jsx-a11y package

* fix #1854 - added latest npm eslint-plugin-react package

* fix #1854 - fixed estlint new-parens errors for integration test

* fix #1854 - fixed estlint new-parens errors for yaml parsers tests

* fix #1854 - fixed estlint max-len errors for util tests

* fix #1854 - disabled no-extraneous-dependencies on eslintrc for NodeJS 4 incapability on this feature

* fix #1854 - fixed eslint new-parens errors for Service tests

* fix #1854 - fixed eslint new-parens errors for Serverless tests

* fix #1854 - fixed eslint new-parens errors for plugin manager tests

* fix #1854 - fixed eslint new-parens errors for plugin tracking tests

* fix #1854 - fixed eslint new-parens errors for plugin package zipService lib

* fix #1854 - fixed eslint new-parens errors for plugin package zipService tests

* fix #1854 - fixed eslint trailing spaces errors for plugin package zipService lib

* fix #1854 - fixed eslint new-parens errors for plugin package cleanup  tests

* fix #1854 - fixed eslint new-parens errors for plugin create tests

* fix #1854 - fixed eslint dot same line expectation error on plugin aws logs index

* fix #1854 - fixed eslint operator assignment error on plugin aws logs index

* fix #1854 - fixed eslint dot location error on plugin aws invoke tests

* fix #1854 - fixed eslint new-parens error on plugin aws invoke tests

* fix #1854 - fixed eslint new-parens error on plugin aws deployFunction tests

* fix #1854 - fixed eslint new-parens error on plugin aws deploy uploadDeploymentPackage tests

* fix #1854 - fixed eslint new-parens error on plugin aws deploy updateStack tests

* fix #1854 - fixed eslint new-parens error on plugin aws deploy createStack tests

* fix #1854 - fixed eslint new-parens error on plugin aws deploy apiGateway lib deployment

* fix #1854 - fixed eslint unary typeof whitespace req error on Serverless Service class

* fix #1854 - fixed eslint unary typeof whitespace req error on Serverless Service class ( second fix )

* fix #1854 - fixed eslint no-lonely-if req error on Serverless Service class

* fix #1854 - disabled react/require-extension on eslintrc because it's deprecated

* fix #1854 - AwsCompileApigEvents #constructor() should resolve if no functions are given:
                 Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.

* fix #1854 - createStack #postCreate() should resolve:
                 Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.

* fix #1854 - emptyS3Bucket #deleteObjects() should resolve if objectsInBucket is empty:
                 Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.

* fix #1854 - AwsInvoke #extendedValidate() should resolve if path is not given:
                 Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.

* fix #1854 - #cleanup() should resolve if the .serverless directory is not present:
                 Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.

* fix #1854 -#validate() should resolve if servicePath is given:
                Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.

* fix #1854 -  Service #load() should resolve if no servicePath is found:
                 Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.

* fix #1854 - added latest mocha package

* fix #1854 - added latest sinon npm package

* fix #1854 - serverless/lib/plugins/aws/deploy/tests/createStack.js 136:48  error  Missing semicolon  semi

* fix #1854 - serverless/lib/plugins/package/tests/cleanup.js 35:7  error  Missing semicolon  semi

* fix #1854 - serverless/lib/plugins/package/tests/validate.js 22:49  error  Missing semicolon  semi

* fix #1854 - added latest npm shrinkwrap

* fix #1854 - fixed no-extra-boolean-cast eslint error on aws deploy apiGateway methods

* fix #1854 - fixed  new-parens eslint error on serverless tests for Service class
2016-08-18 11:51:09 +02:00
Philipp Muens
a0f7bb20d1 Add tests to increase test coverage 2016-08-08 08:27:26 +02:00
Eslam A. Hefnawy
f9b8f3d447 updated invoke and log and fixed tests 2016-08-04 22:24:58 +09:00
Eslam A. Hefnawy
044a13f47d adding default function name property 2016-08-04 21:35:02 +09:00
Benny
0d2c78cc36 DRY validate 2016-07-20 21:43:20 +03:00
Eslam λ Hefnawy
2cf4633d50 Merge branch 'v1.0' into better-errors 2016-07-04 18:10:29 +09:00
Eslam A. Hefnawy
6ee4b9e420 more validation and better error messages 2016-07-04 09:51:59 +01:00
Philipp Muens
ecae591c38 Add provider definition to Amazon Web Services specific plugins 2016-07-04 09:51:38 +01:00
Eslam A. Hefnawy
a14fb2cf69 run travis 2016-06-23 15:55:57 +02:00
Philipp Muens
354ab912cc Remove "hello" naming for function in tests
This way all tests use the same function name.
2016-06-21 14:06:36 +02:00
Philipp Muens
c308121d73 Fix AwsInvoke plugin and corresponding tests 2016-06-21 13:23:12 +02:00
Eslam A. Hefnawy
afe2321b11 fixed integration tests 2016-06-21 13:03:58 +02:00
Philipp Muens
b5f3e6a53b Fix AwsInvoke tests 2016-06-20 15:39:47 +02:00
Eslam A. Hefnawy
5af4507f94 updated invoke and remove plugins 2016-06-20 13:26:34 +02:00
Philipp Muens
efddd829ac Fix unreliable plugin test coverage
Fix the test coverage so that it's reliable and won't error out unexpectedly.
2016-06-17 13:58:52 +02:00
Philipp Muens
9ead01010b Rename plugin names in docs
Rename the plugin names in docs so that they are more human readable and easier to understand.
2016-06-17 09:19:32 +02:00
Philipp Muens
cf7028677b Refactor docs structure
Each plugin now has a README.md file in it's root folder. The docs/README.md file
links to each plugins index folder so that the user can directly see the plugins folder structure
and the corresponding README.md file at once. This makes understanding the plugin way easier.
2016-06-17 08:43:51 +02:00
Eslam A. Hefnawy
ef2fffe130 refatored aws plugins structure 2016-06-16 21:24:09 +02:00