Skip to content

Commit b86e46a

Browse files
committed
implemented review comments
1 parent ac979e5 commit b86e46a

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

articles/energy-data-services/tutorial-csv-ingestion.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Comma-separated values (CSV) parser ingestion provides the capability to ingest
1818

1919
In this tutorial, you learn how to:
2020

21-
> * Ingest a sample wellbore data CSV file into an Azure Data Manager for Energy instance by using `curl`.
22-
> * Search for storage metadata records created during CSV ingestion by using `curl`.
21+
> * Ingest a sample wellbore data CSV file into an Azure Data Manager for Energy instance by using `cURL`.
22+
> * Search for storage metadata records created during CSV ingestion by using `cURL`.
2323
2424
## Prerequisites
2525
* An Azure subscription
@@ -33,24 +33,24 @@ In this tutorial, you learn how to:
3333

3434
| Parameter | Value to use | Example | Where to find this value |
3535
|----|----|----|----|
36-
| `DNS` | URI | `<instance>.energy.Azure.com` | Find this value on the overview page of the Azure Data Manager for Energy instance. |
37-
| `data-partition-id` | Data partitions | `<data-partition-id>` | Find this value on the Data Partitions page of the Azure Data Manager for Energy instance. |
36+
| `DNS` | URI | `<instance>.energy.azure.com` | Find this value on the overview page of the Azure Data Manager for Energy instance. |
37+
| `data-partition-id` | Data partitions | `<data-partition-id>` | Find this value on the Data Partitions section within the Azure Data Manager for Energy instance. |
3838
| `access_token` | Access token value | `0.ATcA01-XWHdJ0ES-qDevC6r...........`| Follow [How to generate auth token](how-to-generate-auth-token.md) to create an access token and save it.|
3939

4040
Follow the [Manage users](how-to-manage-users.md) guide to add appropriate entitlements for the user who's running this tutorial.
4141

4242
### Set up your environment
4343

44-
Ensure you have `curl` installed on your system. You will use it to make API calls.
44+
Ensure you have `cURL` installed on your system. You will use it to make API calls.
4545

46-
## Ingest wellbore data by using `curl`
46+
## Ingest wellbore data by using `cURL`
4747

4848
To ingest a sample wellbore data CSV file into the Azure Data Manager for Energy instance, complete the following steps:
4949
Replace the placeholders (`<DNS>`, `<access_token>`, etc.) with the appropriate values.
5050

5151
### 1. Create a Schema
5252

53-
Run the following `curl` command to create a schema:
53+
Run the following `cURL` command to create a schema:
5454

5555
```bash
5656
curl -X POST "https://<DNS>/api/schema-service/v1/schema" \
@@ -94,7 +94,7 @@ Save the `id` from the response for use in subsequent steps.
9494

9595
### 2. Create a Legal Tag
9696

97-
Run the following `curl` command to create a legal tag:
97+
Run the following `cURL` command to create a legal tag:
9898

9999
```bash
100100
curl -X POST "https://<DNS>/api/legal/v1/legaltags" \
@@ -127,7 +127,7 @@ curl -X POST "https://<DNS>/api/legal/v1/legaltags" \
127127

128128
### 3. Get a Signed URL for Uploading a CSV File
129129

130-
Run the following `curl` command to get a signed URL:
130+
Run the following `cURL` command to get a signed URL:
131131

132132
```bash
133133
curl -X GET "https://<DNS>/api/file/v2/files/uploadURL" \
@@ -147,7 +147,7 @@ Save the `SignedURL` and `FileSource` from the response for use in the next step
147147

148148
### 4. Upload a CSV File
149149

150-
Download the [Wellbore.csv](https://github.com/microsoft/meds-samples/blob/main/test-data/wellbore.csv) sample to your local machine. Then, run the following `curl` command to upload the file:
150+
Download the [Wellbore.csv](https://github.com/microsoft/meds-samples/blob/main/test-data/wellbore.csv) sample to your local machine. Then, run the following `cURL` command to upload the file:
151151

152152
```bash
153153
curl -X PUT -T "Wellbore.csv" "<SignedURL>" -H "x-ms-blob-type: BlockBlob"
@@ -162,7 +162,7 @@ curl -X PUT -T "Wellbore.csv" "<SignedURL>" -H "x-ms-blob-type: BlockBlob"
162162

163163
### 5. Upload CSV File Metadata
164164

165-
Run the following `curl` command to upload metadata for the CSV file:
165+
Run the following `cURL` command to upload metadata for the CSV file:
166166

167167
```bash
168168
curl -X POST "https://<DNS>/api/file/v2/files/metadata" \
@@ -203,7 +203,7 @@ Save the `id`, which is the uploaded file's id, from the response for use in the
203203

204204
### 6. Trigger a CSV Parser Ingestion Workflow
205205

206-
Run the following `curl` command to trigger the ingestion workflow:
206+
Run the following `cURL` command to trigger the ingestion workflow:
207207

208208
```bash
209209
curl -X POST "https://<DNS>/api/workflow/v1/workflow/csv-parser/workflowRun" \
@@ -230,7 +230,7 @@ Save the `runId` from the response for use in the next step.
230230

231231
### 7. Check the status of the workflow and wait for its completion.
232232

233-
Run the following `curl` command to check the status of the workflow run:
233+
Run the following `cURL` command to check the status of the workflow run:
234234

235235
```bash
236236
curl -X GET "https://<DNS>/api/workflow/v1/workflow/csv-parser/workflowRun/<runId>" \
@@ -251,7 +251,7 @@ Keep checking every few seconds, until the response indicates a sccessful comple
251251

252252
### 8. Search for Ingested CSV Records
253253

254-
Run the following `curl` command to search for ingested records:
254+
Run the following `cURL` command to search for ingested records:
255255

256256
```bash
257257
curl -X POST "https://<DNS>/api/search/v2/query" \
@@ -282,6 +282,5 @@ You should be able to see the records in the search results.
282282

283283
Advance to the next tutorial:
284284

285-
> [Tutorial: Perform manifest-based file ingestion](tutorial-manifest-ingestion.md)
286-
287-
285+
> [!div class="nextstepaction"]
286+
> [Tutorial: Perform manifest-based file ingestion](tutorial-manifest-ingestion.md)

0 commit comments

Comments
 (0)