Skip to content

Adding ability to supply an HTTP Agent#125

Merged
kr1sp1n merged 12 commits intonodevault:masterfrom
seangallavan:agentProvided
Jun 11, 2020
Merged

Adding ability to supply an HTTP Agent#125
kr1sp1n merged 12 commits intonodevault:masterfrom
seangallavan:agentProvided

Conversation

@seangallavan
Copy link
Copy Markdown
Contributor

This is helpful if you want to access vault behind a bastion.

Comment thread src/index.js Outdated
mustache = config.mustache || mustache;
rp = (config['request-promise'] || rp).defaults({

let rpDefaults = {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change this to a const. The linter is causing the travis build to fail.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 4, 2019

Codecov Report

Merging #125 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #125   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          139       143    +4     
  Branches        34        35    +1     
=========================================
+ Hits           139       143    +4     
Impacted Files Coverage Δ
src/index.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9e794f...ae312d9. Read the comment docs.

Comment thread src/index.js Outdated
mustache = config.mustache || mustache;
rp = (config['request-promise'] || rp).defaults({

let rpDefaults = {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seangallavan
Copy link
Copy Markdown
Contributor Author

Updated to latest master...believe it's good to go @petercunha

@petercunha
Copy link
Copy Markdown

Looks good, hopefully one of the maintainers will review it soon 👍

@kr1sp1n kr1sp1n merged commit 6aca501 into nodevault:master Jun 11, 2020
@kr1sp1n
Copy link
Copy Markdown
Collaborator

kr1sp1n commented Jun 11, 2020

@seangallavan Thanks for your PR and sorry for the very late merge.
@petercunha Released as v0.9.17 https://www.npmjs.com/package/node-vault/v/0.9.17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants