683 Commits

Author SHA1 Message Date
Austen Collins
c61e7c3c90 EndpointBuildApiGateway: add credentials option 2016-03-28 20:35:20 -07:00
Austen Collins
49d9a13522 StageCreate: allow for numbers in stage name 2016-03-28 20:30:40 -07:00
Eslam A. Hefnawy
e5004430e5 functionCreate: notify user that function will be created in CWD 2016-03-29 01:28:47 +07:00
Eslam A. Hefnawy
fe3716c6d3 enhanced s3 event to not overwrite existing bucket notification config 2016-03-28 15:23:02 +07:00
Eslam A. Hefnawy
0b00ca9845 don't overwrite bucket notification config. Closes #652 2016-03-28 14:09:11 +07:00
Eslam A. Hefnawy
09fe597f50 fixed path seperator for functionCreate. Closes #839. 2016-03-28 13:03:30 +07:00
Eslam A. Hefnawy
13c7d494dc bug fix: serverless variables can now be any type other than a string. Closes #801 2016-03-28 12:30:55 +07:00
Frank Schmid
b5cca6cc73 Issue #873 Added vsriables list action to show all variables per region/stage or with option --all 2016-03-25 17:53:04 +01:00
Austen
8948a53a15 Merge pull request #880 from jonathannaguin/master
New actions for managing variables from the command line
2016-03-24 08:46:32 -07:00
Egor Kislitsyn
00bb7b9d6f adds some debug logging 2016-03-24 19:19:37 +07:00
Egor Kislitsyn
99a8c639bd small refactor to use promises only (instead of the async lib and callbacks) for FunctionDeploys 2016-03-24 19:18:16 +07:00
Jonathan Nunez Aguin
446e02b9c8 Actions moved to the correct place 2016-03-24 11:26:09 +00:00
Erik Erikson
0dadafd325 Allow responseTemplate values to *also* be objects. Just like requestTemplates. In fact, using the same logic.
Should we also do this with response models?  Not sure how to use that one.  Future [dev] can do that!
2016-03-23 16:42:26 -07:00
Egor Kislitsyn
9dfe4fbd7e fix FunctionLogs (#857) 2016-03-23 16:47:48 +07:00
Egor Kislitsyn
50c92f7979 fix ProjectInit logging 2016-03-23 16:10:19 +07:00
ac360
2159533ba3 Tests: comment out project install 2016-03-22 09:37:35 -07:00
ac360
abccf0309b Fix v0.5 conflicts 2016-03-22 09:20:45 -07:00
ac360
a49d20f01c ProjectInit: fix name 2016-03-22 09:13:57 -07:00
Austen
d41e8f6a80 Merge pull request #851 from kennu/master
Handle error case where the failed function is undefined
2016-03-22 09:12:53 -07:00
icereval
594621ef86 borrow 0.5 code for vpc support 2016-03-22 08:02:34 -04:00
Eslam A. Hefnawy
077f63d654 temporarily always create stage by default on projectInit 2016-03-22 13:50:27 +07:00
ac360
31163c4750 ProjectInit: Set name option if project exists 2016-03-21 23:18:50 -07:00
ac360
9271348e5d Fix keypress duplication bug WIP 2016-03-21 23:14:28 -07:00
Austen Collins
53b8b7b4f3 Endpoint: remove customAuthorizer property 2016-03-21 19:38:57 -07:00
Austen Collins
415e687007 ProjectInit: set name option if project exists 2016-03-21 18:55:52 -07:00
Austen Collins
9320a12ef4 EndpointRemove: Fix endpoint name 2016-03-21 18:21:19 -07:00
Kenneth Falck
1d7372c191 Handle error case where the failed function is undefined 2016-03-21 17:07:13 +02:00
Egor Kislitsyn
fc5463b25a Merge branch 'v0.5' of github.com:serverless/serverless into v0.5
# By Erik Erikson (3) and Eslam A. Hefnawy (1)
# Via Erik Erikson (2) and others
* 'v0.5' of github.com:serverless/serverless:
  added support for Frankfurt eu-central-1 region. Closes #810
  Limit the scope of reserved variable addition to the population of templates/variables logic.
  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.
  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-21 18:20:52 +07:00
Egor Kislitsyn
7e303e78b5 Adds select menu for runtimes to FunctionCreate action 2016-03-21 18:20:07 +07:00
Austen
09faa3b71c Merge pull request #827 from erikerikson/v0.5-provide-reserved-variable-name-to-endpoints
Provide the reserved variable 'name' to Endpoints
2016-03-20 22:25:26 -07:00
Jordan Mack
6b99dd269b Fix clear deployed and failed for plugins which utilize functionDeploy multiple times. 2016-03-20 16:24:48 -07:00
Frank Schmid
98b6ae4b84 Issue #845 - Added description property to s-function.json. Defaults to old description if nothing is set to keep compatibility. 2016-03-20 17:03:37 +01:00
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
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
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
ac360
2b44964e28 Plugin: fix getName() method 2016-03-18 01:33:34 -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
15b9ace6f0 FunctionDeploy: fix region validation 2016-03-17 19:55:54 -07:00