489 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
ae4f094bc7 fix linting issues 2016-08-31 23:27:17 +09:00
Eslam A. Hefnawy
d475b386a4 logical IDs updates 2016-08-31 23:27:17 +09:00
Eslam A. Hefnawy
ce31c7bc1c tiny fix 2016-08-31 23:27:17 +09:00
Eslam A. Hefnawy
8257924d00 added more tests for s3 and sns events 2016-08-31 23:27:17 +09:00
Eslam A. Hefnawy
959d0a17d3 updated tests with new logical ids 2016-08-31 23:27:17 +09:00
Eslam A. Hefnawy
a5e3c31974 updating logical ids 2016-08-31 23:25:15 +09:00
Florian Motlik
308889b128 Merge pull request #1988 from puug/cors_custom_headers
Fixed issue where custom cors headers were not being set, and was jus…
2016-08-31 14:10:28 +02:00
Florian Motlik
4118e7ca5b Merge pull request #1968 from serverless/api-gateway-request-response-templates-support
API Gateway request / response templates support
2016-08-31 13:24:30 +02:00
Florian Motlik
c493c8c397 Merge pull request #1990 from alexandrusavin/patch-1
Small typo in documentation
2016-08-31 11:36:38 +02:00
Alexandru Savin
9fd32fbb39 Small typo in documentation 2016-08-31 11:26:28 +02:00
Philipp Muens
c14018bb2f Add tests for correct error throwing 2016-08-31 10:18:13 +02:00
Ryan Murfitt
b59c53fe82 More lint issue fixes 2016-08-31 18:11:45 +10:00
Ryan Murfitt
e7ed3573da Combined the tests a bit nicer 2016-08-31 18:03:14 +10:00
Philipp Muens
85deac68d2 Add checks if request template and response headers are provided as objects 2016-08-31 09:45:16 +02:00
Ryan Murfitt
330d3471e7 trailing comma fix 2016-08-31 17:39:02 +10:00
Eslam A. Hefnawy
4d6ebd740f fixed conflicts with master 2016-08-31 16:37:58 +09:00
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
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
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