466 Commits

Author SHA1 Message Date
Philipp Muens
8aad2372eb Refactor test structure
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00
Philipp Muens
70e37028d2 Merge pull request #2763 from serverless/remove-deprecation-notice
removed cflogs deprecation notice
2016-11-22 08:06:36 +01:00
Eslam A. Hefnawy
7e2a2573d7 removed cflogs deprecation notice 2016-11-22 14:02:26 +07:00
Philipp Muens
17286cb87a Add test for overwriting environment variables 2016-11-21 10:45:05 +01:00
Nik Graf
71eb5a13b4 Merge pull request #2748 from braahyan/lambda-environment-variables
Lambda environment variables
2016-11-21 09:47:52 +01:00
Philipp Muens
26ff0fafdd Add additional tests 2016-11-21 09:39:17 +01:00
Eslam λ Hefnawy
f3ca1fc68b Merge pull request #2651 from laardee/deploy-offline
Fixes --noDeploy without credentials or internet connection
2016-11-21 15:33:29 +07:00
Philipp Muens
2d390edfce Only create environment variables if config is given 2016-11-21 09:22:40 +01:00
Eslam λ Hefnawy
2cb4dc4dc5 Merge pull request #2732 from serverless/limit-permissions
Limited Lambda Permission for Events
2016-11-21 14:43:37 +07:00
bryan pedlar
e381e9e4ef fixed linting issues 2016-11-19 21:55:56 -05:00
Bryan Pedlar
ca41f63c48 added validation of environment variable names 2016-11-19 21:40:10 -05:00
bryan pedlar
1f1c63dc7a global environment variables are added appropriately 2016-11-19 21:38:46 -05:00
bryan pedlar
e79bb27222 fixed yet more linting errors 2016-11-19 19:30:21 -05:00
bryan pedlar
3fc632f4c1 fixed more linting errors 2016-11-19 19:27:32 -05:00
bryan pedlar
d4b16a12c2 fixed linting errors 2016-11-19 19:24:02 -05:00
bryan pedlar
94d93e3d62 added environment variable support 2016-11-19 18:35:26 -05:00
Eslam A. Hefnawy
cfdac252da relaxed apig permissions to be rest api scoped 2016-11-18 21:05:21 +07:00
Eetu Tuomala
1e2cbfd5e3 moves already created resolving to request and resolves noDeploy straight away 2016-11-18 14:52:52 +02:00
Eslam A. Hefnawy
ad2117423b limited lambda permissions for events 2016-11-17 18:38:33 +07:00
Eslam A. Hefnawy
91fa043ecc limited permissions for s3, sns and apig 2016-11-16 16:08:21 +07:00
Nik Graf
386d9d6718 replace ellipsis with three dots to improve non-unicode console support 2016-11-15 14:00:27 +01:00
Eetu Tuomala
d69cdbc569 adds test to check that aws sdk is not called with --noDeploy 2016-11-14 15:22:50 +02:00
Eetu Tuomala
97a3a74831 removes awsRequesStub from test and passes noDeploy to resolve 2016-11-14 15:22:50 +02:00
Eetu Tuomala
50d57d7977 enables offline deployment package creation 2016-11-14 15:22:50 +02:00
Eslam A. Hefnawy
fef9b68e5a refactored naming-js method naming 2016-11-10 19:05:02 +07:00
Eslam A. Hefnawy
1a02e15d9b updated tests using name-js 2016-11-10 15:14:33 +07:00
Eslam A. Hefnawy
61efd35850 added logical id names in naming-js file 2016-11-09 19:31:08 +07:00
Eslam λ Hefnawy
d6a4eed879 Merge pull request #2567 from kbariotis/add-input-inputpath-support
add input, inputPath variable, resolves #2543
2016-11-08 22:43:18 +07:00
Philipp Muens
f7b54cfb5f Move method.js file into method directory 2016-11-08 14:27:43 +01:00
Philipp Muens
e981d41488 Refactor method used for capitalization of strings 2016-11-08 14:04:52 +01:00
Doug Moscrop
8ba2f19a3a refactor apiGateway resources and methods 2016-11-08 14:04:52 +01:00
Philipp Muens
33c05f53a2 Add tests for stream events to not error out when default policy is not present 2016-11-08 08:16:03 +01:00
Luciano Mammino
856189fa94 Using single quotes on empty strings 2016-11-07 23:36:47 +00:00
Philipp Muens
062783156c Merge branch 'master' into add-custom-per-function-roles 2016-11-07 15:29:57 +01:00
Philipp Muens
e76706fb6e Check if default policy is available when merging PolicyDocument statements for streams 2016-11-07 15:29:47 +01:00
Kostas Bariotis
da9b3459c6 add conditions inside string templates for templates 2016-11-06 18:36:42 +02:00
horike37
c13c97b691 fix conflict and test separete 2016-11-05 15:38:04 +09:00
Philipp Muens
5ad10516d2 Merge branch 'master' into add-custom-per-function-roles 2016-11-04 13:36:15 +01:00
Philipp Muens
f3c478b50b Remove iamRoleARN support 2016-11-04 13:25:11 +01:00
Kostas Bariotis
c5844f642d change error description 2016-11-03 12:25:22 +02:00
Maciej Winnicki
5b9f48f2e2
use calledWithExactly 2016-11-03 10:58:08 +01:00
Philipp Muens
305670f012 Merge branch 'master' into add-custom-per-function-roles 2016-11-03 09:52:36 +01:00
Maciej Winnicki
b16b66dced
add tests for showing artifact size 2016-11-02 17:58:39 +01:00
Philipp Muens
1b1a6c02b1 Refactor mergeIamTemplates tests 2016-11-02 16:18:00 +01:00
Eslam λ Hefnawy
5dd2e19b90 Merge pull request #2591 from serverless/show-file-size-deploy
show package file size during deploy
2016-11-02 21:07:24 +07:00
Maciej Winnicki
292410c51d
show package file size during deploy 2016-11-02 11:41:10 +01:00
horike37
cf441a4dbc fixed the bug resultTtlInSeconds defaults to 300 when set to 0 2016-11-02 08:47:56 +09:00
Philipp Muens
4b5d2b1c1d Fix linting errors 2016-11-01 15:04:28 +01:00
Philipp Muens
c2c67b9d05 Fix failing tests 2016-11-01 15:00:16 +01:00
Philipp Muens
6188569238 Minor code style updates 2016-11-01 14:53:52 +01:00