Skip to content

Commit 75df317

Browse files
committed
first pass first 3 articles
1 parent 10b0ad7 commit 75df317

File tree

9 files changed

+24
-40
lines changed

9 files changed

+24
-40
lines changed

articles/cosmos-db/create-cassandra-java.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,14 @@ ms.custom: seo-java-august2019, seo-java-september2019
2020
> * [Python](create-cassandra-python.md)
2121
>
2222
23-
This quickstart shows how to use Java and the Azure Cosmos DB [Cassandra API](cassandra-introduction.md) to build a profile app by cloning an example from GitHub. This quickstart also shows you how to use the web-based Azure portal to create an Azure Cosmos DB account.
24-
25-
Azure Cosmos DB is Microsoft's globally distributed multi-model database service. You can quickly create and query document, table, key-value, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
23+
In this quickstart, you connect a Cassandra Java app cloned from GitHub to an Azure Cosmos DB with Cassandra API account. Azure Cosmos DB multi-model database service lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
2624

2725
## Prerequisites
2826

29-
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)] Alternatively, you can [Try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription, free of charge and commitments.
30-
31-
In addition, you need:
32-
33-
* [Java Development Kit (JDK) version 8](https://aka.ms/azure-jdks)
34-
* Be sure to set the JAVA_HOME environment variable to point to the folder where the JDK is installed.
35-
* [Download](https://maven.apache.org/download.cgi) and [install](https://maven.apache.org/install.html) a [Maven](https://maven.apache.org/) binary archive
36-
* On Ubuntu, you can run `apt-get install maven` to install Maven.
37-
* [Git](https://www.git-scm.com/)
38-
* On Ubuntu, you can run `sudo apt-get install git` to install Git.
27+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio). Or, [try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription.
28+
- [Java Development Kit (JDK) version 8](https://aka.ms/azure-jdks). Point your `JAVA_HOME` environment variable to the folder where the JDK is installed.
29+
- A [Maven](https://maven.apache.org/download.cgi) binary archive. On Linux, you can run `apt-get install maven` to install Maven.
30+
- [Git](https://www.git-scm.com/). On Linux, you can run `apt-get install git` to install Git.
3931

4032
## Create a database account
4133

@@ -145,7 +137,7 @@ The following snippets are from the *src/main/java/com/azure/cosmosdb/cassandra/
145137

146138
Now go back to the Azure portal to get your connection string information and copy it into the app. The connection string details enable your app to communicate with your hosted database.
147139

148-
1. In the [Azure portal](https://portal.azure.com/), select **Connection String**.
140+
1. In your Azure Cosmos DB account in the [Azure portal](https://portal.azure.com/), select **Connection String**.
149141

150142
![View and copy a username from the Azure portal, Connection String page](./media/create-cassandra-java/copy-username-connection-string-azure-portal.png)
151143

@@ -199,7 +191,7 @@ Now go back to the Azure portal to get your connection string information and co
199191

200192
The terminal window displays notifications that the keyspace and table are created. It then selects and returns all users in the table and displays the output, and then selects a row by ID and displays the value.
201193

202-
Select **CTRL + C** to stop execution of the program and close the console window.
194+
Press Ctrl+C to stop execution of the program and close the console window.
203195

204196
4. In the Azure portal, open **Data Explorer** to query, modify, and work with this new data.
205197

@@ -215,7 +207,7 @@ Now go back to the Azure portal to get your connection string information and co
215207

216208
## Next steps
217209

218-
In this quickstart, you've learned how to create an Azure Cosmos DB account, Cassandra database, and container using the Data Explorer, and run an app to do the same thing programmatically. You can now import additional data into your Azure Cosmos container.
210+
In this quickstart, you've learned how to create an Azure Cosmos DB account with Cassandra API, and run a Cassandra Java app that creates a Cassandra database and container. You can now import additional data into your Azure Cosmos DB container.
219211
220212
> [!div class="nextstepaction"]
221213
> [Import Cassandra data into Azure Cosmos DB](cassandra-import-data.md)

articles/cosmos-db/create-cassandra-nodejs.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,13 @@ ms.date: 09/24/2018
1818
> * [Python](create-cassandra-python.md)
1919
>
2020
21-
This quickstart shows how to use Node.js and the Azure Cosmos DB [Cassandra API](cassandra-introduction.md) to build a profile app by cloning an example from GitHub. This quickstart also shows you how to use the web-based Azure portal to create an Azure Cosmos DB account.
22-
23-
Azure Cosmos DB is Microsoft's globally distributed multi-model database service. You can quickly create and query document, table, key-value, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
21+
In this quickstart, you connect a Cassandra Node.js app cloned from GitHub to an Azure Cosmos DB with Cassandra API account. Azure Cosmos DB multi-model database service lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
2422

2523
## Prerequisites
2624

27-
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)] Alternatively, you can [Try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription, free of charge and commitments.
28-
29-
In addition, you need:
30-
* [Node.js](https://nodejs.org/en/) version v0.10.29 or higher
31-
* [Git](https://git-scm.com/)
25+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio). Or, [try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription.
26+
- [Node.js](https://nodejs.org/en/) version v0.10.29 or higher.
27+
- [Git](https://www.git-scm.com/).
3228

3329
## Create a database account
3430

@@ -150,7 +146,7 @@ This step is optional. If you're interested to learn how the code creates the da
150146
151147
Now go back to the Azure portal to get your connection string information and copy it into the app. The connection string enables your app to communicate with your hosted database.
152148
153-
1. In the [Azure portal](https://portal.azure.com/), select **Connection String**.
149+
1. In your Azure Cosmos DB account in the [Azure portal](https://portal.azure.com/), select **Connection String**.
154150
155151
Use the ![Copy button](./media/create-cassandra-nodejs/copy.png) button on the right side of the screen to copy the top value, the CONTACT POINT.
156152
@@ -198,7 +194,7 @@ Now go back to the Azure portal to get your connection string information and co
198194
199195
![View and verify the output](./media/create-cassandra-nodejs/output.png)
200196
201-
Press CTRL + C to stop execution of the program and close the console window.
197+
Press CTRL+C to stop execution of the program and close the console window.
202198
203199
4. In the Azure portal, open **Data Explorer** to query, modify, and work with this new data.
204200
@@ -214,7 +210,7 @@ Now go back to the Azure portal to get your connection string information and co
214210
215211
## Next steps
216212
217-
In this quickstart, you've learned how to create an Azure Cosmos DB account, create a container using the Data Explorer, and run an app. You can now import additional data to your Cosmos DB account.
213+
In this quickstart, you've learned how to create an Azure Cosmos DB account with Cassandra API, and run a Cassandra Node.js app that creates a Cassandra database and container. You can now import additional data into your Azure Cosmos DB container.
218214
219215
> [!div class="nextstepaction"]
220216
> [Import Cassandra data into Azure Cosmos DB](cassandra-import-data.md)

articles/cosmos-db/create-cassandra-python.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,14 @@ ms.date: 09/24/2018
1818
> * [Python](create-cassandra-python.md)
1919
>
2020
21-
This quickstart shows how to use Python and the Azure Cosmos DB [Cassandra API](cassandra-introduction.md) to build a profile app by cloning an example from GitHub. This quickstart also shows you how to use the web-based Azure portal to create an Azure Cosmos DB account.
22-
23-
Azure Cosmos DB is Microsoft's globally distributed multi-model database service. You can quickly create and query document, table, key-value, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
24-
21+
In this quickstart, you connect a Cassandra Python app cloned from GitHub to an Azure Cosmos DB with Cassandra API account. Azure Cosmos DB multi-model database service lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
22+
run an app that creates a database and container in an Azure Cosmos DB Cassandra API account.
2523
## Prerequisites
2624

27-
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)] Alternatively, you can [Try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription, free of charge and commitments.
28-
29-
In addition, you need:
30-
* [Python](https://www.python.org/downloads/) version v2.7.14
31-
* [Git](https://git-scm.com/)
32-
* [Python Driver for Apache Cassandra](https://github.com/datastax/python-driver)
25+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio). Or, [try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription.
26+
- [Python](https://www.python.org/downloads/) version v2.7.14 or above.
27+
- [Git](https://git-scm.com/).
28+
- [Python Driver for Apache Cassandra](https://github.com/datastax/python-driver).
3329

3430
## Create a database account
3531

@@ -130,7 +126,7 @@ This step is optional. If you're interested to learn how the code creates the da
130126
131127
Now go back to the Azure portal to get your connection string information and copy it into the app. The connection string enables your app to communicate with your hosted database.
132128
133-
1. In the [Azure portal](https://portal.azure.com/), select **Connection String**.
129+
1. In your Azure Cosmos DB account in the [Azure portal](https://portal.azure.com/), select **Connection String**.
134130
135131
Use the ![Copy button](./media/create-cassandra-python/copy.png) button on the right side of the screen to copy the top value, the CONTACT POINT.
136132
@@ -189,7 +185,7 @@ Now go back to the Azure portal to get your connection string information and co
189185
190186
3. Verify the results as expected from the command line.
191187
192-
Press CTRL + C to stop execution of the program and close the console window.
188+
Press CTRL+C to stop execution of the program and close the console window.
193189
194190
![View and verify the output](./media/create-cassandra-python/output.png)
195191
@@ -207,7 +203,7 @@ Now go back to the Azure portal to get your connection string information and co
207203
208204
## Next steps
209205
210-
In this quickstart, you've learned how to create an Azure Cosmos DB account, create a container using the Data Explorer, and run an app. You can now import additional data to your Cosmos DB account.
206+
In this quickstart, you've learned how to create an Azure Cosmos DB account with Cassandra API, and run a Cassandra Python app that creates a Cassandra database and container. You can now import additional data into your Azure Cosmos DB container.
211207
212208
> [!div class="nextstepaction"]
213209
> [Import Cassandra data into Azure Cosmos DB](cassandra-import-data.md)
17.8 KB
Loading
-1.1 KB
Loading
-1.1 KB
Loading
17.8 KB
Loading
-1.1 KB
Loading
17.8 KB
Loading

0 commit comments

Comments
 (0)