-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Openwhisk proxy #147
Openwhisk proxy #147
Conversation
Codecov Report
@@ Coverage Diff @@
## master #147 +/- ##
==========================================
- Coverage 99.23% 98.99% -0.25%
==========================================
Files 14 14
Lines 393 397 +4
==========================================
+ Hits 390 393 +3
- Misses 3 4 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks excellent @karanrk - thanks for doing this! This will be a great addition to the SDK.
Two small things so we can merge....
- Add a unit test to the client module file to verify the new options.
- Add documentation to the README after
user-agent
section to describe new feature.
@jthomas Let me know if any more changes are required from my side. |
Awesome work @karanrk - Thanks for doing this! We'll need to publish a new version of the SDK now. I'll open an issue to do that. |
Let’s make sure we do a proper Apache release 🙏🏼 |
This Pull Request solves the problem of openwhisk client not able to make server requests if client is behind firewall. The client uses needle to package the parameters and options to make a HTTP request to the server, this PR uses a proxy-agent to pass through the firewall and connect to openwhisk sdk.
Files Edited : client.js and package.json