Skip to content
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

support custom API base URL #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

support custom API base URL #20

wants to merge 2 commits into from

Conversation

hyww
Copy link

@hyww hyww commented Nov 5, 2019

It seems that MongoDB Atlas shares API with Cloud Manager and Ops Manager. The new function NewCustomURLClient provides interface for users to use this library with custom rest API base URL.

e.g.

  • https://cloud.mongodb.com/api/public/v1.0 for Cloud Manager
  • https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0 for Ops Manager

@hyww hyww changed the title supoprt custom API base URL support custom API base URL Nov 5, 2019
@codecov-io
Copy link

codecov-io commented Nov 5, 2019

Codecov Report

Merging #20 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #20   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          14     14           
  Lines         368    370    +2     
=====================================
+ Hits          368    370    +2
Impacted Files Coverage Δ
mongodbatlas/mongodb.go 100% <100%> (ø) ⬆️

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 1debad0...10cc972. Read the comment docs.

hyww added a commit to hyww/terraform-provider-mongodbatlas that referenced this pull request Nov 6, 2019
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.

2 participants