3059 Commits

Author SHA1 Message Date
Philipp Muens
a0b9951ac2 Move from object syntax to simple string syntax 2019-02-27 13:26:15 +01:00
Philipp Muens
4bd8b593b9 Add AWS x-ray support for Lambda 2019-02-27 13:26:15 +01:00
Paul N. Baker
473b4d166c Accidently forgot to update code to point to updated log4j2 references. Fixing a typo in dependency name. Adding missing dependency information for plugin. 2019-02-26 15:17:06 -07:00
Paul N. Baker
bc89ef1f23 Updating Kotlin
Kotlin has been updated, and since we are targeting jdk-8 we want to take advantage of the Java 8 runtime features that are not available in Kotlin without specifying that we are using Java 8.

http://kotlinlang.org/docs/reference/whatsnew12.html#standard-library
2019-02-26 14:31:33 -07:00
Paul N. Baker
6bf5c0e6ac log4j2 fixes
Logging in Java along with log4j2 and must have specific libraries and configurations to be sucessful in AWS Lambda. Since the target is Java 8 (currently supported aws-lambda runtime) this is essential.
2019-02-26 14:28:03 -07:00
Paul N. Baker
dfc3b49336 Adding BOM and jackson-module-kotlin
The bill of matierals helps manage the various verions of the modules and is the prefered method of managing adjacent dependencies when available. jackson-module-kotlin provides a module for Kotlin/Jackson interop.
2019-02-26 14:22:14 -07:00
Philipp Muens
cf283381da
Merge pull request #5274 from Vol4Life27/add-s3-deployment-resource-tagging
Added ability to add S3 deployment resource tags
2019-02-25 15:00:16 +01:00
Philipp Muens
e8ccc7afe6 Replace tagging of uploaded artifacts with resource tagging of bucket 2019-02-25 14:37:26 +01: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
Philipp Muens
627600fca7 Fix tests 2019-02-21 13:13:12 +01: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
0f2b3e7d8d Merge branch 'master' into add-s3-deployment-resource-tagging 2019-02-19 15:28:26 +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
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
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
Corey Walker
1de43e477b
Changed format to use same tagging format as other properties 2019-02-15 17:12:57 -05: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
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
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
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
Daniel Schep
1d07558b05 fat fingers 2019-02-08 12:56:55 -05:00