bryan pedlar
94d93e3d62
added environment variable support
2016-11-19 18:35:26 -05:00
Erik Erikson
d15f4935c6
Merge branch 'master' into logical-ids-missed-details
2016-11-18 15:01:52 -08:00
Itay Maman
fe35cd4daa
Revert "disable slow test"
...
This reverts commit d98f35590bcce964ddd547af2a3119deb0ecc4da.
2016-11-18 20:07:54 +02:00
Itay Maman
d4c25a3122
comment
2016-11-18 20:06:53 +02:00
Itay Maman
b29aa7d3b9
introduce a top level method that calls: (i) validation; (ii) merge
2016-11-18 19:32:19 +02:00
Itay Maman
887f7bd4d2
test error message text
2016-11-18 19:21:56 +02: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
Itay Maman
9049d0a4ac
turn the check method into a validate method that throws on failure
2016-11-18 10:00:53 +02:00
Itay Maman
b276809282
test error messages on all fields
2016-11-18 09:47:01 +02:00
Itay Maman
06e4a1fdb5
test error message: 'not an array'
2016-11-18 09:39:08 +02:00
Itay Maman
d98f35590b
disable slow test
2016-11-18 09:38:48 +02:00
Itay Maman
f1eacc96ae
change the text of the failure message
2016-11-18 09:31:25 +02:00
Itay Maman
81f2bcc3a0
linting
2016-11-17 22:55:24 +02:00
Itay Maman
65c5a7d870
iterate over properties
2016-11-17 22:49:09 +02:00
Itay Maman
e963bd4523
check all three fields
2016-11-17 20:22:28 +02:00
Eslam A. Hefnawy
ad2117423b
limited lambda permissions for events
2016-11-17 18:38:33 +07:00
Itay Maman
10d2539c42
make it pass by adding a check that iamRoleStatements is an array
2016-11-17 08:19:54 +02:00
Itay Maman
a73030eb6f
add a failing test for (lack of) arrayness
2016-11-17 08:19:46 +02:00
Erik Erikson
61783191ee
"sdk" => "provider"
...
Change the legacy "sdk" moniker to "provider" in line with the (good, clarifying) class name changes in order to reduce potential future confusion.
2016-11-16 17:14:48 -08: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
2356a8f3f4
Remove unnecessary timeouts in tests
2016-11-16 11:40:39 +01:00
Eslam A. Hefnawy
91fa043ecc
limited permissions for s3, sns and apig
2016-11-16 16:08:21 +07:00
Erik Erikson
749204d962
Logical IDs Centralization Missed Details
...
A few places where names had been hard coded were missed in #2679 . This pull request attempts to get the rest of these (although I fear a few more exist).
The hard coding of the logical ids for the role and policy were removed from the json files defining those values.
Additionally, the path and name of the default role and policy were extrapolated as were log group and api gateway names.
The new role path, role name, and policy name values were used to amend the static role and policy.
Commentary in the centralization file was re-added.
Tests were updated
No function or documentation changes occurred by these changes
2016-11-15 17:22:59 -08: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
Austen
33206477b9
Merge pull request #2657 from serverless/variables-js-support
...
Variables js support
2016-11-11 17:55:31 -08:00
Ralf Kistner
a78ed09773
Use AWS.SharedIniFileCredentials directly for profile credentials.
2016-11-11 11:20:25 -08:00
Ralf Kistner
7dae0e2712
Correctly clear environment variables in tests.
2016-11-11 11:16:04 -08: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