64 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
5dafeee388 basic new variable system 2016-08-31 16:37:58 +09:00
Florian Motlik
f39f54c608 Merge pull request #1937 from serverless/add-path-option-to-create-plugin
Add path option to create plugin
2016-08-29 10:53:25 +02:00
rowan
b3f9cbf627 Include JSON-based example snippet. 2016-08-26 20:32:41 +10:00
rowan
0d5b82376f Include commented-out IAM statements in templates' serverless.yml. 2016-08-26 19:45:27 +10:00
Philipp Muens
b060e5e3a3 Update tests to use new createTmpDir testUtil method 2016-08-25 14:22:00 +02:00
Philipp Muens
cea2c1e284 Add functionality so that the service is renamed according to the path 2016-08-25 14:22:00 +02:00
Philipp Muens
61f3e5be34 Add corresponding documentation 2016-08-25 14:22:00 +02:00
Philipp Muens
9eb85b8bb7 Add path option to create plugin
So that one can create a service in other directories than the cwd.
2016-08-25 14:22:00 +02:00
Philipp Muens
65d420cd92 Move tmpDir generations into beforeEach hooks where appropriate 2016-08-23 19:44:34 +02:00
Philipp Muens
5fedf6a4f9 Add getTmpDir util method and refactor tests 2016-08-23 13:51:16 +02:00
Philipp Muens
4937140094 Update outdated doc references 2016-08-19 07:21:52 +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
f88c53098e Add Description property to Output example in serverless.yml files 2016-08-14 20:41:43 +02:00
Philipp Muens
d4bf0342d7 Add full custom resource merging support 2016-08-14 17:44:29 +02:00
Philipp Muens
a0f7bb20d1 Add tests to increase test coverage 2016-08-08 08:27:26 +02:00
Kevin Aud
38ce63c3e9 fixed a typo 2016-08-07 11:32:06 -04:00
Philipp Muens
c9d1453d3a Switch from .yaml to the more convenient .yml 2016-07-27 10:39:41 +02:00
Philipp Muens
13838563cb Add Node.js and Python to templates README 2016-07-26 15:09:31 +02:00
Philipp Muens
ef399cf798 Fix wrong event indentation 2016-07-26 14:49:14 +02:00
Philipp Muens
9f9da9c570 Add note to update the service name after creation 2016-07-26 14:28:02 +02:00
Florian Motlik
3cd6db1fb5 Merge pull request #1672 from serverless/license2e-add-aws-java-templates-v2
License2e add aws java templates v2
2016-07-26 14:17:02 +02:00
Florian Motlik
5902700125 Adding integration test and fixes for templates 2016-07-26 12:58:42 +02:00
Ilya Shindyapin
4939032b01 Add aws-java-maven and aws-java-gradle to the template list
Signed-off-by: Ilya Shindyapin <ilya@shindyapin.com>
2016-07-26 12:58:42 +02:00
Ilya Shindyapin
d05a17686b Add java maven and gradle templates, tests and instructions
Signed-off-by: Ilya Shindyapin <ilya@shindyapin.com>
2016-07-26 12:58:42 +02:00
Michael Wittig
5fc4d5cf49 fixed indentation
fixed indentation
2016-07-26 12:41:42 +02:00
Philipp Muens
ed6a3c5567 Fix indentation for provider config 2016-07-22 17:22:51 +02:00
Philipp Muens
3290ced8ee Remove hard service runtime dependency 2016-07-22 17:19:08 +02:00
Philipp Muens
846346e9a1 Bring back 2 level YAML indentation 2016-07-22 17:05:23 +02:00
Benny
806c133fec fix issue #1380 - remove ascii greeting from all serverless CLI commands except create 2016-07-15 16:26:26 +03:00
Florian Motlik
90902c8f2c Merge pull request #1466 from mthenw/v1.0
fix typo
2016-07-13 19:53:29 +02:00
Philipp Muens
7595ae9be6 Update "available templates information" to be class wide constants 2016-07-13 09:44:43 +02:00
Philipp Muens
00a7290bf2 Reuse template array to produce readable list of available templates 2016-07-13 09:02:16 +02:00
Philipp Muens
f17c81a8c9 Add Python support for AWS 2016-07-13 07:01:59 +02:00
Philipp Muens
cd098cac21 Add service bound runtime functionality 2016-07-12 20:39:34 +02:00
Eslam A. Hefnawy
524f65cfb9 updated integration test 2016-07-13 00:17:17 +09:00
Eslam A. Hefnawy
18e9c2f954 added templates functionality 2016-07-13 00:12:35 +09:00
Eslam A. Hefnawy
e6da016962 creating templates PR 🎉 2016-07-12 13:43:32 +02:00
Eslam A. Hefnawy
356127b830 fix linting issues 2016-07-04 09:51:59 +01:00
Eslam A. Hefnawy
6ee4b9e420 more validation and better error messages 2016-07-04 09:51:59 +01:00
Maciej Winnicki
922be82262 fix typo 2016-07-01 12:26:30 +02:00
Philipp Muens
267e6c58fb Add shortcut support for options 2016-06-29 14:07:55 +02:00
Eslam A. Hefnawy
d2dc0ba58e ZERO linting issues and test coverage of 93% 🎉 🎉 2016-06-23 15:55:57 +02:00
Philipp Muens
ab3bbe0a4e Update existing plugin docs 2016-06-22 16:33:00 +02:00
Philipp Muens
b16664357d Fix linting issues 2016-06-21 14:51:32 +02:00
Philipp Muens
f452bb6412 Apply cosmetic changes to tests 2016-06-21 12:23:56 +02:00
Eslam A. Hefnawy
96a3441c1e create plugin no longer generates package.json 2016-06-20 17:49:55 +02:00
Eslam A. Hefnawy
1e3763deac updated tests for Service class and create plugin 2016-06-17 21:42:41 +02:00
Eslam A. Hefnawy
f403af11cf sls create now takes a provider option 2016-06-17 19:51:22 +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
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