2423 Commits

Author SHA1 Message Date
Yunspace
0d652f287c upgraded fsharp example to dotnet 2.0, updated docs, unit and integration tests. Removed duplicate code from docs section 2018-02-23 20:50:00 +11:00
Takahiro Horike
897961d475
Merge pull request #4757 from alexindeed/master
Added IAM roles support
2018-02-22 14:37:43 +09:00
Alex
90f89ec2fd fixed attribute 2018-02-21 18:02:04 -08:00
Alex
0940fd4595 updated templates 2018-02-21 10:39:50 -08:00
Devin Fee
d1d1b05cea Fixed python module parsing (#4755)
* Fixed python module parsing

Ref: https://github.com/serverless/serverless/issues/4663#issuecomment-366931491

* Update index.js

* Update index.js
2018-02-21 18:59:42 +01:00
Frank Schmid
39caddc404
Merge pull request #4713 from erikerikson/fix-4687-cyclic-variable-dependencies
Eliminate/Report Hung Promises (#4687), Prepopulate Stage and Region (#4311), Handle Quoted Strings (#4734)
2018-02-20 13:56:27 +01:00
Erik Erikson
4400ffc9e4 fix #4311 & #4734, separate PromiseTracker, minutiae
#4311
  see prepopulateService - attempts to pre-populate the region and stage settings necessary for making a request to AWS, rejecting and dependencies thereon it runs into during that process
  see the `deep` variable work.  this was a knock-on effect of providing pre-population.  it actually represents an obscure class of bugs where the recursive population previously in getDeepValue caused the caller not to be in charge of population choices (thus fixing for pre-population) but also caused potential deadlocks resulting from getDeepValue creating circular dependencies.

#4734
  see splitByComma - a regex to do the splitting but ignore quoted commas was getting very deep and involved.  Instead, identify quoted string boundaries, then identify commas (including white space around them) and take those commas not contained by quotes as the locations for splitting the given string.  Trim the string as well (removing leading and trailing white space).
  add sophistication to the overwrite syntax, allowing for whitespace and repetitions (for robustness)
  add sophistication to the string ref syntax, allowing for use in identifying multiple quoted strings in a variable (i.e. for overwrites)

#NotCreated
  fix a bug I created earlier in the branch that caused reporting to be less informative (see renderMatches)

separate PromiseTracker
  move this class into its own file for the purpose of increasing testability and offering reuse

minutiae
  filter the properties given to populateVariables so as to avoid attempting resolution on non-variables.  Efficiency and noise reduction change.  Also cleans up the code (e.g. see populateObject and its use)
  cleaning of overwrite as a side effect
  offer variable cleaning as a idiom
  reorder the Variables.js `require`s to be in alphabetical order
2018-02-16 17:13:03 -08:00
Christopher Osborn
edd863be01
Wraps Poorly Parsing URL in Angle Brackets
As suggested by <https://tools.ietf.org/html/rfc3986?#appendix-C>.

[#4674]
2018-02-12 16:54:00 -05:00
Alex
8083fd5ef9 removed json from yml 2018-02-08 13:24:20 -08:00
Alex
e894983ad0 squashed commit 2018-02-06 17:13:08 -08:00
Alex Gaesser
53e7d87eac
Update serverless.yml 2018-02-05 10:55:19 -08:00
Alex Gaesser
fc6b83a1ee
Update serverless.yml 2018-02-05 10:55:01 -08:00
Alex Gaesser
fe2b9ad3ab
Update serverless.yml 2018-02-05 10:54:35 -08:00
Alex Gaesser
50c2299414
Update serverless.yml 2018-02-05 10:53:42 -08:00
Alex Gaesser
563778810d
added activeVersions attribute 2018-02-02 11:58:45 -08:00
Alex Gaesser
8c5712b54e
added activeVersions attribute 2018-02-02 11:57:48 -08:00
Alex Gaesser
8cfa96e495
added activeVersions attribute 2018-02-02 11:57:23 -08:00
Alex Gaesser
c7e49960b9
added activeVersions attribute 2018-02-02 11:56:48 -08:00
Frank Schmid
022e99f77c
Added rejection instead of throw for consistency 2018-01-31 11:28:45 +01:00
Michał Zalewski
8833893481 Changed warning to error message if reservedConcurrency is non-integer 2018-01-31 08:50:54 +01:00
Michał Zalewski
0204420324 Added support for concurrency option in AWS Lambda
AWS Lambda has support for concurrency limit and it should be supported
in serverless.yml
2018-01-30 22:53:28 +01:00
Takahiro Horike
6aac1074df
Merge pull request #4678 from und3fined/master
remove aws credentials.signatureVersion in `enableS3TransferAccelerat…
2018-01-25 22:27:40 +09:00
Yun Zhi Lin
df85e2d9bc add support for AWS go: new create templates aws-go and aws-go-dep, docs, updated integration tests 2018-01-23 23:52:51 +11:00
CuongLe
0283af7a3e remove aws credentials.signatureVersion in enableS3TransferAcceleration
Fix error: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.

See more: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
2018-01-23 12:38:05 +07:00
Takahiro Horike
31d536cd8c
Merge pull request #4658 from drexler/source-maps-nodejs-typescript-template
enable source map generation for nodejs-typescript example
2018-01-22 22:42:22 +09:00
Andres
298154abf1 Update documentation and templates for serverless-kubeless 0.3 2018-01-18 17:08:14 +01:00
drexler
f88415eedd enable source map generation for nodejs-typescript example 2018-01-16 08:07:55 -05:00
Takahiro Horike
63f15f6741
Merge pull request #4650 from thomasmichaelwallace/master
allow authorizer.name to override implied authorizer.arn name.
2018-01-16 08:55:01 +09:00
Takahiro Horike
99fc58adf0
Merge pull request #4407 from serverless/ValidateRemove
Add validation to remove command
2018-01-13 14:54:02 +09:00
Takahiro Horike
4b71faf212
Merge pull request #4596 from Instabridge/invokelocal-pojo
InvokeLocal/Java: support POJO input and different handler names
2018-01-13 14:53:12 +09:00
Takahiro Horike
5d8acc3853
Merge pull request #4601 from willwhy/4569-cloudwatchlog-filter
improve aws cloudwatchlog filter #4569
2018-01-13 14:52:54 +09:00
thomasmichaelwallace
1ae47641b1 allow authorizer.name to override implied authorizer.arn name. 2018-01-12 13:57:21 +00:00
Takahiro Horike
c3258e1668
Merge pull request #4643 from dschep/py-invoke-local-unbuffered
Don't have Python buffer it's output in invoke local
2018-01-12 11:50:22 +09:00
Heechul Ryu
90bc9ff6d9 Bump serverless-kubeless to 0.2.4 2018-01-12 10:41:39 +09:00
Daniel Schep
211ba71077 Don't have Python buffer it's output 2018-01-10 18:38:17 -05:00
Takahiro Horike
361fdc75cf
Merge pull request #4640 from GuidoS/master
update aws-scala-sbt template #4634
2018-01-11 00:19:53 +09:00
Guido Stein
0226d72924 update aws-scala-sbt template #390 2018-01-10 09:42:09 -05:00
Alex Casalboni
407b0f06e6 BbPromise.reject instead of throwing error 2018-01-08 15:03:41 +01:00
Alex Casalboni
c720018125 test typo 2018-01-07 17:38:43 +01:00
Alex Casalboni
1aee4b8240 updated tests (100% file coverage) 2018-01-07 17:30:18 +01:00
Alex Casalboni
a9b82e538c Added new no-aws-s3-accelerate argument to explicitly disable S3 Transfer Acceleration (updated doc too) 2018-01-07 17:29:54 +01:00
Alex Casalboni
4de092c092 not setting 'Suspended' acceleration by default (permission would be required!) 2018-01-07 16:37:23 +01:00
Takahiro Horike
13bda4bf1e
Merge pull request #4247 from hgiasac/sls-shared-api
WIP - Added support for using an existing ApiGateway and Resources
2018-01-06 15:42:00 +09:00
Takahiro Horike
45f5e15550
Merge pull request #3953 from lovenm/master
Fix issues with HTTP integration
2018-01-06 00:56:35 +09:00
horike37
1a2c9b631b Merge branch 'master' into ValidateRemove 2018-01-05 12:22:12 +09:00
horike37
408ed25ca4 Merge branch 'master' into 4569-cloudwatchlog-filter 2018-01-05 11:05:26 +09:00
Will Yang
5a0a31f8a0 use double quotes string to be better to represent the test case 2018-01-05 09:37:19 +11:00
Takahiro Horike
c639e30b18
Merge pull request #4583 from jeffnoehren/master
Spotinst - adding Java8 template and updating docs
2018-01-05 03:05:56 +09:00
Takahiro Horike
92c16ab051
Merge pull request #4576 from ChristopheBougere/master
Added a `--template-path` option to `serverless create`
2018-01-05 02:45:45 +09:00
Christophe Bougère
49bfee948b sym links:
- adding a noLinks option
- unit test for sym links
2018-01-04 13:03:06 +01:00