8199 Commits

Author SHA1 Message Date
Brendan Jurd
7e8ed172a4
Grammar fix in AWS VPC documentation
Fix lose/loose error.
2017-12-15 16:08:50 +11:00
Takahiro Horike
7869f6fdad
Merge pull request #4579 from direvus/patch-2
Fix typo in API Gateway doc
2017-12-15 12:35:12 +09:00
Brendan Jurd
6904a9afa4
Fix typo in API Gateway doc 2017-12-15 13:33:54 +11:00
jeffnoehren
0af1705fdc Spotinst - updating document store docs 2017-12-14 16:54:34 -08:00
jeffnoehren
35507cb629 Spotinst - updating document store docs 2017-12-14 16:50:55 -08:00
jeffnoehren
564a66fd3a Spotinst - updating document store doc 2017-12-14 16:49:55 -08:00
jeffnoehren
3686b1f6dc Spotinst - updating document store docs 2017-12-14 16:45:59 -08:00
Christophe Bougère
61cbeb1645 - adding a --template-url option for sls create
- update `walkDirSync` to ignore symbolic links (now ignore node_modules linked via `npm link`)
2017-12-14 16:15:14 +01:00
Brendan Jurd
9023db03ae
Fix example in AWS Packaging guide doc
The example here contradicted the preceding paragraph, which explains that you should either use include/exclude, or artifact, but not both.  However the example then shows the use of include, exclude and artifact all together.

To resolve, I removed the include and exclude options from the example.
2017-12-14 15:02:02 +11:00
Takahiro Horike
b3b5cba3b9
Merge pull request #4574 from direvus/patch-2
Remove outdated para from AWS Credentials doc
2017-12-14 12:46:49 +09:00
Takahiro Horike
1fb33f055c
Merge pull request #4573 from direvus/patch-1
Grammar fix in AWS Credentials doc
2017-12-14 12:35:39 +09:00
Brendan Jurd
5d2a86ceed
Remove outdated para from AWS Credentials doc
The removed paragraph refers to providing credentials instructions for multiple different cloud providers, whereas this doc is for AWS credentials only.

It seems likely that this paragraph was written at a time when there was a single document to cover credentials for all providers, but now that each provider has its own credentials doc, it no longer makes sense, and was probably left in place by accident.
2017-12-14 14:16:13 +11:00
Brendan Jurd
0b7b2a3a04
Grammar in AWS Credentials doc 2017-12-14 14:06:19 +11:00
Erik Erikson
13ae54cacc Fix Cycles Crash (#4556)
Replace the existing service and clear the cache (which references the ammended service)
Remove cycles in that service using json-cycle.
Dump the decycled object as YAML to console.
2017-12-13 16:39:06 -08:00
Frank Schmid
f62116cecf
Merge pull request #4560 from erikerikson/fix-resolve-signature-and-calls
Improve Stage and Region Usage
2017-12-12 21:25:39 +01:00
Erik Erikson
ca5ba8daac Remove unused parameters in platform.js (and deal with consequences)
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00
Frank Schmid
c6038feb46
Merge pull request #4561 from hassankhan/update-aws-nodejs-typescript-template
Add type `APIGatewayEvent` to handler
2017-12-12 10:21:38 +01:00
Hassan Khan
b4b2803a4e Add type APIGatewayEvent to handler 2017-12-12 06:17:35 +00:00
Takahiro Horike
c0967caf14
Merge branch 'master' into sls-shared-api 2017-12-12 13:15:44 +09:00
Takahiro Horike
ce10e2c2c5
Merge pull request #4559 from serverless/fix-plugin-search-bug
Fix the plugin commands fail if listed plugins does not exist
2017-12-12 11:43:19 +09:00
Erik Erikson
bf8d57fa9f Improve Stage and Region Usage
Remove the errant (but understandable) distributed usage of region and stage settings.  This otherwise locks in a multitude of bugs around the improper algorithm for selecting (given all context) the proper region or stage setting.  Instead, all code should use the centralized algorithm for determining such values.  This creates a strange first and second class configuration concept but these two are sufficiently varied and complex in their creation and use that this seems appropriate.
2017-12-11 16:39:44 -08:00
horike37
355bfa01c0 fix the plugin commands bug 2017-12-12 05:05:00 +09:00
Takahiro Horike
1fb90f6dc1
Merge pull request #4537 from serverless/fix-resolve-signature-and-calls
Remove not used parameters from request() and add options hive
2017-12-12 01:47:04 +09:00
Takahiro Horike
24ce96da84
Merge pull request #4552 from jamestharpe/master
Installs @types/aws-lambda and uses types in handler, per issue #4546
2017-12-12 00:14:03 +09:00
Frank Schmid
e4a5a1d43c
Do not log warning if no options are given 2017-12-11 12:33:40 +01:00
Frank Schmid
81c896bc12
Removed reintroduction of stage+region in request. Added options.
Delete bucket was still using them

Hopefully all :)

