957 Commits

Author SHA1 Message Date
bryan pedlar
94d93e3d62 added environment variable support 2016-11-19 18:35:26 -05: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
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
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
Eetu Tuomala
5ce7f95663 cleans test 2016-11-10 00:18:04 +02:00
Eetu Tuomala
32b78dbb76 adds test for endpoints with slashes 2016-11-10 00:10:04 +02:00
Eetu Tuomala
a19d2bdb78 fixed bad condition 2016-11-09 23:34:16 +02:00
Eetu Tuomala
7bebf1ae21 fixes endpoint path slash issue 2016-11-09 23:17:48 +02: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
Eslam λ Hefnawy
5430fd8734 Merge pull request #2588 from horike37/issue-2587
fixed the bug resultTtlInSeconds defaults to 300 when set to 0
2016-11-07 16:23:47 +07:00
Philipp Muens
03b94b8563 Merge pull request #2313 from horike37/issue-1604
Add Catch Errors for Tracking
2016-11-07 09:57:06 +01:00
Kostas Bariotis
da9b3459c6 add conditions inside string templates for templates 2016-11-06 18:36:42 +02:00
horike37
e8aaecef87 some updates 2016-11-05 16:24:35 +09:00
horike37
74a4ad603c Merge branch 'master' into issue-1604 2016-11-05 16:07:51 +09:00
horike37
c13c97b691 fix conflict and test separete 2016-11-05 15:38:04 +09:00
Greg Burch
4b2aa408f0 Fix for users being misinformed of success when create fails do to permission issues 2016-11-04 14:57:15 -07: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
Doug Moscrop
037dea9f14 fix Glob for .git and .serverless directories 2016-11-03 18:39:41 -04:00
doapp-ryanp
594019debb Merge remote-tracking branch 'upstream/master' 2016-11-03 11:14:13 -05:00
Maciej Winnicki
1bc13a6d65
fix broken test 2016-11-03 12:44:15 +01:00
Maciej Winnicki
8a73fc420f
fix failing tests exit code 2016-11-03 12:39:15 +01:00
Kostas Bariotis
c5844f642d change error description 2016-11-03 12:25:22 +02:00
Philipp Muens
9421809ee9 Merge pull request #2604 from serverless/update-docs-about-exclude-include
Update docs about exclude and include usage
2016-11-03 11:11:50 +01:00
Maciej Winnicki
5b9f48f2e2
use calledWithExactly 2016-11-03 10:58:08 +01:00