8288 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
aa24154ca9 updated menu 2018-02-21 11:10:43 -08:00
Alex
ecf37ebaab updated links 2018-02-21 10:49:29 -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
Takahiro Horike
ac5b6df517
Merge pull request #4756 from atsuky/patch-1
Fixed a typo
2018-02-21 18:28:20 +09:00
Andreu Gallofré
e572563441
Fixed a typo
It's supposed to say python code, but it says nodejs two times
2018-02-21 10:06:53 +01:00
Alex
3b278f4d6b added IAM roles docs 2018-02-20 16:16:55 -08: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
Takahiro Horike
9849e926d1
Merge pull request #4741 from chrisoverzero/feature/angle-brackets
Wraps Poorly Parsing URL in Angle Brackets
2018-02-19 08:36:10 +01:00
Erik Erikson
ffc7686465 fix pending promise test bugs 2018-02-16 18:46:28 -08:00
Erik Erikson
91f50f6918 add 'use strict' for node 4.x and 5.x 2018-02-16 17:26:40 -08: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
Takahiro Horike
63517f6a30
Merge pull request #4736 from alexindeed/master
Spotinst - Updated the documentation, menu order
2018-02-11 11:52:09 +09:00
Takahiro Horike
97b6328438
Merge pull request #4733 from msfidelis/serverless-architecture-boilerplate
Add serverless-architecture-boilerplate
2018-02-09 09:17:03 +09:00
Alex
4218e77bca updated description 2018-02-08 15:29:34 -08:00
Alex
d4598f758f formatting 2018-02-08 15:25:05 -08:00
Alex
c4c0dc8e02 resolved merge conflict 2018-02-08 15:18:15 -08:00
Alex
4cfa8afaf1 formatting, page order corrected 2018-02-08 15:05:04 -08:00
Alex
c1bd397b4c refactored json to yml 2018-02-08 14:41:37 -08:00
Alex
8083fd5ef9 removed json from yml 2018-02-08 13:24:20 -08:00
Matheus Fidelis
396c800fff
Add serverless-architecture-boilerplate 2018-02-08 18:09:02 -02:00
Takahiro Horike
85ae7a72b0
Merge pull request #4731 from tomdyson/patch-1
Google docs intro typo
2018-02-08 18:42:26 +09:00
Takahiro Horike
bc17f3ab6f
Merge pull request #4730 from jeffnoehren/master
Spotinst - reorganizing guide structure for readability
2018-02-08 17:53:57 +09:00
Tom Dyson
037a9de63e
Google docs intro typo 2018-02-08 08:51:06 +00:00
jeffnoehren
9b53816716 Spotinst - reformatting docs to be more readable 2018-02-07 16:36:20 -08:00
Jeffrey Noehren
404e780c8c
Merge pull request #11 from serverless/master
updating branch
2018-02-07 16:07:59 -08:00
Takahiro Horike
a876d6734d
Merge pull request #4727 from alexindeed/master
Spotinst: Added support for CORS for Functions
2018-02-07 10:49:03 +09:00
Alex
cfe4f4b12b Merge branch 'master' of https://github.com/alexindeed/serverless 2018-02-06 17:13:19 -08:00
Alex
e894983ad0 squashed commit 2018-02-06 17:13:08 -08:00
Erik Erikson
3606589ff2 Do not double-reject errors
Calling .then here creates a new promise.  One that is not returned and generating a rejection within that promise can lead to unhandledRejection events being inappropriately raised.
As such, don't declare unneeded variables.
2018-02-06 16:35:16 -08:00
Alex Gaesser
42b2132072
Update cors.md 2018-02-05 19:20:58 -08:00
Alex
77582bd341 updated templates, added CORS support and docs 2018-02-05 17:53:39 -08:00
Alex Gaesser
8dde4c7e22
Merge pull request #1 from serverless/master
update fork
2018-02-05 15:10:09 -08:00
Takahiro Horike
fe89d4071d
Merge pull request #4709 from alexindeed/master
Spotinst - added activeVersions documentation, updated Spotinst templates
2018-02-06 04:32:21 +09:00
Alex Gaesser
5811752483
corrected format 2018-02-05 10:57:07 -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
Takahiro Horike
da06e3680b
Merge pull request #4718 from otakumesi/fix-typo-readme
Fix typo in README.md
2018-02-05 11:00:42 +09:00
Takuro Niitsuma
a0e70268f0 Fix typo in Plugins 2018-02-05 10:35:40 +09:00
Takahiro Horike
31ce370510
Merge pull request #4706 from emaildano/patch-1
Update README.md
2018-02-04 12:11:43 +09:00
Erik Erikson
8f69678a88 remove .only from describe for Variables tests
add expected rejection message
2018-02-03 13:14:11 -08:00
Erik Erikson
c18eb70a28 Eliminate Deadlocks, Report Hung Promises (#4687)
Add a "PromiseTracker" to the Variables class.  It provides tracking and reporting of pending variable resolutions during service populations.
Decompose populateObject and populateProperty into smaller pieces that are easier to understand.
Additionally, remove the immediate recursive resolution of variables, recursing only at the Object or Property entry point (when changes have been made).  This avoids a problem where the resolved value, prior to being replaced in the containing object or value refers to itself and thereby is waiting on its own resolution before it will resolve itself.
Return the given value in warnIfNotFound so that it can chain.
2018-02-02 19:29:19 -08:00
Takahiro Horike
21c7f1fe9e
Merge pull request #3799 from hassankhan/fix-borked-cup-triggers
Fix broken merge in CUP compile event. Fixes #3773.
2018-02-03 11:10:58 +09:00
Alex Gaesser
563778810d
added activeVersions attribute 2018-02-02 11:58:45 -08:00