7343 Commits

Author SHA1 Message Date
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
1624740c29 Merge pull request #2835 from nicka/patch-2
Update variables.md
2016-12-01 10:48:32 +01:00
Philipp Muens
d0740787a6 Update documentation for default valued of startTime and endTime 2016-12-01 10:46:53 +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
45b6695bd6 Update docs about 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
2f4b510d81 Add documentation 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
Nick den Engelsman
6f17c09ed9 Update variables.md 2016-12-01 10:42:31 +01:00
Nik Graf
662edbd1cd Merge pull request #2834 from serverless/update-code-of-conduct
update contact to reach out to the team
2016-12-01 10:41:02 +01: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
Nik Graf
ca2675ae37 update contact to reach out to the team 2016-12-01 10:34:33 +01:00
Maciej Winnicki
d0604f754a Merge pull request #2829 from serverless/fix-link
fix link to plugins docs
2016-11-30 16:22:32 +01:00
Maciej Winnicki
69197b5dea
fix link to plugins docs 2016-11-30 16:04:05 +01:00
Maciej Winnicki
d3c7e37dde Merge pull request #2803 from serverless/readme-improvements
move 0.5 resources to a separate file
2016-11-30 15:59:54 +01:00
Maciej Winnicki
0e2bf361f9
remove not needed name anchor 2016-11-30 14:43:55 +01:00
Philipp Muens
59bd06fcbf Merge pull request #2823 from dschep/patch-1
Fix yaml comments in intro
2016-11-29 20:35:09 +01:00
Daniel Schep
e361bedd65 Fix yaml comments in intro
They should be `#` not `//`.
2016-11-29 14:31:34 -05:00
Maciej Winnicki
c53697f3bc Merge pull request #2701 from serverless/fix-cli-data
Fix for #2685
2016-11-29 15:13:20 +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
Philipp Muens
d048cc3e09 Add check if data is JSON or simple string 2016-11-29 10:35:26 +01:00
Philipp Muens
ef7ccfc8e3 Add tests 2016-11-29 10:35:26 +01:00
Philipp Muens
7837acf360 Fix minor typos 2016-11-29 10:35:26 +01:00
ac360
ee7f0c24bf sanitize strings 2016-11-29 10:35:26 +01:00
Erik Erikson
e317399da4 Merge remote-tracking branch 'journeyapps/fix-async-credentials' into credentials-fixes 2016-11-28 23:06:03 -08:00
Erik Erikson
a4be841bc9 Merge remote-tracking branch 'stevecaldwell77/credentials-file-envar' into credentials-fixes 2016-11-28 23:05:43 -08:00
Philipp Muens
f6cf176b52 Merge pull request #2802 from n-ina/fix_quick_start
Fix deploy function command at quick start.
2016-11-29 07:30:14 +01:00
Philipp Muens
47b9c07a3c Merge pull request #2818 from serverless/DavidWells-patch-2
Adding reference to plugin list
2016-11-29 07:29:26 +01:00
David Wells
204c54f074 Add link to plugin json file 2016-11-28 18:14:43 -08:00
n-ina
f4c7c5372d fix deploy function command at quick start. 2016-11-29 09:34:33 +09:00
Doug Moscrop
c7c3218ff4 remove request and response config when using proxy integration 2016-11-28 15:38:16 -05:00
Stephen Caldwell
acb3bb85c9 sandbox environment variables correctly in test 2016-11-28 09:58:29 -08:00
Stephen Caldwell
584884dc71 remove accidentally commited 'only' 2016-11-28 09:58:29 -08:00
Stephen Caldwell
a28da5c76a add test for use of AWS_SHARED_CREDENTIALS_FILE envar 2016-11-28 09:58:29 -08:00