Skip to content

Commit 5a19a9f

Browse files
committed
Updated setup documentation to migrate from functions v2 beta to final
1 parent cf52d08 commit 5a19a9f

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

documentation/setup.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ Therefore we want to create a new product and add to it several APIs.
642642

643643
3. Re-select the API Management Service to go to detail and click on `APIs`. Click the **Add a new API** and select the `Blank API`.
644644

645-
**Please note** that, normally the Function App can produce a Swagger file that can be imported directly. But unfortunately for V2 Beta (at the time of this writing), the `API Definitions` feature is not available.
645+
**Please note** that, normally the Function App can produce a Swagger file that can be imported directly. But unfortunately for V2 (at the time of this writing), the `API Definitions` feature is not available.
646646

647647
4. Complete the API Management API creation form for `Drivers` with the following:
648648

@@ -658,7 +658,7 @@ Therefore we want to create a new product and add to it several APIs.
658658

659659
5. Repeat step 4 for the `Trips` and `Passengers` Function Apps. The `Orchestrators` are not exposed to the outside world and hence they should not be added to APIM.
660660

661-
6. For each API we created, we need to design its operations. As noted above, this step will have to be done manually for V2 Beta. Select `Design` and click on **Add operation** for each operation (**please note** that the API operations are listed below so they can be added manually). Complete the operation form as shown here for a sample operation:
661+
6. For each API we created, we need to design its operations. As noted above, this step will have to be done manually for V2. Select `Design` and click on **Add operation** for each operation (**please note** that the API operations are listed below so they can be added manually). Complete the operation form as shown here for a sample operation:
662662

663663
1. **Display Name**: Enter a name i.e. `Get Driver Locations`.
664664
2. **Name**: Enter an identifier `get-driver-locations`.
@@ -889,7 +889,7 @@ The reference implementation solution requires several settings for each functio
889889
| KEY | DESCRIPTION |
890890
|---|---|
891891
| APPINSIGHTS_INSTRUMENTATIONKEY | The Application Insights Resource Instrumentation Key. This key is required by the Function App so it knows there is an application insights resource associated with it |
892-
| FUNCTIONS_EXTENSION_VERSION | Must be set to `.0.11961-alpha` since the solution uses V2 beta |
892+
| FUNCTIONS_EXTENSION_VERSION | Must be set to `~2` since the solution uses V2 |
893893
| DocDbApiKey | The Cosmos DB API Key |
894894
| DocDbEndpointUri | The Cosmos DB Endpoint URI |
895895
| DocDbRideShareDatabaseName | The Cosmos Database i.e. `RideShare` |
@@ -906,7 +906,7 @@ The reference implementation solution requires several settings for each functio
906906
| KEY | DESCRIPTION |
907907
|---|---|
908908
| APPINSIGHTS_INSTRUMENTATIONKEY | The Application Insights Resource Instrumentation Key. This key is required by the Function App so it knows there is an application insights resource associated with it |
909-
| FUNCTIONS_EXTENSION_VERSION | Must be set to `.0.11961-alpha` since the solution uses V2 beta |
909+
| FUNCTIONS_EXTENSION_VERSION | Must be set to `~2` since the solution uses V2 |
910910
| AzureWebJobsDashboard | The Storage Account Connection String |
911911
| AzureWebJobsStorage | The Storage Account Connection String |
912912
| DocDbApiKey | The Cosmos DB API Key |
@@ -928,7 +928,7 @@ The reference implementation solution requires several settings for each functio
928928
| KEY | DESCRIPTION |
929929
|---|---|
930930
| APPINSIGHTS_INSTRUMENTATIONKEY | The Application Insights Resource Instrumentation Key. This key is required by the Function App so it knows there is an application insights resource associated with it |
931-
| FUNCTIONS_EXTENSION_VERSION | Must be set to `.0.11961-alpha` since the solution uses V2 beta |
931+
| FUNCTIONS_EXTENSION_VERSION | Must be set to `~2` since the solution uses V2 |
932932
| AzureWebJobsDashboard | The Storage Account Connection String |
933933
| AzureWebJobsStorage | The Storage Account Connection String |
934934
| DocDbApiKey | The Cosmos DB API Key |
@@ -954,7 +954,7 @@ The reference implementation solution requires several settings for each functio
954954
| KEY | DESCRIPTION |
955955
|---|---|
956956
| APPINSIGHTS_INSTRUMENTATIONKEY | The Application Insights Resource Instrumentation Key. This key is required by the Function App so it knows there is an application insights resource associated with it |
957-
| FUNCTIONS_EXTENSION_VERSION | Must be set to `.0.11961-alpha` since the solution uses V2 beta |
957+
| FUNCTIONS_EXTENSION_VERSION | Must be set to `~2` since the solution uses V2 |
958958
| AzureWebJobsDashboard | The Storage Account Connection String |
959959
| AzureWebJobsStorage | The Storage Account Connection String |
960960
| DocDbApiKey | The Cosmos DB API Key |
@@ -1384,36 +1384,36 @@ In the `Dockerfiles` folder of the `.NET` source code, there is a `docker` file
13841384
**Drivers**:
13851385

13861386
```docker
1387-
FROM microsoft/azure-functions-dotnet-core2.0:v2.0.11961-alpha
1387+
FROM microsoft/azure-functions-dotnet-core2.0:2.0
13881388
13891389
COPY ./ServerlessMicroservices.FunctionApp.Drivers/bin/Debug/netstandard2.0 /home/site/wwwroot
13901390
```
13911391

13921392
**Passengers**:
13931393

13941394
```docker
1395-
FROM microsoft/azure-functions-dotnet-core2.0:v2.0.11961-alpha
1395+
FROM microsoft/azure-functions-dotnet-core2.0:2.0
13961396
13971397
COPY ./ServerlessMicroservices.FunctionApp.Passengers/bin/Debug/netstandard2.0 /home/site/wwwroot
13981398
```
13991399

14001400
**Orchestrators**:
14011401

14021402
```docker
1403-
FROM microsoft/azure-functions-dotnet-core2.0:v2.0.11961-alpha
1403+
FROM microsoft/azure-functions-dotnet-core2.0:2.0
14041404
14051405
COPY ./ServerlessMicroservices.FunctionApp.Orchestrators/bin/Debug/netstandard2.0 /home/site/wwwroot
14061406
```
14071407

14081408
**Trips**:
14091409

14101410
```docker
1411-
FROM microsoft/azure-functions-dotnet-core2.0:v2.0.11961-alpha
1411+
FROM microsoft/azure-functions-dotnet-core2.0:2.0
14121412
14131413
COPY ./ServerlessMicroservices.FunctionApp.Trips/bin/Debug/netstandard2.0 /home/site/wwwroot
14141414
```
14151415

1416-
The `Dockerfile` is straightforward! We base it on the `microsoft/azure-functions-dotnet-core2.0` image with `v2.0.11961-alpha` tag (as it is the current version) and we copy the output of the `bin\<build>\netstandard2.0` to the `wwwroot` of the image.
1416+
The `Dockerfile` is straightforward! We base it on the `microsoft/azure-functions-dotnet-core2.0` image with `v2~2` tag (as it is the current version) and we copy the output of the `bin\<build>\netstandard2.0` to the `wwwroot` of the image.
14171417

14181418
### Docker Images
14191419

@@ -1500,7 +1500,7 @@ properties:
15001500
- "name": "APPINSIGHTS_INSTRUMENTATIONKEY"
15011501
"value": "<your-own>"
15021502
- "name": "FUNCTIONS_EXTENSION_VERSION"
1503-
"value": "2.0.11961-alpha"
1503+
"value": "~2"
15041504
- "name": "AzureWebJobsDashboard"
15051505
"value": "<your-own>"
15061506
- "name": "AzureWebJobsStorage"
@@ -1659,7 +1659,7 @@ spec:
16591659
- "name": "APPINSIGHTS_INSTRUMENTATIONKEY"
16601660
"value": "<your-own>"
16611661
- "name": "FUNCTIONS_EXTENSION_VERSION"
1662-
"value": "2.0.11961-alpha"
1662+
"value": "~2"
16631663
- "name": "AzureWebJobsDashboard"
16641664
"value": "<your-own>"
16651665
- "name": "AzureWebJobsStorage"
@@ -1720,7 +1720,7 @@ spec:
17201720
- "name": "APPINSIGHTS_INSTRUMENTATIONKEY"
17211721
"value": "<your-own>"
17221722
- "name": "FUNCTIONS_EXTENSION_VERSION"
1723-
"value": "2.0.11961-alpha"
1723+
"value": "~2"
17241724
- "name": "AzureWebJobsDashboard"
17251725
"value": "<your-own>"
17261726
- "name": "AzureWebJobsStorage"
@@ -1785,7 +1785,7 @@ spec:
17851785
- "name": "APPINSIGHTS_INSTRUMENTATIONKEY"
17861786
"value": "<your-own>"
17871787
- "name": "FUNCTIONS_EXTENSION_VERSION"
1788-
"value": "2.0.11961-alpha"
1788+
"value": "~2"
17891789
- "name": "AzureWebJobsDashboard"
17901790
"value": "<your-own>"
17911791
- "name": "AzureWebJobsStorage"
@@ -1845,7 +1845,7 @@ spec:
18451845
- "name": "APPINSIGHTS_INSTRUMENTATIONKEY"
18461846
"value": "<your-own>"
18471847
- "name": "FUNCTIONS_EXTENSION_VERSION"
1848-
"value": "2.0.11961-alpha"
1848+
"value": "~2"
18491849
- "name": "AzureWebJobsDashboard"
18501850
"value": "<your-own>"
18511851
- "name": "AzureWebJobsStorage"

0 commit comments

Comments
 (0)