318 Commits

Author SHA1 Message Date
Florian Motlik
f517b389f4 Merge pull request #2014 from mallzee/custom-codes-support
Custom status codes support
2016-10-14 12:25:41 +02:00
WooDzu
2a9ae98325 default stack tags should be extended instead of replaced 2016-10-13 08:41:32 +02:00
WooDzu
c47ce0827a fix linting errors 2016-10-13 07:44:13 +02:00
WooDzu
73074ed8f6 Implement custom Stack Tags and Policy #1956 2016-10-13 07:39:57 +02:00
Philipp Muens
a7a04eb6f6 Closes #2292 - Remove outdated README.md files 2016-10-11 20:21:27 -07:00
Jamie Sutherland
3f96c0d770 refactor(methods): Request parameters 2016-10-11 13:48:24 +01:00
Jamie Sutherland
d3c5d37230 feat(methods): Add multiple response templates per content type 2016-10-11 13:05:12 +01:00
Jamie Sutherland
27bbbb912b fix(methods): Add default 200 code if one is not supplied 2016-10-11 13:05:12 +01:00
Jamie Sutherland
5c0050d1a0 fix(methods): CORS preflight retains origin and headers per path
closes #2024 #1960
2016-10-11 13:05:12 +01:00
Jamie Sutherland
87a0bd3b7e feat(methods): Add custom codes support 2016-10-11 13:05:12 +01:00
Philipp Muens
26b1ac9578 Merge pull request #2056 from svdgraaf/feature/method-parameters
Add parameters to http event
2016-10-10 11:06:04 -07:00
Sander van de Graaf
b1b5fae554
make eslint happy 2016-10-10 14:51:40 +02:00
Sander van de Graaf
52c92d8e3c
fixed test for request parameters 2016-10-10 10:18:21 +02:00
Eslam λ Hefnawy
2699cd8cbf Merge pull request #2271 from marcuswhybrow/patch-3
Correctly Escape Form URL Encoded Values
2016-10-10 14:43:43 +07:00
Sander van de Graaf
4ac6c330fb
fixed rebase with master 2016-10-10 09:28:38 +02:00
Philipp Muens
25b5d2af91 Update stream docs to be more explicit 2016-10-07 08:56:49 -07:00
Philipp Muens
af8688dfb2 Fix typo (batchSize) in docs 2016-10-07 08:43:39 -07:00
Philipp Muens
aaa1ef6fdc Remove non-alphanumeric characters in resource logical ids 2016-10-07 08:43:39 -07:00
Philipp Muens
d8859bf157 Update code so that the stream event source is service independent
This way both, DynamoDB and Kinesis streams can be used with the help of the
"stream" event rather than two different event types ("dynamodb" and "kinesis").
2016-10-07 08:43:39 -07:00
Philipp Muens
802517b5da Update resource logical id naming 2016-10-07 08:43:39 -07:00
Philipp Muens
239d9b31ad Add enable / disable support 2016-10-07 08:43:39 -07:00
Philipp Muens
c403a6de0d Add DependsOn "IamPolicyLambdaExecution" definition 2016-10-07 08:43:39 -07:00
Philipp Muens
f56a0a2c7b Update resource logical id so that it includes the table name 2016-10-07 08:43:39 -07:00
Philipp Muens
4ade196d9f Add AwsCompileDynamoDbEvents plugin 2016-10-07 08:43:39 -07:00
Marcus Whybrow
9e89979ec4 escape body keys and values in default template
Fixes #2270
2016-10-07 01:48:00 +01:00
Philipp Muens
8ba191a5d7 Update misleading comment 2016-10-04 13:53:02 -07:00
Philipp Muens
0e9ad41250 Remove resetting of request / response config and show a warning message instead 2016-10-04 13:53:02 -07:00
Philipp Muens
96537755b3 Update integrationResponses to be an array 2016-10-04 13:53:02 -07:00
Philipp Muens
2ebfd90893 Fix linting errors 2016-10-04 13:53:02 -07:00
Philipp Muens
0ea8ab732c Make tests for config clearing when using AWS_PROXY more explicit 2016-10-04 13:53:02 -07:00
Philipp Muens
090aa52bf1 Reset / remove irrelevant configuration when AWS_PROXY is used 2016-10-04 13:53:02 -07:00
Philipp Muens
3b1eec6155 Add Lambda proxy functionality for API Gateway 2016-10-04 13:53:02 -07:00
David Tanner
4d34dfde44 Merge with master.
There was a merge issue with createStack
2016-10-03 09:11:15 -06:00
Eslam λ Hefnawy
ec3182985f Merge pull request #2068 from medhoover/s3_event_rules
S3 event rules
2016-10-03 18:01:49 +07:00
Philipp Muens
94792284c8 Merge pull request #2198 from zorrofox/master
fix: #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-30 23:03:01 +02:00
David Tanner
b97c7176d5 Fix issue using this.bucketName, but the bucket on the service package instead.
Also added the content-type to the json file so you can read the file in the browser.
2016-09-30 08:30:35 -06:00
Mohamed Gharsallah
c0489ad754 update tests 2016-09-30 14:42:07 +01:00
Mohamed Gharsallah
645491e63b remove not important s3 event verification 2016-09-30 14:41:59 +01:00
zorrofox
9d04ca0a68 modify error message according to the review 2016-09-30 09:22:20 +01:00
David Tanner
71c649b6aa Fix linting issue 2016-09-28 09:33:00 -06:00
David Tanner
f544b778cb Cleaning up the tests to avoid timeouts, might be because of writing file? 2016-09-28 09:27:43 -06:00
David Tanner
4f9f173a3c Fix linting issues, and restore deployFunction 2016-09-28 09:09:21 -06:00
David Tanner
68ef4ceab7 Move CF stack configuration to one place.
The stack is now set up in one place.
The S3 bucket isn't created on create if a bucket is already specified.
Working on configurability for the developer.
There is still the possibility of failing to deploy the stack
if the iamRoleArn is set, and a deploymentBucket is specified
2016-09-28 08:27:09 -06:00
Florian Motlik
e1adf6e921 Merge pull request #2175 from serverless/fix-api-key-value-displaying-in-info-plugin
Fix api key value displaying in info plugin
2016-09-28 16:03:21 +02:00
eL0ck
4fa7457f24 fixed. Was incorrectly catching non-http events as empty http events 2016-09-28 08:49:51 +02:00
eL0ck
0f2510eac4 fixed inconsistent error message 2016-09-28 08:49:51 +02:00
eL0ck
dc0b252564 fixed merge error. Tests all passing 2016-09-28 08:49:51 +02:00
eL0ck
a1563a3a73 fix http event validation 2016-09-28 08:47:43 +02:00
Mohamed Gharsallah
9db30f620b Add unit tests 2016-09-27 21:30:55 +01:00
Mohamed Gharsallah
b69d1c0dc6 check for event prop when s3 rules prop is defined 2016-09-27 21:30:15 +01:00