7343 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
023fbf1c7c pluginCreate: npm linking requires admin access. set it as an option instead 2016-03-05 19:19:36 +07:00
Eslam A. Hefnawy
fb2d6c55a4 projectCreate: replace domain option with bucket. Closes #733 2016-03-05 14:53:39 +07:00
Eslam λ Hefnawy
64fae496d1 Merge pull request #737 from srg-clearlaunch/FunctionRollbackTypo
FunctionRollback typo
2016-03-05 14:30:54 +07:00
Erik Erikson
3049b3a972 Change code generation of '*_PROFILE_[STAGE]' in Serverless artifacts to produce '*_[STAGE]_PROFILE' to align with prior changes.
Allow for a user supplied profile name prefix using the environment variable 'AWS_PROFILE_PREFIX' for use in loading credentials.

Ensure that profile names are lower case.
2016-03-04 22:12:07 -08:00
Erik Erikson
307a1c008b Add missing underscores between the prefix and stage so that the result will be something like:
PREFIX_STAGE
rather than
    PREFIXSTAGE

Thank you @hauboldj
2016-03-04 20:53:51 -08:00
Erik Erikson
f9ece6e58c Merge remote-tracking branch 'upstream/v0.5' into v0.5-credential-loading-cleanup
# Conflicts:
#	lib/ProviderAws.js
2016-03-04 18:10:57 -08:00
Erik Erikson
b88dc0a91e Make the logic of credential extraction from the configuration, environment (raw), or environment (via profile) very explicit and clear. Use built in clases as appropriate. (actually, we're not doing that for loading the ~/.aws/credentials file [via http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SharedIniFileCredentials.html] but maybe we should - going for minimum change)
Maintain optionality (but support for) session tokens.

Cover all possible environment prefixes consistently.
2016-03-04 17:45:59 -08:00
shawn robert grona
ffde94f7bb functionrollback typo 2016-03-04 14:40:41 -08:00
Eslam A. Hefnawy
76d4cf1a54 CLI Testing: some fixes 2016-03-05 01:46:31 +07:00
Austen
037a54e336 Merge pull request #732 from minibikini/v0.5
adds `FuntionRollback` action
2016-03-04 08:59:38 -08:00
Egor Kislitsyn
df02505ff3 Merge branch 'v0.5' of github.com:serverless/serverless into v0.5
# By Eslam A. Hefnawy
# Via Austen (1) and Eslam A. Hefnawy (1)
* 'v0.5' of github.com:serverless/serverless:
  fixed function handler. Closes #729
2016-03-04 23:54:21 +07:00
Egor Kislitsyn
2211ee8dfe adds FuntionRollback action 2016-03-04 23:53:59 +07:00
Austen
89f8b8ff0b Merge pull request #728 from kennu/master
Support authorizerId parameter in s-function.json endpoints for CUSTOM authorizers
2016-03-04 08:31:25 -08:00
Egor Kislitsyn
e72d08eb05 fix FunctionRemove 2016-03-04 18:30:44 +07:00
Eslam A. Hefnawy
4b93b9646e fixed function handler. Closes #729 2016-03-04 14:57:19 +07:00
Austen
4462507274 Merge pull request #730 from minibikini/v0.5
fix EndpointRemove (prevents the root resources removal)
2016-03-03 21:24:12 -08:00
Egor Kislitsyn
0caca03c81 fix typos in EndpointRemove 2016-03-04 12:04:55 +07:00
Egor Kislitsyn
6fac101831 fix EndpointRemove (prevents the root resources removal) 2016-03-04 11:42:17 +07:00
Kenneth Falck
a9e79a91cc Support authorizerId parameter in s-function.json endpoints for CUSTOM authorizers 2016-03-04 02:23:22 +02:00
ac360
0caf219fd9 DashDeploy: slight changes to UI 2016-03-03 10:10:04 -08:00
ac360
b20180eb41 FunctionCreate: fix to show even/endpoint select if path is specified, Templates: fix comment in handler.js 2016-03-03 09:59:44 -08:00
ac360
086aafd10f StageCreate: set env var after writing to admin.env 2016-03-03 09:44:46 -08:00
Eslam A. Hefnawy
e08ca473cb removed comment 2016-03-03 20:50:44 +07:00
Eslam A. Hefnawy
c547ba5b2e functionCreate: UX improvements. Closes #725 2016-03-03 20:49:44 +07:00
Eslam λ Hefnawy
3bba95dcd9 Merge pull request #727 from minibikini/v0.5
Adds removing actions and fixes for some actions
2016-03-03 19:25:17 +07:00
Egor Kislitsyn
16905539cb fix EventRemove 2016-03-03 19:22:25 +07:00
Egor Kislitsyn
b599bd78d8 improves RegionRemove to remove functions (#600) 2016-03-03 19:13:01 +07:00
Egor Kislitsyn
2ef57b2d43 adds EndpointRemove, EventRemove and FunctionRemove (#599) 2016-03-03 19:11:54 +07:00
Egor Kislitsyn
8b45f91366 fixes DashDeploy, EndpointDeploy, ProjectInit, and some tests 2016-03-03 19:10:11 +07:00
Egor Kislitsyn
4e45bc3a97 adds Project.getAllRegionNames(stageName) 2016-03-03 19:08:30 +07:00
Eslam A. Hefnawy
47dea979d8 dashDeploy: list only functions in subfolder if cwd is subfolder 2016-03-03 13:44:04 +07:00
Eslam A. Hefnawy
60870fba0e throw error for failed lambda deployments. Closes #655 2016-03-03 13:44:04 +07:00
Kiryl Yermakou
bad0becf63 Optimizer plugin: coffee and babel support 2016-03-02 20:01:11 -05:00
Austen Collins
7d4f24066f .gitingore: prevent tracking of stages that include 'dev' 2016-03-02 11:48:26 -08:00
Austen Collins
865cb2d645 ProjectInit: No longer auto-create stage and stage named 'dev'. Allow user to optionally create stage and name it anything 2016-03-02 11:45:21 -08:00
Austen Collins
89e054c845 Merge branch 'v0.5' of https://github.com/serverless/serverless into v0.5 2016-03-02 11:03:12 -08:00
Austen Collins
8b4a24a81d ProviderAws: remove undefiend variable 2016-03-02 11:00:34 -08:00
Eslam A. Hefnawy
56efd97f8a CLI testing: some fixes 2016-03-03 01:57:00 +07:00
Eslam A. Hefnawy
9f85c658a4 functionCreate: create endpiont or event 2016-03-03 01:57:00 +07:00
ac360
644bfc235b FunctionDeploy: remove lambda backups 2016-03-02 09:30:14 -08:00
ac360
7926b326f1 remove unnecessary console.logs 2016-03-02 08:50:28 -08:00
ac360
3e42fbe4a6 AwsProvider: add credentails format fix 2016-03-02 08:48:28 -08:00
Eslam λ Hefnawy
812c322ec5 Merge pull request #715 from minibikini/v0.5
fix `tests/actions/projectLifeCycle` (when `TEST_SERVERLESS_EXE_CF=true`)
2016-03-02 20:21:55 +07:00
Egor Kislitsyn
0ca2693de1 Merge branch 'v0.5' of github.com:serverless/serverless into v0.5
# Via Eslam λ Hefnawy
* 'v0.5' of github.com:serverless/serverless:
2016-03-02 20:08:59 +07:00
Egor Kislitsyn
38694883f2 fix tests/actions/projectLifeCycle 2016-03-02 20:08:23 +07:00
Eslam λ Hefnawy
8a0dd2b5e9 Merge pull request #714 from minibikini/v0.5
fixes many actions
2016-03-02 19:37:00 +07:00
Egor Kislitsyn
22d56ec27b fixes many actions 2016-03-02 18:55:19 +07:00
Egor Kislitsyn
4686d63b73 fix tests 2016-03-02 16:07:26 +07:00
Egor Kislitsyn
5f0fd37818 fix functionCreate 2016-03-02 16:02:15 +07:00
Egor Kislitsyn
d439943801 fix ComponetCreate 2016-03-02 15:02:17 +07:00