Further test fixes.

.... worked too long yesterday

Fixed Variable tests

Remove not used parameters from request() and add options with warning
2017-12-11 12:33:35 +01:00
Frank Schmid
be68deefe1
Merge pull request #4144 from serverless/circular-vars
Added support for circular references in the variable system
2017-12-11 10:55:38 +01:00
James Tharpe
e16092cc4c Installs @types/aws-lambda and uses types in handler, per issue #4546 2017-12-10 19:48:34 -05:00
Takahiro Horike
12ec3df56f
Merge pull request #4531 from serverless/RegionalEndpoint
Add API Gateway endpoint configuration
2017-12-11 01:07:02 +09:00
Takahiro Horike
13cd6d8c47
Merge pull request #4547 from jamestharpe/master
Adds @types/node per #4546
2017-12-10 23:09:16 +09:00
James Tharpe
b9efc45ba1 Updates severless-webpack to ^4.0 per request from @HyperBrain 2017-12-10 08:02:05 -05:00
James Tharpe
b397858ef2 Adds @types/node per #4546 2017-12-09 16:25:06 -05:00
Alex DeBrie
a9e8080aec Fix CloudFormation for endpoint configuration 2017-12-09 12:43:19 +00:00
Toan Nguyen
9a8b1337ef fix test script 2017-12-09 18:42:09 +07:00
Toan Nguyen
d3071fdc32 fix test script 2017-12-09 17:56:42 +07:00
Toan Nguyen
bd80e3412f fixed undefined resource name if all resources are predefined 2017-12-09 17:50:46 +07:00
Toan Nguyen
11e2455c70 solve package.json conflicted 2017-12-09 17:35:49 +07:00
Toan Nguyen
959c2fb4dd fixed undefined resource name if all resources are predefined 2017-12-09 17:21:48 +07:00
Frank Schmid
05260c0627
Merge pull request #4541 from erikerikson/add-coverage
add tests to get to 100% line coverage
2017-12-08 10:04:52 +01:00
Erik Erikson
df5dc28961 add tests to get to 100% line coverage
1. add tests that validate string value defaults in overrides.
2. add test of behavior when a javascript's export does not contain the attribute declared in the variable.
3. add tests of behavior when an SSM parameter is not found and the request to the SSM service fails.

add returns to tests that weren't returning their promises (and were thereby risking false positives.
2017-12-08 00:53:58 -08:00
Frank Schmid
2f33595b2a
Merge pull request #4534 from erikerikson/variables-cleanup
Variables cleanup
2017-12-07 21:55:22 +01:00
Erik Erikson
32e660d94c add tests to validate that nested variables inside overwrites are resolved 2017-12-07 12:49:09 -08:00
Takahiro Horike
cb822ad505
Merge pull request #4533 from jeffnoehren/master
Spotinst - updating variables and quick start docs
2017-12-07 15:24:02 +09:00
Erik Erikson
6a0784ce2f add now passing "populate once" tests, use populate over render 2017-12-06 16:48:54 -08:00
Erik Erikson
c8ebe25968 fix build by adding `'use strict'; to generated 'async.load.js' 2017-12-06 16:38:51 -08:00
Erik Erikson
d6abd689b6 fix migrated tests 2017-12-06 16:20:17 -08:00
Erik Erikson
8c1fe6dfcc Refactor, simplify, correct, add tests
Increase name consistency
Improve names to be-what-they-are
Reduce cyclomatic complexity
Include overrides population fix
Add variable methods documentation
Add more tests around significant variable patterns/risky cases
2017-12-06 15:59:07 -08:00
Frank Schmid
bce1264d7b
Fixed merge 2017-12-07 00:35:13 +01:00
Frank Schmid
8f70c13a9c
Merge branch 'master' into circular-vars 2017-12-07 00:22:55 +01:00
Frank Schmid
80dec1f5c5
Merge pull request #4521 from serverless/populate-default-objects
Populate objects if default syntax targets an object
2017-12-07 00:10:20 +01:00