1512 Commits

Author SHA1 Message Date
Egor Kislitsyn
4dec5ac59a fixes tests/actions/ProjectInstall.js 2016-03-11 12:30:29 +07:00
Egor Kislitsyn
1077a4f573 fix ProjectInit 2016-03-11 12:06:44 +07:00
Egor Kislitsyn
8bd1bc8c14 Fix RuntimeNode 2016-03-11 12:06:22 +07:00
Egor Kislitsyn
cd7c138d8b Fix typo 2016-03-10 21:25:35 +07:00
Egor Kislitsyn
e7272908e2 moves scaffolding logic to Runtime.scaffold(), updates FunctionCreate; 2016-03-10 21:19:32 +07:00
Egor Kislitsyn
a08ae80f1a adds load environment variables before function handler 2016-03-10 21:17:39 +07:00
Egor Kislitsyn
98d6965452 makes globber ignore functions in temporary directory 2016-03-10 21:12:10 +07:00
Egor Kislitsyn
9fae29dd16 adds build() method to Runtime class; Removes FunctionRunNode and FunctionRunPython27 2016-03-10 21:08:34 +07:00
ac360
0a49f482f7 SerializerFileSystem: Throw error if runtime is missing at function level 2016-03-09 21:15:30 -08:00
Egor Kislitsyn
d0905b5682 Adds build method to the Runtime class 2016-03-09 20:31:03 +07:00
Eslam A. Hefnawy
cae5349548 tiny fixes for deploy and remove actions 2016-03-09 18:31:05 +07:00
Austen Collins
fd7aedc0ba Serializer: fix template loading, FunctionDeploy: add nice error if ahndler is incorrect, Tests: fix all 2016-03-08 15:16:42 -08:00
Austen Collins
cf332d69a6 minor fix to tests 2016-03-08 12:39:08 -08:00
Austen Collins
adba9594ce ResourcesDeploy: auto-add CF outputs to variables 2016-03-08 12:16:36 -08:00
Eslam A. Hefnawy
fab872a53e remove outdated util function 2016-03-09 03:14:41 +07:00
Eslam A. Hefnawy
43d1317f61 fixes across actions to remove components completely 2016-03-09 03:13:32 +07:00
ac360
f417225247 Merge branch 'v0.5-removecomponent' of https://github.com/serverless/serverless into v0.5-removecomponent 2016-03-08 09:30:31 -08:00
ac360
f7e3c8f03c Project: remove excessive properties 2016-03-08 09:30:15 -08:00
Eslam A. Hefnawy
6f50c68e7f fixed classes tests 2016-03-09 00:24:49 +07:00
Egor Kislitsyn
eb846de776 Merge branch 'v0.5-removecomponent' of github.com:serverless/serverless into v0.5-removecomponent
# By Eslam A. Hefnawy
# Via Eslam A. Hefnawy
* 'v0.5-removecomponent' of github.com:serverless/serverless:
  remove components from serializer class
  removed components from classes
2016-03-08 21:39:28 +07:00
Egor Kislitsyn
dea5e18452 removes components from actions 2016-03-08 21:39:03 +07:00
Eslam A. Hefnawy
1e0ad33d3a remove components from serializer class 2016-03-08 21:27:50 +07:00
Eslam A. Hefnawy
005d8f9b48 removed components from classes 2016-03-08 21:26:04 +07:00
Erik Erikson
e11ec38b2c Only set the accessKeyId/secretAccessKey/sessionToken when there is data to properly set them with.
If a profile prefix is supplied, use it non-contingently in all profile loading attempts, not as a separate profile.
2016-03-07 18:03:17 -08:00
Erik Erikson
0ceaf170e1 Merge remote-tracking branch 'upstream/v0.5' into v0.5-credential-loading-cleanup 2016-03-07 17:16:56 -08:00
Austen Collins
1926ee616e EndpointDeploy: continue adding authorizer support 2016-03-07 15:36:28 -08:00
Austen Collins
afe371f330 EndpointDeploy, Endpoint: being adding support for custom authorizers 2016-03-07 14:48:19 -08:00
Egor Kislitsyn
cedf22b3c3 adds a test for the FunctionRollback action 2016-03-07 16:56:47 +07:00
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
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
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
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
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
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
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