986 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
ba56dc504e Add environment variable config to templates 2016-11-21 17:53:43 +01:00
Nik Graf
d021e723e7 Merge pull request #2754 from serverless/get-stack-nae
bring back provider.getStackName()
2016-11-21 12:51:29 +01:00
Nik Graf
63d13a4453 Merge pull request #2757 from serverless/local-env-vars
add support for lambda env vars in invoke local
2016-11-21 12:35:00 +01:00
Eslam A. Hefnawy
0519987cb8 moved getStackName method into provider class 2016-11-21 17:48:39 +07:00
Eslam A. Hefnawy
5ed4c0d01d add support for lambda env vars in invoke local 2016-11-21 17:42:13 +07:00
Philipp Muens
17286cb87a Add test for overwriting environment variables 2016-11-21 10:45:05 +01:00
Eslam A. Hefnawy
632e86ec2e fix typo 2016-11-21 16:42:38 +07:00
Eslam A. Hefnawy
4087921e0e bring back probider.getStackName() 2016-11-21 16:33:52 +07: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
Florian Motlik
4e39b32ada Merge pull request #2681 from serverless/rework-include-exclude
Bring back include configuration for an easier packaging control
2016-11-16 16:18:44 +01:00
Eslam A. Hefnawy
91fa043ecc limited permissions for s3, sns and apig 2016-11-16 16:08:21 +07:00
Philipp Muens
46a75fc6d3 Fix failing tests due to recent removal of .serverless directory 2016-11-15 14:10:46 +01:00
Philipp Muens
79e406f9f3 Update packageService tests 2016-11-15 14:05:43 +01:00
Nik Graf
386d9d6718 replace ellipsis with three dots to improve non-unicode console support 2016-11-15 14:00:27 +01:00
Philipp Muens
66c29963c0 Remove unnecessary exclude of .serverless directory
This exclude is already done in the packageService.js file.
2016-11-15 13:48:39 +01:00
Nik Graf
41f5e1924c cleanup templates as discussed with @pmuens 2016-11-15 13:14:42 +01:00
Austen
700eb2ea86 Merge pull request #2561 from doapp-ryanp/master
Make `deploy function` lifecycle events more fine grain
2016-11-14 08:00:08 -08:00
Eslam λ Hefnawy
ebd9bb7948 Merge pull request #2688 from horike37/issue-2620
Improve responses in `invoke local`
2016-11-14 20:34:50 +07: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
Philipp Muens
f816879baf Add include and exclude examples for directories in templates 2016-11-14 10:26:44 +01:00
Philipp Muens
6910aff632 Move inclusion after exclusion of .serverless dir
This makes it possible that everything (even the .serverless dir) can be included again.
2016-11-14 10:26:44 +01:00
Philipp Muens
ccb6313250 Update zipService tests
So that files and directories are considered during exclude / include.
Furthermore the test directory structure is updated so that it’s easier to extend
and understand.
2016-11-14 10:26:44 +01:00
Philipp Muens
74a3f004d7 Bring back include configuration for an easier packaging control 2016-11-14 10:26:44 +01:00
Philipp Muens
7768db7c91 Fix spacing in naming.js test file 2016-11-11 13:38:15 +01:00
Eslam λ Hefnawy
7095f22b50 Merge pull request #2679 from serverless/naming-js
Added logical ids in centralized file
2016-11-11 18:31:24 +07:00
Eslam A. Hefnawy
489dd0f4b5 spacing up tests 2016-11-11 15:53:08 +07:00
Eslam A. Hefnawy
52f8f81dfd fix function name with underscore bug 2016-11-11 15:18:07 +07:00
horike37
dc2f45b94e Improve responses in invoke local 2016-11-11 05:24:21 +09:00
Eslam A. Hefnawy
fef9b68e5a refactored naming-js method naming 2016-11-10 19:05:02 +07:00
Eslam A. Hefnawy
08156924d5 added tests for naming-js 2016-11-10 16:17:42 +07:00
Eslam A. Hefnawy
1a02e15d9b updated tests using name-js 2016-11-10 15:14:33 +07:00