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

New-CosmosDbContext - support full URL to host. #155

Closed
davidwmartines opened this issue Aug 23, 2018 · 3 comments
Closed

New-CosmosDbContext - support full URL to host. #155

davidwmartines opened this issue Aug 23, 2018 · 3 comments
Assignees
Labels
enhancement The issue is an enhancement request. in progress The issue is being actively worked on by someone.

Comments

@davidwmartines
Copy link

davidwmartines commented Aug 23, 2018

When creating a context, can we just specify the full url and key? This would be handy when using the Emulator that is not listening on localhost and/or uses a custom key. For example when starting the emulator with the /AllowNetworkAccess and /Key options.

@PlagueHO PlagueHO added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Aug 24, 2018
@PlagueHO
Copy link
Owner

Hi @davidwmartines - I think this should be easy enough to implement. I'll take a look this weekend.

@PlagueHO PlagueHO added in progress The issue is being actively worked on by someone. and removed help wanted The issue is up for grabs for anyone in the community. labels Aug 24, 2018
@PlagueHO PlagueHO self-assigned this Aug 24, 2018
@PlagueHO
Copy link
Owner

I've finished this off now and will get it published to the PS Gallery in the next hour.

@PlagueHO
Copy link
Owner

@davidwmartines - this has been released to PS Gallery: https://www.powershellgallery.com/packages/CosmosDB/2.1.6.561

See examples here:
https://github.com/PlagueHO/CosmosDB#create-a-context-for-a-cosmos-db-emulator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. in progress The issue is being actively worked on by someone.
Projects
None yet
Development

No branches or pull requests

2 participants