1577 Commits

Author SHA1 Message Date
Erik Erikson
a8096bc304 Move reserved variable generation out of the endpoint builder and into the Endpoint class. Add an equivalent implementation for Event. Add the new reserved variables to sUtils.populate. 2016-03-18 12:30:55 -07:00
Erik Erikson
a38621ba8a Merge remote-tracking branch 'upstream/v0.5' into v0.5-provide-reserved-variable-name-to-endpoints 2016-03-18 12:19:08 -07:00
Austen Collins
a58bc3a5cf Tests: fix function deploy test 2016-03-18 10:57:02 -07:00
Austen Collins
64110345a6 Serverless: fix plugin loading 2016-03-18 10:31:35 -07:00
Austen Collins
9cccaa4f44 FunctionDeploy: fix function alias support 2016-03-18 10:23:22 -07:00
Egor Kislitsyn
66aa241a95 fixes the Plugin class 2016-03-18 22:47:08 +07:00
ac360
2e2250d719 Plugin template: refactor to work with v0.5 changes WIP 2016-03-18 02:43:46 -07:00
ac360
820b2e67e4 Plugin: fix getName() method 2016-03-18 01:36:02 -07:00
ac360
2b44964e28 Plugin: fix getName() method 2016-03-18 01:33:34 -07:00
ac360
1d43cc0a32 Region: remove serverless instance fixing saving of variables 2016-03-17 23:22:18 -07:00
ac360
9236e9a786 Merge branch 'v0.5' of https://github.com/serverless/serverless into v0.5 2016-03-17 23:06:21 -07:00
ac360
adeb2f3d07 utils: remove persistent request and rely on AWS SDK's new rety logic 2016-03-17 23:06:08 -07:00
Erik Erikson
29b4c77768 Merge remote-tracking branch 'upstream/v0.5' into v0.5-provide-reserved-variable-name-to-endpoints 2016-03-17 20:39:36 -07:00
Austen Collins
634aa9b603 Endpoint: include authorizerFunction property, instead of authorizerId 2016-03-17 20:00:58 -07:00
Austen Collins
15b9ace6f0 FunctionDeploy: fix region validation 2016-03-17 19:55:54 -07:00
Austen Collins
85cfebc870 FunctionDeploy: fix bad var 2016-03-17 19:48:23 -07:00
Erik Erikson
18ed4409a6 Provide the reserved variable 'name' to Endpoints from their containing Function. This enables the name variable to be used in endpoint sections of the s-function declaration. 2016-03-17 17:03:36 -07:00
ac360
47b69c2a7b EndpointDeployApiGateway: remove unnecessary console log 2016-03-17 16:28:55 -07:00
ac360
4113003c1d EndpointDeployApiGateway: fix custom authorizer to use stages 2016-03-17 16:27:04 -07:00
ac360
b7ac4ce073 EndpointDeployApiGateway: fix custom authorizer 2016-03-17 16:16:38 -07:00
Austen
270dcaf862 Merge pull request #820 from erikerikson/v0.5-accountId-from-variables-if-available
Allow variable declaration of AWS account ID
2016-03-17 15:20:40 -07:00
Austen
f41e69c7df Merge pull request #824 from HyperBrain/823-check-for-region
Issue #823 Check for invalid region in FunctionDeploy.
2016-03-17 08:57:14 -07:00
Egor Kislitsyn
32ae6ff989 fix deploy for custom runtimes 2016-03-17 22:50:21 +07:00
Frank Schmid
153899f033 Issue #823 Check for invalid region in FunctionDeploy. 2016-03-17 16:35:25 +01:00
Erik Erikson
a478a3dd78 Clarify the error message reporting that an account ID could not be loaded to indicate the valid sources of an account ID. 2016-03-16 23:04:46 -07:00
Erik Erikson
5406973b1a Allow AWS account ID to be defined in the variables files by using it as the preferred source of the account ID.
Move the check for a valid account ID until after contingent loading of the ID has been executed.
2016-03-16 22:58:31 -07:00
Michael McManus
5791e69508 Fixes #813 and #814
* More narrowly define default function excludePatterns
* Correct reference to undefined properties in `Runtime._validateAndPrepare()`
2016-03-16 13:59:56 -07:00
Austen Collins
72e28c4075 serverless: throw error if plugin is missing 2016-03-15 19:02:53 -07:00
Austen Collins
a9cae2385f Stage: fix variable loading to not pass in Serverless instance 2016-03-15 18:19:41 -07:00
Austen Collins
01120b8944 FunctionCreate: fix validation 2016-03-15 18:03:12 -07:00
Austen Collins
113e0af963 fix merge conflict 2016-03-15 17:38:50 -07:00
Austen Collins
d4ab30be1c Stage, Region, Endpoint, Event: change order of params to accept data first 2016-03-15 17:36:38 -07:00
Egor Kislitsyn
b1d61e6ada Fixes RuntimePython27 #789 (thanks to @michaelorionmcmanus) 2016-03-16 00:04:08 +07:00
Egor Kislitsyn
40555fcd9d fixes code packaging #798 2016-03-15 21:44:15 +07:00
Egor Kislitsyn
4b82b6ad38 Adds ENV vars to RuntimePython27.run() 2016-03-15 21:20:58 +07:00
Egor Kislitsyn
14b8c0a8ac Actions: refactor 2016-03-15 20:37:15 +07:00
Austen
78ee8a101e Merge pull request #792 from erikerikson/v0.5-allow-for-falsy-templates-and-variables
Allow falsy templates & variables
2016-03-15 00:26:52 -07:00
Austen
c4b270a1df Merge pull request #784 from martinbooth/v0.5-populate-function-template
When deploying functions, replace the variable placeholders with their values
2016-03-15 00:25:57 -07:00
Martin Booth
9ecc0e720d When deploying functions, replace the variable placeholders with their values 2016-03-15 15:09:12 +08:00
ac360
fdd35c7ce5 PluginTemplate: add more descirptions 2016-03-14 23:30:11 -07:00
ac360
a912a6e3b8 Serverless: remove dead property 2016-03-14 23:06:17 -07:00
ac360
425200e94e Actions: refactor to accept Serverless instance 2016-03-14 22:51:36 -07:00
ac360
ae582d0d8e Classes: refactor 2016-03-14 21:33:51 -07:00
ac360
22c4af6b90 SerializerFileSystem: Rename to Serializer 2016-03-14 19:01:29 -07:00
Austen Collins
ebf084fa63 WIP 2016-03-14 18:04:46 -07:00
Austen Collins
6a5029bfdc Runtimes: clean up 2016-03-14 14:25:27 -07:00
Erik Erikson
950d0b665f Tiny changes to allow for falsy values to be used in templates and variables. 2016-03-14 13:59:02 -07:00
Austen Collins
95755eb09e Remove all project bucket related code 2016-03-14 10:41:51 -07:00
Egor Kislitsyn
663f6ab3f4 Moves ENV vars to s-function.json 2016-03-14 21:46:44 +07:00
Egor Kislitsyn
9f328ed130 fix EndpointDeployApiGateway action (#777) 2016-03-14 20:10:44 +07:00