91 Commits

Author SHA1 Message Date
Doug Moscrop
4dbd94e465 fix resources as an array to support variables 2017-05-16 15:41:00 -04:00
Frank Schmid
4da99861fa Added unit tests 2017-04-26 16:54:50 +02:00
Frank Schmid
0ebee72f65 Allow service object 2017-04-26 15:18:09 +02:00
Rafał Wiliński
c6d5710cdc Replace Array.filter with Array.find 2017-04-15 10:59:31 +02:00
Rafał Wiliński
bc15494c00 Fix linter errors 2017-04-15 10:55:34 +02:00
Rafał Wiliński
59bd52d520 Merge remote-tracking branch 'serverless/master' 2017-04-15 00:05:55 +02:00
Rafał Wiliński
77ed53218b Change getAllEventsInFunction implementation to return array 2017-04-15 00:05:21 +02:00
Rafał Wiliński
7bca42f680 Change getEventInFunction implementation to return array element 2017-04-15 00:05:05 +02:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00
Eslam λ Hefnawy
74ceec541b Merge pull request #3186 from dannycohn/Issue2997
fix #2997
2017-02-23 20:38:53 +07:00
Vlad Golubev
12ba45421c Merge branch 'master' into fix-average-functions-duration 2017-02-07 23:42:25 +02:00
Danny Cohn
7bbf9ce6d0 fix #2997 2017-02-05 00:11:20 -06:00
Andrey Tserkus
ffd6152de0 cover Error with tests; rename SError export to ServerlessError 2017-01-31 01:50:07 -08:00
Philipp Muens
b32803a8ff Fix wrong provider value assigning 2017-01-30 13:33:15 +01:00
Philipp Muens
54fbaadede Remove defaults service property 2017-01-30 11:03:40 +01:00
Eslam λ Hefnawy
1cb298d592 Merge pull request #2434 from fruffin/fix-2418
[Fix #2418] Allow function event definitions to be variables
2017-01-24 20:15:34 +07:00
Vlad Golubev
37f4545139 Add getAllFunctionsNames to Service class 2017-01-06 18:59:36 +02:00
Philipp Muens
b6683d9440 Merge pull request #2842 from dougmoscrop/array_resources
add Support for resources as an array
2016-12-08 13:28:51 +01:00
James Thomas
da3356b1e2 Rename provider name from 'ibm' to 'openwhisk'. 2016-12-05 15:46:10 +00:00
Doug Moscrop
e4395875c1 add Support for resources as an array 2016-12-01 19:31:36 -05:00
Philipp Muens
74a3f004d7 Bring back include configuration for an easier packaging control 2016-11-14 10:26:44 +01:00
Fabien Ruffin
e7ef6fdbb9 Merge remote-tracking branch 'upstream/master' into fix-2418 2016-11-03 08:04:15 +11:00
Nik Graf
fca214c184 add version check tests and refactoring 2016-11-01 10:11:30 +01:00
Nik Graf
f47b9025b6 add semver check 2016-11-01 09:48:45 +01:00
Nik Graf
e8248b5e8a Merge branch 'master' into version-lock 2016-11-01 08:24:31 +01:00
John McKim
fd1545d89d Allow services with no functions #2267 2016-10-25 06:15:23 +10:00
Fabien Ruffin
3dc779413f Removed unnecessary comment 2016-10-23 16:30:01 +11:00
Fabien Ruffin
73ef6587aa Refactored service validation to happen after variable population 2016-10-23 13:57:10 +11:00
Nik Graf
9ec317aa3a implement version check 2016-10-21 17:35:45 +02:00
Fabien Ruffin
17afedb566 Allow function event definitions to be variables 2016-10-18 22:03:07 +11:00
Philipp Muens
9ebf296762 Merge pull request #2194 from craftship/globs-exclude
Use Globs to Exclude Files
2016-10-03 15:09:46 -07:00
Jon Sharratt
d7f9b16211 remove package include from classes 2016-10-01 11:11:36 +01:00
eL0ck
228d52cc7c remove redundant service list 2016-09-28 08:49:51 +02:00
Doug Moscrop
2aab2a2ccc fix #2226 non-aws providers throw an error 2016-09-27 11:59:31 -04:00
rowan
733f9ba55c Add check (and test) that function.events is an array. 2016-09-06 16:07:34 +10:00
John McKim
44823ebc71 merge with master 2016-09-01 07:30:17 +10:00
Eslam A. Hefnawy
3016a555ac fix bug where function name is not using default stage 2016-08-31 17:38:18 +09:00
Eslam A. Hefnawy
714020e65d added unit tests for variables class 2016-08-31 16:37:58 +09:00
Eslam A. Hefnawy
9ed7a2a766 overwrite functionality working 2016-08-31 16:37:58 +09:00
Eslam A. Hefnawy
e5837e2770 trying overwrites 2016-08-31 16:37:58 +09:00
Eslam A. Hefnawy
2035c6ada0 removed comment 2016-08-31 16:37:58 +09:00
Eslam A. Hefnawy
5dafeee388 basic new variable system 2016-08-31 16:37:58 +09:00
John McKim
6fdb39f9d3 Merge with master 2016-08-24 06:11:10 +10:00
John McKim
5a2c9d2224 update packaging to support individual packages per function 2016-08-22 07:40:16 +10: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
Eslam A. Hefnawy
4c1bdf0662 removed extra spaces 2016-08-11 18:27:07 +09:00
Eslam A. Hefnawy
f05b4e7d55 fixed a bug in service class to load shortcut options 2016-08-11 18:25:11 +09:00
kengos
2efcc24787 fix populate boolean and 0 variables 2016-08-08 12:25:14 +09:00
Eslam λ Hefnawy
6da0e11bd3 Merge pull request #1764 from johncmckim/issue-1728
Move variableSyntax into defaults and update docs
2016-08-05 16:31:06 +09:00
John McKim
9e8138abfd move variableSyntax into defaults and update docs 2016-08-05 14:13:23 +10:00