5365 Commits

Author SHA1 Message Date
Daniel Schep
9cf6e1eba7 lint 2019-01-22 14:24:16 -05:00
Daniel Schep
8543714f50 Fix sls plugin install -n @scoped/package 2019-01-22 14:18:46 -05:00
Philipp Muens
89d037c468
Merge pull request #5662 from jetbridge/master
Provide AWS_PROFILE from configuration for invoke local
2019-01-22 13:12:29 +01:00
Philipp Muens
da83822905 Fix and update tests 2019-01-22 13:01:24 +01:00
Philipp Muens
7bc381e06e
Merge pull request #5726 from toshi0607/features/add-google-go
Add google go template
2019-01-22 12:15:47 +01:00
Daniel Schep
011b579bd3
Merge pull request #5531 from exoego/logs-compact-permission
AWS: Consolidates Lambda::Permission objects for cloudwatchLog events
2019-01-21 14:51:07 -05:00
toshi0607
bf875a1d8c improve docs 2019-01-21 23:39:17 +09:00
toshi0607
c757f8a386 improve docs 2019-01-21 23:38:27 +09:00
toshi0607
e2e7160b76 fix mistakes 2019-01-21 22:34:58 +09:00
toshi0607
b58ec6aec7 🎉 add google go 2019-01-20 11:42:57 +09:00
Luan
91806cef44 Fix eslint issues
Signed-off-by: Luan <luan@luanmuniz.com.br>
2019-01-19 16:34:14 -02:00
Luan
96183686bf Create tests for #5664
Signed-off-by: Luan <luan@luanmuniz.com.br>
2019-01-19 16:27:43 -02:00
NomadBlacky
7f02d9714c Bump up sbt-plugins
+ sbt-assembly: 0.14.9
+ sbt-release: 1.0.11
2019-01-20 01:06:06 +09:00
NomadBlacky
83302b2883 Tweak build.sbt 2019-01-20 00:43:50 +09:00
NomadBlacky
404010ada5 Bump up aws-lambda-java-events in aws-scala-sbt 2019-01-20 00:42:33 +09:00
NomadBlacky
4942eabe34 Bump up Scala version to 2.12.8 in aws-scala-sbt 2019-01-20 00:40:55 +09:00
NomadBlacky
79084e2373 Bump up sbt version to 1.2.8 in aws-scala-sbt 2019-01-20 00:40:05 +09:00
NomadBlacky
1c0115ba50 Reduce files in aws-scala-sbt 2019-01-20 00:36:43 +09:00
Sebastian Domagała
b25582989e fix linting issues 2019-01-18 11:13:23 +01:00
Sebastian Domagała
9f89789742 add tests cases 2019-01-18 10:49:46 +01:00
Sebastian Domagała
61b0370957 cast account to to string if necessary 2019-01-18 10:32:10 +01:00
Jon Burgess
e30e24222b Don't add newlines to echoed input
Prior to this, debug output would look something like the following:

```
[1] pry(Kernel)>
f
o
o

=

"
f
o
o
"

=> "foo"

[2] pry(Kernel)>
```

i.e. there's a newline being added after each character is entered, making things somewhat difficult to read.
2019-01-18 11:56:30 +11:00
Jon Burgess
1530af2025 Make local ruby debugging work
This follows a similar change for local python invocation at ad5decb080/lib/plugins/aws/invokeLocal/invoke.py (L76-L82)

A handler such as the following will now pause at the breakpoint:

```ruby
require 'json'
require 'pry'

def hello(event:, context:)
  binding.pry # breakpoint
  { statusCode: 200, body: JSON.generate('Go Serverless v1.0! Your function executed successfully!') }
end
```
2019-01-18 11:37:08 +11:00
exoego
e334bcd40a Update message to include a case of complete deletion. 2019-01-18 06:26:30 +09:00
exoego
d4cb2b6684 Add tests. 2019-01-18 06:19:43 +09:00
Daniel Schep
d817ce08d4
Merge pull request #5687 from serverless/remove-platform-code
Remove platform code
2019-01-17 11:01:45 -05:00
exoego
d85a67cf37 Add detail and recovery operation. 2019-01-17 21:54:39 +09:00
Mischa Spiegelmock
b563fb218e attempting to create a test for invoke local with profile 2019-01-16 15:58:30 +02:00
Luan
79fe3adb85
Fix #5664 - Rollback fails due to a timestamp parsing error
When running sls rollback -t 1546961025152 the timestamp was being parsed as a string inside a Date Object.
This would return an Invalid Date, therefore, failing to convert the timestamp into a valid date.

In here we are checking to see if the date is already a valid one, otherwise convert the timestamp to a number and try again.
We are checking first because most cases we don't want to convert to numbers.

Fix #5664

Ps: We could add another check, if the date is still invalid, throw an Error, but that's not the scope of the issue.

Signed-off-by: Luan <luan@luanmuniz.com.br>
2019-01-16 10:46:00 -02:00
Philipp Muens
f83774469c
Merge pull request #5695 from gabrielkaputa/master
Increase @types/aws-lambda version in aws-nodejs-typescript template
2019-01-16 13:33:32 +01:00
Daniel Schep
c0a48b1ef7 remove use of Object.entries & String.includes & Array.includes 2019-01-16 07:32:07 -05:00
Sami Nurminen
d2ab71cc51 Convert reservedConcurrency to integer to allow use env var 2019-01-15 22:45:39 +02:00
Takahiro Horike
07154d772f
Merge pull request #5694 from exoego/cross-region-same-stack-name
AWS: Request cache should add region as key to prevent cross-region cache collision
2019-01-16 00:32:48 +09:00
softprops
3517b1f621 type in test description 2019-01-13 23:31:51 -05:00
Daniel Schep
96906c1c70
Merge pull request #5686 from exoego/validation-after-var-resolution
AWS: Fix stage name validation timing and allow hyphen
2019-01-13 20:25:53 -05:00
Gabriel Kaputa
011e8d52cb Increase @types/aws-lambda version in aws-nodejs-typescript template 2019-01-14 00:29:55 +01:00
softprops
c2a4e93844 add aws provider test for unsupported apigw stage desc fields 2019-01-13 15:06:36 -05:00
exoego
2f76b6e08d Fix linting error. 2019-01-13 22:35:06 +09:00
exoego
4d4824f719 Add new property in jsdoc. 2019-01-13 22:16:09 +09:00
exoego
5790c3a69c Fix request cache to consider cross-region for ${cf.REGION}. 2019-01-13 22:15:45 +09:00
softprops
cfafd3c941 fix 'npm run lint' errors 2019-01-13 01:14:47 -05:00
softprops
80a672a051 add support for apigw xray traces by way of stageDescription 2019-01-13 00:31:47 -05:00
Austen Collins
539059f520
remove platform code 2019-01-11 18:10:45 -08:00
Austen Collins
b015498042
remove platform code 2019-01-11 18:01:04 -08:00
Austen Collins
6e316cca61
remove platform code 2019-01-11 17:51:15 -08:00
Austen Collins
45c65ba07d
remove platform code 2019-01-11 17:23:19 -08:00
Austen Collins
2a690f8f4c
remove platform code 2019-01-11 17:04:31 -08:00
Austen Collins
010dabe6ae
remove platform code 2019-01-11 17:00:56 -08:00
Austen Collins
6898bd8efd
remove platform code 2019-01-11 16:59:15 -08:00
exoego
997ac354f7 Update test for regression. 2019-01-12 07:39:17 +09:00