Skip to content

Commit 1bb1e85

Browse files
authored
fix list numbering
1 parent 66c9546 commit 1bb1e85

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

articles/cosmos-db/sql-api-java-application.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ The easiest way to pull in the SQL Java SDK and its dependencies is through [Apa
105105
* In the **Artifact Id** box, enter `azure-cosmos`.
106106
* In the **Version** box, enter `4.0.1-beta.1`.
107107

108-
Or you can add the dependency XML for Group ID and Artifact ID directly to the *pom.xml* file:
109-
110-
```xml
111-
<dependency>
112-
<groupId>com.azure</groupId>
113-
<artifactId>azure-cosmos</artifactId>
114-
<version>4.0.1-beta.1</version>
115-
</dependency>
116-
```
108+
Or, you can add the dependency XML for Group ID and Artifact ID directly to the *pom.xml* file:
109+
110+
```xml
111+
<dependency>
112+
<groupId>com.azure</groupId>
113+
<artifactId>azure-cosmos</artifactId>
114+
<version>4.0.1-beta.1</version>
115+
</dependency>
116+
```
117117

118118
1. Click **OK** and Maven will install the SQL Java SDK or save the pom.xml file.
119119

@@ -199,51 +199,51 @@ Azure Web Sites makes deploying Java applications as simple as exporting your ap
199199

200200
All the samples in this tutorial are included in the [todo](https://github.com/Azure-Samples/documentdb-java-todo-app) project on GitHub. To import the todo project into Eclipse, ensure you have the software and resources listed in the [Prerequisites](#Prerequisites) section, then do the following:
201201

202-
* Install [Project Lombok](https://projectlombok.org/). Lombok is used to generate constructors, getters, setters in the project. Once you have downloaded the lombok.jar file, double-click it to install it or install it from the command line.
202+
1. Install [Project Lombok](https://projectlombok.org/). Lombok is used to generate constructors, getters, setters in the project. Once you have downloaded the lombok.jar file, double-click it to install it or install it from the command line.
203203

204-
* If Eclipse is open, close it and restart it to load Lombok.
204+
1. If Eclipse is open, close it and restart it to load Lombok.
205205

206-
* In Eclipse, on the **File** menu, click **Import**.
206+
1. In Eclipse, on the **File** menu, click **Import**.
207207

208-
* In the **Import** window, click **Git**, click **Projects from Git**, and then click **Next**.
208+
1. In the **Import** window, click **Git**, click **Projects from Git**, and then click **Next**.
209209

210-
* On the **Select Repository Source** screen, click **Clone URI**.
210+
1. On the **Select Repository Source** screen, click **Clone URI**.
211211

212-
* On the **Source Git Repository** screen, in the **URI** box, enter https://github.com/Azure-Samples/documentdb-java-todo-app.git, and then click **Next**.
212+
1. On the **Source Git Repository** screen, in the **URI** box, enter https://github.com/Azure-Samples/documentdb-java-todo-app.git, and then click **Next**.
213213

214-
* On the **Branch Selection** screen, ensure that **master** is selected, and then click **Next**.
214+
1. On the **Branch Selection** screen, ensure that **master** is selected, and then click **Next**.
215215

216-
* On the **Local Destination** screen, click **Browse** to select a folder where the repository can be copied, and then click **Next**.
216+
1. On the **Local Destination** screen, click **Browse** to select a folder where the repository can be copied, and then click **Next**.
217217

218-
* On the **Select a wizard to use for importing projects** screen, ensure that **Import existing projects** is selected, and then click **Next**.
218+
1. On the **Select a wizard to use for importing projects** screen, ensure that **Import existing projects** is selected, and then click **Next**.
219219

220-
* On the **Import Projects** screen, unselect the **DocumentDB** project, and then click **Finish**. The DocumentDB project contains the Azure Cosmos DB Java SDK, which we will add as a dependency instead.
220+
1. On the **Import Projects** screen, unselect the **DocumentDB** project, and then click **Finish**. The DocumentDB project contains the Azure Cosmos DB Java SDK, which we will add as a dependency instead.
221221

222-
* In **Project Explorer**, navigate to azure-documentdb-java-sample\src\com.microsoft.azure.documentdb.sample.dao\DocumentClientFactory.java and replace the HOST and MASTER_KEY values with the URI and PRIMARY KEY for your Azure Cosmos DB account, and then save the file. For more information, see [Step 1. Create an Azure Cosmos database account](#CreateDB).
222+
1. In **Project Explorer**, navigate to azure-documentdb-java-sample\src\com.microsoft.azure.documentdb.sample.dao\DocumentClientFactory.java and replace the HOST and MASTER_KEY values with the URI and PRIMARY KEY for your Azure Cosmos DB account, and then save the file. For more information, see [Step 1. Create an Azure Cosmos database account](#CreateDB).
223223

224-
* In **Project Explorer**, right-click the **azure-documentdb-java-sample**, click **Build Path**, and then click **Configure Build Path**.
224+
1. In **Project Explorer**, right-click the **azure-documentdb-java-sample**, click **Build Path**, and then click **Configure Build Path**.
225225

226-
* On the **Java Build Path** screen, in the right pane, select the **Libraries** tab, and then click **Add External JARs**. Navigate to the location of the lombok.jar file, and click **Open**, and then click **OK**.
226+
1. On the **Java Build Path** screen, in the right pane, select the **Libraries** tab, and then click **Add External JARs**. Navigate to the location of the lombok.jar file, and click **Open**, and then click **OK**.
227227

228-
* Use step 12 to open the **Properties** window again, and then in the left pane click **Targeted Runtimes**.
228+
1. Use step 12 to open the **Properties** window again, and then in the left pane click **Targeted Runtimes**.
229229

230-
* On the **Targeted Runtimes** screen, click **New**, select **Apache Tomcat v7.0**, and then click **OK**.
230+
1. On the **Targeted Runtimes** screen, click **New**, select **Apache Tomcat v7.0**, and then click **OK**.
231231

232-
* Use step 12 to open the **Properties** window again, and then in the left pane click **Project Facets**.
232+
1. Use step 12 to open the **Properties** window again, and then in the left pane click **Project Facets**.
233233

234-
* On the **Project Facets** screen, select **Dynamic Web Module** and **Java**, and then click **OK**.
234+
1. On the **Project Facets** screen, select **Dynamic Web Module** and **Java**, and then click **OK**.
235235

236-
* On the **Servers** tab at the bottom of the screen, right-click **Tomcat v7.0 Server at localhost** and then click **Add and Remove**.
236+
1. On the **Servers** tab at the bottom of the screen, right-click **Tomcat v7.0 Server at localhost** and then click **Add and Remove**.
237237

238-
* On the **Add and Remove** window, move **azure-documentdb-java-sample** to the **Configured** box, and then click **Finish**.
238+
1. On the **Add and Remove** window, move **azure-documentdb-java-sample** to the **Configured** box, and then click **Finish**.
239239

240-
* In the **Servers** tab, right-click **Tomcat v7.0 Server at localhost**, and then click **Restart**.
240+
1. In the **Servers** tab, right-click **Tomcat v7.0 Server at localhost**, and then click **Restart**.
241241

242-
* In a browser, navigate to `http://localhost:8080/azure-documentdb-java-sample/` and start adding to your task list. Note that if you changed your default port values, change 8080 to the value you selected.
242+
1. In a browser, navigate to `http://localhost:8080/azure-documentdb-java-sample/` and start adding to your task list. Note that if you changed your default port values, change 8080 to the value you selected.
243243

244-
* To deploy your project to an Azure web site, see [Step 6. Deploy your application to Azure Web Sites](#Deploy).
244+
1. To deploy your project to an Azure web site, see [Step 6. Deploy your application to Azure Web Sites](#Deploy).
245245

246246
## Next steps
247247

248248
> [!div class="nextstepaction"]
249-
> [Build a node.js application with Azure Cosmos DB](sql-api-nodejs-application.md)
249+
> [Build a node.js application with Azure Cosmos DB](sql-api-nodejs-application.md)

0 commit comments

Comments
 (0)