5552 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
2a8fedc2f3 added tests 2019-02-27 17:34:29 +03:00
Eslam A. Hefnawy
e7c5acf6b8 tested authorizers 2019-02-27 15:54:13 +03:00
Eslam A. Hefnawy
c6f955ab00 added authorizer support 2019-02-26 16:44:58 +03:00
Eslam λ Hefnawy
9538caf089
Merge pull request #5443 from yahehe/master
Improves usage and documentation of SNS event sources.
2019-02-25 15:22:25 +03:00
Daniel Schep
b51d4a8b03
Merge pull request #5854 from tminussi/master
Removing the context parameter from aws-nodejs template
2019-02-22 10:37:56 -05:00
Daniel Schep
73990e316f sls print depends on the config of course! 2019-02-22 09:22:46 -05:00
Daniel Schep
10d1207bca follow up fixes for #5840 breaking sls print & autocomplete 2019-02-22 09:03:11 -05:00
Daniel Schep
79eff80cab
Merge pull request #5840 from danielcondemarin/packaging-exclude-only-config-file-being-used
Packaging exclude only config file being used
2019-02-22 08:30:07 -05:00
thales.sousa@philips.com
5c2e665fea Removing the context parameter as AWS itself no longer uses it on NodeJS functions created through AWS's console 2019-02-20 16:13:23 +01:00
Philipp Muens
b3d43379f5
Merge pull request #5839 from Xenonym/fix/template-install-name-undefined
Fix service name in template install message
2019-02-19 14:30:50 +01:00
Philipp Muens
3432a3e1dd Add tests 2019-02-19 14:20:56 +01:00
Daniel Schep
90b18b43a7
Merge pull request #5842 from exoego/ssm-json
AWS: ${ssm} resolve vairbale as JSON if it is stored as JSON in Secrets Manager
2019-02-19 08:18:53 -05:00
Eslam λ Hefnawy
3408a4ee15
Merge pull request #5824 from serverless/websockets
Add support for websockets event
2019-02-19 15:25:38 +03:00
Tan Zhen Yong
63b2d61704 Fix service name in template install message
- was previously displaying "undefined"
2019-02-18 23:47:42 +08:00
Philipp Muens
0968f12e89 Validation if event is either http or websocket 2019-02-18 09:59:35 +01:00
Philipp Muens
bad6a4a102 Fix displaying of services with REST and WSS APIs 2019-02-18 09:54:25 +01:00
exoego
616c744bd3 It should return json if referencing JSON in AWS SecretsManager. 2019-02-17 16:49:11 +09:00
danielconde
8a7d9113fc dont use destructuring as is not supported in earlier versions of node 2019-02-16 20:29:07 +00:00
danielconde
2d1fe72f6f fix linting issue 2019-02-16 19:57:05 +00:00
danielconde
95ec85581b getExcludes now returns a Promise and makes sure it only excludes serverless config file being used 2019-02-16 19:44:23 +00:00
danielconde
0d16fbc182 export getServerlessConfigFilePath in getServerlessConfigFile.js module 2019-02-16 17:58:49 +00:00
Philipp Muens
f3b6bf42ba Update templates 2019-02-15 14:13:41 +01:00
Philipp Muens
1661bf338b Add support string-based event definition 2019-02-15 14:09:36 +01:00
Philipp Muens
55036949a2 Change property name from routeKey to route 2019-02-15 12:07:07 +01:00
Philipp Muens
0fd67336f7 Rework error tests 2019-02-14 16:06:18 +01:00
Philipp Muens
c2a1bff60e Add unit tests 2019-02-14 15:45:49 +01:00
Tan Zhen Yong
998e8e5761 Add stack trace to error from AWS invokeLocal 2019-02-14 20:31:14 +08:00
Philipp Muens
8fce692dca Update check to use protocol / Add display tests 2019-02-14 12:32:01 +01:00
Philipp Muens
ff204eb302 Add websocket endpoint to outputs / display it via info 2019-02-14 12:10:01 +01:00
Tan Zhen Yong
749f5307b2 Indicate unused context in aws-nodejs-typescipt
- _ is used to exclude variables from unused parameter checks (Microsoft/TypeScript#9464)
2019-02-14 01:43:51 +08:00
Eslam A. Hefnawy
6f6f49d43e all routes working 2019-02-13 16:44:03 +03:00
Philipp Muens
b6e63f0e5e
Merge pull request #5825 from svlapin/fix/sl-override-wildcard-glob
Fix: override wildcard glob pattern (**) in resolveFilePathsFromPatterns
2019-02-13 13:03:50 +01:00
Philipp Muens
6dfe48513e Add clarification comment 2019-02-13 12:57:04 +01:00
Philipp Muens
415ca07f70
Merge pull request #5800 from a-h/enable_s3_encryption
Update bucket conf to default AES256 encryption.
2019-02-13 12:46:01 +01:00
danielconde
6508956da7 refactor getServerlessConfigFile to split getting the filePath responsability 2019-02-12 22:01:41 +00:00
Philipp Muens
e98127b80c
Merge pull request #5819 from srkiNZ84/master
Add Google Python function template
2019-02-12 11:12:20 +01:00
Serge Dukic
f6bf951499 Include Google Python template tests
Add a test for the Google Cloud Platform Python template test and also
update a couple of the documents as well.

Issue(s): None
2019-02-12 17:01:01 +13:00
Daniel Schep
7968df15d8
Merge pull request #5821 from danielcondemarin/add-container-command-type
add support for command type='container'
2019-02-11 16:10:21 -05:00
danielconde
5f14da535b make displayCommandUsage container command tests more explicit 2019-02-11 20:44:11 +00:00
Sergey Lapin
db47531bdb Allow override wildcard glob pattern (**) in resolveFilePathsFromPatterns 2019-02-11 16:32:29 +01:00
Eslam A. Hefnawy
231e96045f wip - websockets support 2019-02-11 18:24:54 +03:00
Daniel Conde
cac310dcb9 update comment to reflect command type check 2019-02-09 15:26:09 +00:00
Daniel Conde
1a4ce917a7 add support for command type='container' 2019-02-09 14:59:13 +00:00
Serge Dukic
1ed55034b8 Fix function name to be "http"
So that it matches what is in the "serverless.yml" file.

Issue(s): None
2019-02-09 21:22:21 +13:00
Serge Dukic
bfb38fca9f Fix typo in service name
Needs a space before the "hash" symbol otherwise YAML doesn't recognise
it as a comment.

Issue(s): None
2019-02-09 21:20:31 +13:00
Serge Dukic
c1d8e6ec24 Add Google Cloud Python template
Add a template for creating Python Serverless functions in Google Cloud.

Issue(s): None
2019-02-09 21:15:04 +13:00
Daniel Schep
5761d5ce27 forgot semi 2019-02-08 18:08:15 -05:00
Daniel Schep
1a3c6d36bc fix windows go rework.
I failed to properly test it after a slight refactor befor emerge
2019-02-08 18:00:17 -05:00
Daniel Schep
88a4ce07f0 simplify implementation since getGolanblaba func wasnt used more than once and add docs 2019-02-08 16:15:02 -05:00
Daniel Schep
8064022a7a fatter fingers 2019-02-08 13:00:26 -05:00