Eetu Tuomala
0cdcd8649c
fix usage plan and usage plan key naming, create api gateway stage with cloudformation, disassociateUsagePlan on remove
2017-06-13 12:58:11 +03:00
Eetu Tuomala
1bf1f5bd0e
add ref to api stage api id
2017-06-13 12:58:11 +03:00
Eetu Tuomala
fb45f4ef98
add usage plan to api gateway
2017-06-13 12:58:11 +03:00
Philipp Muens
6e807fa1bf
Update code to be run on "deploy" and "package"
2017-06-13 08:39:01 +02:00
Philipp Muens
b43a421d38
Update code to re-use existing utils functionality
2017-06-12 11:13:01 +02:00
Philipp Muens
c5333aa165
Merge pull request #3778 from ryanmurakami/simpler-azure
...
Simplify Azure Template
2017-06-12 10:51:08 +02:00
Philipp Muens
0dca35a2c1
Throw error when command not run in service
2017-06-12 10:38:59 +02:00
Philipp Muens
a8e847a72a
Merge pull request #3752 from joeyvandijk/patch-1
...
Support "Task timed out" warnings as HTTP 504-errors
2017-06-12 10:35:15 +02:00
Philipp Muens
6aa415545e
Merge pull request #3739 from j0k3r/fix-cf-variable
...
Throw an Error when requested Cloudformation variable does not exist
2017-06-12 10:23:44 +02:00
Philipp Muens
719d0361a6
Merge pull request #3729 from alexcasalboni/issue-3698
...
Fix #3698 : Throw error if an individual package is empty
2017-06-12 10:14:55 +02:00
Philipp Muens
2a9636a18c
Fix updateAutocompleteCacheFile() bug caused by empty commands object
2017-06-12 09:08:27 +02:00
Ryan Lewis
0bd6a458ed
lint error
2017-06-11 12:26:58 -07:00
Philipp Muens
0e4aceb704
Update error message
2017-06-11 21:14:12 +02:00
Philipp Muens
13ff0d6453
Fix test
2017-06-11 21:02:56 +02:00
Philipp Muens
dc677b8e9c
Update error message
2017-06-11 21:02:25 +02:00
Philipp Muens
39f0ad94a5
Merge pull request #3746 from HyperBrain/filter-nested-entrypoints-for-help
...
Filter nested entrypoints on getCommands(). Used by help.
2017-06-11 20:59:45 +02:00
Ryan Lewis
cfa4faf2bf
don't forget x
2017-06-11 11:52:57 -07:00
Ryan Lewis
6e660a159c
removing complexity in azure template
2017-06-11 11:51:24 -07:00
Philipp Muens
ab246085bd
Fix postinstall error
2017-06-09 18:00:31 +02:00
Nik Graf
3cfcd86cbd
update graphql endpoint
2017-06-09 17:20:58 +02:00
Eslam A. Hefnawy
9b066ae8d2
removed external module test
2017-06-08 20:30:52 +07:00
Eslam A. Hefnawy
cb14676e76
fixed tests for async autocomplete
2017-06-08 20:04:46 +07:00
Joey van Dijk
b677dac3ef
fix unnecessary escape characters
2017-06-08 10:46:33 +02:00
Joey van Dijk
7caa15dbf7
fix Travis test
2017-06-08 10:42:19 +02:00
Joey van Dijk
660e0b3a8f
Support "Task timed out" warnings as HTTP 504-errors
...
Currently if Lambda functions have a timeout then you will not see any errors in Cloudwatch, while the user gets a 200 http response code with `{ errorMessage: 'Task timed out in 10.0 s'}`.
This change will show 5XX errors in Cloudwatch.
To support this I need to copy all the default patterns in `serverless.yml` per function, so therefore I think this need to be a default setting, while this is not caused by the Serverless(/our) code but by AWS Lambda itself.
2017-06-08 10:36:36 +02:00
Philipp Muens
ee14ce9f36
Minor code changes and test improvements
2017-06-08 09:54:46 +02:00
Philipp Muens
9b6cd8f331
Simplify code / make test more restrictive
2017-06-08 09:30:43 +02:00
Brian Neisler
851df3921a
Make autocomplete async through promises
2017-06-07 18:40:05 -07:00
Brian Neisler
c00e1df7ae
Add async file utils
2017-06-07 16:03:22 -07:00
davidwells
75a97441a1
run autocomplete.json creation in async fashion
2017-06-07 15:15:11 -07:00
davidwells
75af2ae3dd
silently fail on FS error
2017-06-07 13:48:47 -07:00
Eslam A. Hefnawy
eb656d6dec
added sls to autocomplete
2017-06-08 02:01:50 +07:00
Eslam A. Hefnawy
5696513789
added cache file validation by hash to autocomplete
2017-06-08 01:27:11 +07:00
Eslam A. Hefnawy
b527164611
init serverless if cache file does not exist
2017-06-07 23:50:31 +07:00
Frank Schmid
6bbe0b01f5
Added unit test for getCommands()
2017-06-07 17:44:18 +02:00
Frank Schmid
b73466641e
Filter nested entrypoints on getCommands(). Used by help.
2017-06-07 17:24:37 +02:00
Eslam A. Hefnawy
82a00d72da
removed md5 package
2017-06-07 22:02:39 +07:00
Eslam A. Hefnawy
e2cc1451a5
resolved comments on autocomplete
2017-06-07 22:02:23 +07:00
Eslam A. Hefnawy
67dc1c2463
using cache file for autocomplete
2017-06-07 22:01:15 +07:00
Eslam A. Hefnawy
01c8f87705
added autocomplete
2017-06-07 22:01:15 +07:00
Nik Graf
d55048418a
update platform api url
2017-06-07 10:54:47 +02:00
Jeremy Benoist
ca202c5672
Throw an Error when requested variable does not exist
...
When we define a cf variable in serverless.yml and that variable wasn't output from the Cloudformation Outputs
a useless error was throw:
> Cannot read property 'OutputValue' of undefined
Now the error give more information:
> Trying to request a non variable from Cloudformation.
> Stack name: "some-stack" Requested variable: "DoestNotExist"
2017-06-06 17:18:33 +02:00
Eslam λ Hefnawy
050f968fc7
Merge pull request #3692 from serverless/fix-cors-origin-config
...
Fix CORS origin config
2017-06-06 18:49:19 +07:00
Eslam λ Hefnawy
12eb950a86
Merge pull request #3672 from serverless/add-kms-key-support
...
Add KMS key support
2017-06-06 18:36:19 +07:00
Philipp Muens
948fbf6d4c
Merge master
2017-06-06 09:51:54 +02:00
Philipp Muens
f1df11abd2
Merge pull request #3657 from hassankhan/add-cognito-user-pool-triggers
...
Add Cognito User Pool Triggers
2017-06-06 09:47:19 +02:00
Alex Casalboni
c74965da11
Fixed linting
2017-06-05 18:01:04 +02:00
Alex Casalboni
d5f5f92f48
Raise error if no file matches before zipping
2017-06-05 17:36:14 +02:00
Alex Casalboni
e29397ca5c
Added test to verify error if no file matches before zipping
2017-06-05 17:35:40 +02:00
Eslam λ Hefnawy
0997b328e4
Merge pull request #3705 from serverless/fix-s3-event-race-condition-bug
...
Fix s3 event race condition bug
2017-06-05 20:24:46 +07:00