4240 Commits

Author SHA1 Message Date
Frank Schmid
f04bac4e50 Issue #839 - Use path.parse method to extract function name in a platform independent way. 2016-03-20 13:25:34 +01:00
Frank Schmid
058ff86267 issue #836 - Switched error messages for context and command. 2016-03-20 12:49:10 +01:00
Peyton Zhou
9c1587af60 Modify sample hook log message. 2016-03-19 14:58:52 +08:00
Peyton Zhou
68eded19f9 Fixes the plugin template error after created. 2016-03-19 14:28:51 +08:00
ac360
b897e2e4f9 FunctionDeploy: minor fixes 2016-03-18 17:49:16 -07:00
ac360
6cbddf3f55 ProjecInit: cleanup 2016-03-18 17:21:46 -07:00
ac360
daf51ee773 FunctionDeploy: fix relative paths in compressed zip 2016-03-18 16:29:41 -07:00
ac360
aa519aad1b FunctionDeploy: return dist path WIP 2016-03-18 16:21:03 -07:00
ac360
83dadcb218 FunctionDeploy: continue work on returning pathDist WIP 2016-03-18 16:11:32 -07:00
ac360
c411f77f3b FunctionDeploy: refactor to not return file paths, but single dist dir path 2016-03-18 15:58:03 -07:00
Austen Collins
c6686188e6 FunctionDeploy: return distPath only, instead of array of file paths 2016-03-18 15:04:44 -07:00
Erik Erikson
bcaf95f85c Limit the scope of reserved variable addition to the population of templates/variables logic. 2016-03-18 12:38:35 -07:00
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