1990 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
714020e65d added unit tests for variables class 2016-08-31 16:37:58 +09:00
Eslam A. Hefnawy
c849c7d11d removed more references to serverless.env.yaml 2016-08-31 16:37:58 +09:00
Eslam A. Hefnawy
a2d37e7b5a added test coverage for new variable system 2016-08-31 16:37:58 +09:00
Eslam A. Hefnawy
5dafeee388 basic new variable system 2016-08-31 16:37:58 +09:00
Ryan Murfitt
219f20e8f1 Fixed issue where custom cors headers were not being set, and was just using defaults' 2016-08-31 17:26:22 +10:00
Philipp Muens
20d0d574e8 Update docs according to PR feedback 2016-08-31 09:23:44 +02:00
Philipp Muens
1159de41fd Update merging of custom request templates to support only strings 2016-08-31 09:23:44 +02:00
Philipp Muens
a56c28f554 Add documentation for request / response templates support 2016-08-31 09:23:44 +02:00
Philipp Muens
c036836bfa Remove automatic enclosing of response header values with single quotes 2016-08-31 09:23:44 +02:00
Philipp Muens
28f2aab1e2 Add support for custom request templates 2016-08-31 09:23:44 +02:00
Philipp Muens
d6d2f83bee Refactor default request template setup
To be added inline (rather than referenced from the CloudFormation
"Mappings" section) because they're independent and not re-used anyway.
2016-08-31 09:23:44 +02:00
Philipp Muens
9afc5834d5 Add support for merging of custom headers 2016-08-31 09:23:44 +02:00
Philipp Muens
1c63524446 Add custom response template support 2016-08-31 09:23:44 +02:00
Philipp Muens
c3d34b2d30 Add support for default text/html response template 2016-08-31 09:23:44 +02:00
Philipp Muens
495c5d8eea Add separate request template for x-www-form-urlencoded content type 2016-08-31 09:23:44 +02:00
Philipp Muens
262fabd75a Refactor application/json request template usage
To be referenced from the CloudFormations Mappings section.
2016-08-31 09:23:44 +02:00
Kenneth Falck
68b76f9132 fix #1983 - rename default custom authorizer header to Authorization 2016-08-31 00:01:44 +03:00
Jamie Sutherland
7834ca0217 fix(zip): Switch to archivejs to reduce high memory footprint 2016-08-30 11:51:30 +01:00
John McKim
ff8a6cc71f remove todo and ensure createstack returns promise 2016-08-30 08:40:14 +10:00
John McKim
b1143c4b9f Fix function package names and warning when updating stack with --noDeploy 2016-08-30 07:58:48 +10:00
John McKim
b7af61647c fix linting issues 2016-08-30 07:42:12 +10:00
Florian Motlik
f39f54c608 Merge pull request #1937 from serverless/add-path-option-to-create-plugin
Add path option to create plugin
2016-08-29 10:53:25 +02:00
堀家隆宏
d9c62e68fb Add iamRoleARN to serverless.yml 2016-08-28 22:36:06 +09:00
Florian Motlik
7715c014fd Merge pull request #1970 from tomesch/master
Fix authorizer creation error when no TTL is supplied (fixes #1948)
2016-08-26 17:05:27 +02:00
Thomas Eschemann
10ab716c09 fix authorizer creation error when no TTL is supplied
fix lint issues
2016-08-26 12:39:40 +02:00
rowan
b3f9cbf627 Include JSON-based example snippet. 2016-08-26 20:32:41 +10:00
rowan
0d5b82376f Include commented-out IAM statements in templates' serverless.yml. 2016-08-26 19:45:27 +10:00
Philipp Muens
b060e5e3a3 Update tests to use new createTmpDir testUtil method 2016-08-25 14:22:00 +02:00
Philipp Muens
cea2c1e284 Add functionality so that the service is renamed according to the path 2016-08-25 14:22:00 +02:00
Philipp Muens
61f3e5be34 Add corresponding documentation 2016-08-25 14:22:00 +02:00
Philipp Muens
9eb85b8bb7 Add path option to create plugin
So that one can create a service in other directories than the cwd.
2016-08-25 14:22:00 +02:00
John McKim
5a5240ccc5 fix tests after merge with master 2016-08-25 07:39:39 +10:00
John McKim
a413a4a471 merge 2016-08-25 07:23:47 +10:00
John McKim
4b3267eb13 fix more overspecified tests 2016-08-25 06:59:19 +10:00
Florian Motlik
39c330569e Merge pull request #1906 from serverless/update-artifact-deployment-process
Update artifact deployment process
2016-08-24 16:27:04 +02:00
Florian Motlik
4dce8b65db Merge pull request #1857 from miltador/patch-1
Fixed platform detection for generating zip
2016-08-24 16:05:12 +02:00
Philipp Muens
d72617d833 Add check if object matches regex 2016-08-24 11:37:19 +02:00
Philipp Muens
ede355cc5d Add resolving for bucket name retrieval when noDeploy option is set 2016-08-24 11:37:19 +02:00
Philipp Muens
bcc74df4dd Update documentation 2016-08-24 11:37:19 +02:00
Philipp Muens
b72cd2f882 Remove timestamp from zipFileName
The timestamp is not necessary anymore as the zip file is uploaded into a timestamped
directory on S3.
2016-08-24 11:37:19 +02:00
Philipp Muens
48191fc3ed Move saving of bucket name into own method
So that it's more encapsulated and easier to test in isolation.
2016-08-24 11:37:19 +02:00
Philipp Muens
f038e78b06 Remove dead deployFunctions code 2016-08-24 11:37:19 +02:00
Philipp Muens
bb916b1c26 Add cleanup S3 bucket functionality 2016-08-24 11:37:19 +02:00
Philipp Muens
3cac122ed9 Update compileFunctions code
So that the S3Key properties are prepended with the artifactDirectoryName.
2016-08-24 11:37:19 +02:00
Philipp Muens
030722c313 Add separate methods to upload artifacts into a dedicated S3 directory 2016-08-24 11:37:19 +02:00
Erik Erikson
b16cc082ff Increase the specificity of the logging rights. 2016-08-23 16:22:37 -07:00
John McKim
d1f6d90d14 fix overspecified test resolution 2016-08-24 07:50:27 +10:00
John McKim
a972319447 fix linting issue 2016-08-24 07:29:15 +10:00
John McKim
fcd5f2f3d9 Fix issues with deploying individual functions 2016-08-24 07:26:14 +10:00
John McKim
d6464d0f4b exclude npm-debug.log 2016-08-24 06:44:25 +10:00