question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dab init --database-type "cosmos" has more mandatory options mismatching starter Cosmos doc

See original GitHub issue

Hello, testing the Cosmos starter doc using (dab 0.1.5): https://github.com/Azure/data-api-builder/blob/main/docs/getting-started/getting-started.md#overview-of-configuration-file

executing dab init --database-type "cosmos" --connection-string "AccountEndpoint=https://cosmoslab77722.documents.azure.com:443/;AccountKey=***;"

and getting error that 2 additional new options are mandatory:

Provide all the mandatory options for CosmosDB: --cosmos-database, and --graphql-schema Failed to create the runtime config file.ERROR: Could not generate config file. <

This does create a mismatch between doc instructions and process flow. Pls advise if this is going to be updated one way of the other.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sesmyrnovcommented, Oct 10, 2022

thanks. I tested dab init successfully after updating dab to v 0.2.52. this issue is now closed.

1reaction
sesmyrnovcommented, Sep 21, 2022

@sajeetharan - thanks for the update. I see the step in the doc https://github.com/Azure/data-api-builder/blob/main/docs/getting-started/getting-started-azure-cosmos-db.md#creating-a-configuration-file-for-dab was updated to add the additional required steps. But to re-test it I do not see new dab nuget package for v 0.2.5 posted in releases to re-test. Can you pls tag me here once it will be posted and I will re-test and close?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Consistency level choices - Azure Cosmos DB
Azure Cosmos DB has five consistency levels to help balance eventual consistency, availability, and latency trade-offs.
Read more >
GraphQL on Azure: Part 12 - GraphQL as a Service
DAB is a joint effort from the Azure SQL, PostgreSQL, MySQL and Cosmos DB teams to provide a simple and easy way to...
Read more >
Manage consistency levels in Azure Cosmos DB
Find your Azure Cosmos DB account, and open the Default consistency pane. Select the level of consistency you want as the new default,...
Read more >
Read more - Aaron Powell
I’m going to use DAB with a Cosmos DB backend, just to show you how to ... file:\n1 dab init --config dab-config.json --database-type...
Read more >
Energy, Environment & Sustainability
Explore the Energy, Environment & Sustainability Career Community. Do you have an investigative mindset and like solving complex problems?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found