apache / openwhisk-client-js

JavaScript client library for the Apache OpenWhisk platform
https://openwhisk.apache.org/
Apache License 2.0
83 stars 53 forks source link

Allow clients to override the namespace for the api gateway APIs. #201

Closed rabbah closed 4 years ago

rabbah commented 4 years ago

The Route class hard codes whisk.system as the namespace hosting the API gateway API. This change allows clients to override the base API path.

Closes https://github.com/apache/openwhisk-client-js/issues/202.

codecov-io commented 4 years ago

Codecov Report

Merging #201 into master will decrease coverage by 0.22%. The diff coverage is 87.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #201      +/-   ##
==========================================
- Coverage   99.28%   99.05%   -0.23%     
==========================================
  Files          14       14              
  Lines         418      425       +7     
==========================================
+ Hits          415      421       +6     
- Misses          3        4       +1
Impacted Files Coverage Δ
lib/routes.js 97.46% <87.5%> (-1.15%) :arrow_down:

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 01537c4...c21f7c9. Read the comment docs.