From 1abc8572220e1fa50309079eb06d4a8b28556989 Mon Sep 17 00:00:00 2001 From: Sean Alvarez Date: Fri, 2 Mar 2018 15:10:55 -0500 Subject: [PATCH] Update Module2-Migrating MongoDB Apps to Azure Cosmos DB(Mongo API).MD UPdate Application to use Cosmos DB refers to "Primary Key", but the Mongo API connection strings blade shows "Primary Password" --- ...ule2-Migrating MongoDB Apps to Azure Cosmos DB(Mongo API).MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/Module2-Migrating MongoDB Apps to Azure Cosmos DB(Mongo API).MD b/challenges/Module2-Migrating MongoDB Apps to Azure Cosmos DB(Mongo API).MD index 7f72788..4a86c66 100644 --- a/challenges/Module2-Migrating MongoDB Apps to Azure Cosmos DB(Mongo API).MD +++ b/challenges/Module2-Migrating MongoDB Apps to Azure Cosmos DB(Mongo API).MD @@ -110,7 +110,7 @@ mongoimport --host : -u -p --ssl --sslAllowInv ### Update Application to use Cosmos DB -1. Go back to Visual Studio Code IDE in JumpVM and navigate to the config.js file under ContosoAir.Services and paste the **HOST** value against **DOCUMENT_DB_ENDPOINT**, **PRIMARY KEY** against **DOCUMENT_DB_PRIMARYKEY**, **DOCUMENT_DB_DATABASE** as **contosoairdb3** and **Primary Connection String** Against **MONGO_DB_CONNECTION_STRING** and add database name (contosoairdb3) before question mark in connection string. +1. Go back to Visual Studio Code IDE in JumpVM and navigate to the config.js file under ContosoAir.Services and paste the **HOST** value against **DOCUMENT_DB_ENDPOINT**, **PRIMARY PASSWORD** against **DOCUMENT_DB_PRIMARYKEY**, **DOCUMENT_DB_DATABASE** as **contosoairdb3** and **Primary Connection String** Against **MONGO_DB_CONNECTION_STRING** and add database name (contosoairdb3) before question mark in connection string. it should look something like below: ```bash