1990 Commits

Author SHA1 Message Date
Philipp Muens
1f2f3ad202 Update displaying of function ARNs 2016-12-05 08:25:35 +01:00
Tobias Gleissenberger
20e052001a Linting fixes 2016-12-05 10:50:49 +11:00
Tobias Gleissenberger
75e610c0bf Fixed unit test 2016-12-05 10:47:21 +11:00
Tobias Gleissenberger
b69790e766 Adding named IAM capability to initial stack creation 2016-12-05 09:15:51 +11:00
horike37
92d4a2a6da add the test conde 2016-12-03 17:45:29 +09:00
horike37
e08af13b1b Fixed issues pointed out 2016-12-03 13:08:48 +09:00
Maciej Winnicki
63787df3fb Merge pull request #2845 from serverless/fix-local-invoke-error
fix returning error from local invocation
2016-12-02 19:12:00 +01:00
Maciej Winnicki
b494005543
fix setting exit code 2016-12-02 18:50:46 +01:00
Philipp Muens
f7f15bb27c Remove metrics fetching from info plugin 2016-12-02 15:16:02 +01:00
Philipp Muens
ebd42867e5 Fix test descriptions 2016-12-02 13:34:50 +01:00
Philipp Muens
8d4ce41b63 Add dot at the end of average abbreviation 2016-12-02 13:34:50 +01:00
Philipp Muens
3410b75194 Refactor info plugin and add tests 2016-12-02 13:34:50 +01:00
Philipp Muens
e06364be60 Remove x after invocations and throttles messages 2016-12-02 13:33:18 +01:00
Philipp Muens
12161f2921 Add metric retrieval (invocations, throttles, errors and duration) and their displaying 2016-12-02 13:33:18 +01:00
Philipp Muens
d376c6981d Refactor codebase to make it easier to understand 2016-12-02 13:33:18 +01:00
Nik Graf
5ddd8d77e4 remove the lifecycle event from config to hide it in the command list 2016-12-02 10:54:16 +01:00
Nik Graf
b708f66f4e Merge pull request #2819 from serverless/add-metrics-plugin
Add metrics plugin
2016-12-02 10:28:00 +01:00
Maciej Winnicki
ca5b9e119e
fix returning error from local invocation 2016-12-02 10:14:42 +01:00
Philipp Muens
031841ec17 Updates according to PR review 2016-12-02 07:06:22 +01:00
Nik Graf
29cdbd6de1 fix missing lifecycle updates 2016-12-01 16:44:12 +01:00
Nik Graf
9fc5dc8276 update lifecycle event 2016-12-01 16:31:39 +01:00
Philipp Muens
5ffd70ee3b Fix comment 2016-12-01 14:35:50 +01:00
Philipp Muens
5e4ad45594 Fix date parsing bug 2016-12-01 13:34:24 +01:00
Philipp Muens
f36c119556 Change plugin structure from „setup“ to „config credentials“ 2016-12-01 11:43:30 +01:00
Philipp Muens
1bfa6a9ed4 Add tests for setupAws() method 2016-12-01 10:48:35 +01:00
Philipp Muens
114f54e0ad Minor refactorings 2016-12-01 10:48:35 +01:00
Philipp Muens
ce82aaeb51 Add tests for constructor of AwsSetup 2016-12-01 10:48:35 +01:00
Philipp Muens
3377108d94 Add validation and test coverage for setup plugin 2016-12-01 10:48:35 +01:00
Philipp Muens
88ce330cc1 Split up setup into two plugins 2016-12-01 10:48:35 +01:00
Philipp Muens
6cbe7d834b Rename from init to setup 2016-12-01 10:48:35 +01:00
ac360
db23598234 fix linting error 2016-12-01 10:48:35 +01:00
ac360
08769fc1c1 fix linting errors 2016-12-01 10:48:35 +01:00
ac360
da19c9e495 add support for setting multiple profiles 2016-12-01 10:48:35 +01:00
ac360
693fcebabf remove unused dependency 2016-12-01 10:48:35 +01:00
ac360
efdbe2a4af fix linting error 2016-12-01 10:48:35 +01:00
ac360
42ee9eb05e fix linting issues 2016-12-01 10:48:35 +01:00
ac360
3814837e30 fix tests 2016-12-01 10:48:35 +01:00
ac360
af35ee33c8 add init command for easy onboarding 2016-12-01 10:48:35 +01:00
Philipp Muens
5994360fb3 Update tests for default value setting of startTime and endTime 2016-12-01 10:46:53 +01:00
Philipp Muens
628a55e6b5 Add translation of human friendly startTime syntax 2016-12-01 10:46:53 +01:00
Philipp Muens
f249fa192a Fix typo in test description 2016-12-01 10:46:53 +01:00
Philipp Muens
80b12f626b Add automatic Period setting and remove period option 2016-12-01 10:46:52 +01:00
Philipp Muens
ba27669d0d Add plugins to Plugins.json file 2016-12-01 10:46:52 +01:00
Philipp Muens
83900b362b Add AwsMetrics plugin 2016-12-01 10:46:52 +01:00
Philipp Muens
b05cac7d5c Add core metrics plugin 2016-12-01 10:46:52 +01:00
Erik Erikson
3210aff617 Detect Successful Async Credential Loading
Check for the roleArn attribute on ini file loaded credentials.  If that exists, then asynchronous (assume role) credentials are being loaded but they may not yet be received.  Accept these as valid credentials and use the containing credentials object as the current credentials object.

Clean up the test data (fakeCredentials didn't need so much)
Create a test that verifies the async credential loading functionality
Create a test that ensures a non-existent profile one attempts to load does not load any credentials

Bump the version of the aws-sdk so that the modified aws-sdk will be demanded for proper handling of this feature.
2016-12-01 01:45:14 -08:00
Philipp Muens
1f3b88baa3 Merge pull request #2743 from nicka/master
Add DependsOn for Lambda functions and IamPolicyLambdaExecution
2016-12-01 10:38:49 +01:00
Philipp Muens
a39e2969de Remove reassignment of this.options.data if JSON parsing fails 2016-11-29 15:06:10 +01:00
Philipp Muens
f02c990fd8 Remove check if options.data exists 2016-11-29 13:32:29 +01:00
Erik Erikson
0ddd4ec804 Credential Fixes Roundup
Merge fixes from both #2373 & #2695, adding editorial suggestions and future-proofing them a bit (probably)

Clean up tests to broadly clean and restore process/test environment and simplify test code.
This work uncovered that we were returning profiles when no profile credentials were loaded.  This seems inappropriate.  The tests were modified to use the temporary credential file code that @stevecaldwell77 wrote, exclusively.  This way there are actual credentials to load from the given profile.

I am not sure how to test the assume-role/asynchronous STS credential loading capability and would love some help making sure that is right
2016-11-29 03:16:47 -08:00