151 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
26a2735e1e Merge branch 'fix_issue_2132' of https://github.com/imaman/serverless into imaman-fix_issue_2132 2016-12-14 18:54:34 +07:00
Nick den Engelsman
c3620e501b Merge branch 'master' of github.com:serverless/serverless
# Conflicts:
#	lib/plugins/aws/deploy/lib/iam-policy-lambda-execution-template.json
2016-11-28 12:03:25 +01:00
Erik Erikson
6cc5d1364a Merge branch 'master' into logical-ids-missed-details 2016-11-22 13:26:28 -08:00
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
Nick den Engelsman
fc5bd1ac43 Add DependsOn for Lambda functions and IamPolicyLambdaExecution 2016-11-22 10:28:13 +01:00
Eslam A. Hefnawy
7e2a2573d7 removed cflogs deprecation notice 2016-11-22 14:02:26 +07: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
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
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
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
Itay Maman
10d2539c42 make it pass by adding a check that iamRoleStatements is an array 2016-11-17 08:19:54 +02: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
Nik Graf
386d9d6718 replace ellipsis with three dots to improve non-unicode console support 2016-11-15 14:00:27 +01: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
61efd35850 added logical id names in naming-js file 2016-11-09 19:31:08 +07:00
Philipp Muens
f3c478b50b Remove iamRoleARN support 2016-11-04 13:25:11 +01:00
Philipp Muens
305670f012 Merge branch 'master' into add-custom-per-function-roles 2016-11-03 09:52:36 +01:00
Maciej Winnicki
292410c51d
show package file size during deploy 2016-11-02 11:41:10 +01:00
Philipp Muens
fddc4db04f Merge branch 'master' into add-custom-per-function-roles 2016-11-01 14:43:21 +01:00
Philipp Muens
31cae71158 Fix regex linting errors 2016-10-31 09:08:50 +01:00
Maciej Winnicki
673a9ef959
Merge branch 'issue_2011' of https://github.com/andymac4182/serverless into andymac4182-issue_2011
Conflicts:
	lib/plugins/aws/deploy/index.js
	lib/plugins/aws/deploy/lib/cleanupS3Bucket.js
	lib/plugins/aws/deploy/tests/index.js
2016-10-28 11:26:01 +02:00
John McKim
ff0ded2c0d Skip IAM resources if there are no functions 2016-10-25 06:51:15 +10:00
Eslam A. Hefnawy
0c7ee28240 removed comment 2016-10-24 19:50:43 +07:00
Eslam A. Hefnawy
7210f4d23b fixed typo 2016-10-24 19:49:18 +07:00
Eslam A. Hefnawy
727bc3d933 refactoring for logging core resource 2016-10-24 19:28:37 +07:00
Eslam A. Hefnawy
d96ad33ae8 log groups are now backward compatible 2016-10-24 18:18:59 +07:00
Eslam A. Hefnawy
bbdcb429df fixed unit tests for logging resources 2016-10-24 17:14:37 +07:00
Eslam A. Hefnawy
5379008ad8 fixed conflicts 2016-10-24 16:27:09 +07:00
Nik Graf
078738ca2d add rollback feature 2016-10-21 00:13:21 +02:00
Nik Graf
7184923667 fix createStack test 2016-10-20 14:44:06 +02:00
Nik Graf
5dcde541b5 changed the term stacks to deployments 2016-10-19 18:40:31 +02:00
Nik Graf
a7d42e470c moved listing stacks into a separate plugin 2016-10-19 18:28:24 +02:00
Nik Graf
aadb551178 fix listing stacks after merging master into the branch 2016-10-19 17:29:49 +02:00
Nik Graf
f6df813b6a Merge branch 'master' into listing-stacks 2016-10-19 17:02:39 +02:00
Nik Graf
63dbc77b03 Merge branch 'master' into fix-cleaning-up-stacks 2016-10-19 16:39:55 +02:00
Eslam A. Hefnawy
f0804d244f resolved conflicts with master 2016-10-19 16:50:41 +07:00
Eslam A. Hefnawy
6beb3a802c update unit tests for overwrite bug fix 2016-10-19 16:50:41 +07:00
Eslam A. Hefnawy
402cc2c376 fixed overwrite resources bug 2016-10-19 16:50:41 +07:00
Nik Graf
360bfb814a Merge branch 'master' into ellipsis 2016-10-19 10:35:34 +02:00
Philipp Muens
c7b7472a48 Update provider properties in plugins 2016-10-19 08:32:06 +02:00
Philipp Muens
df7692ac80 Introduce AwsProvider plugin 2016-10-19 08:32:06 +02:00
Nik Graf
9611150416 replace ... with ellipsis character in lib 2016-10-19 06:31:55 +02:00