1189 Commits

Author SHA1 Message Date
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
John McKim
d348e9d4ab update tests to check arguments 2016-08-31 17:58: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
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
堀家隆宏
d9c62e68fb Add iamRoleARN to serverless.yml 2016-08-28 22:36:06 +09:00
Thomas Eschemann
10ab716c09 fix authorizer creation error when no TTL is supplied
fix lint issues
2016-08-26 12:39:40 +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
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
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
fcd5f2f3d9 Fix issues with deploying individual functions 2016-08-24 07:26:14 +10:00