You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that you've added your APIs, you need to publish your `RideShare` product. To do this, select **Products** on the left-hand menu of your APIM service. You will see that the `RideShare` product is in the **Not published** state.
736
+
737
+

738
+
739
+
Select the ellipses (...) on the right-hand side of the `RideShare` product, then select **Publish**.
740
+
741
+

742
+
733
743
### Retrieve the APIM API key
734
744
735
745
**Please note** that you should have created the [Create the API Management Service](#create-the-api-management-service) as well as [added the RideShare APIM Product](#add-apim-products-and-apis) before you can proceed with this step.
@@ -1343,17 +1353,16 @@ From a PowerShell command, use the following commands for the `Prod` environment
1343
1353
1344
1354
## Seeding
1345
1355
1346
-
The .NET `ServerlessMicroservices.Seeder` project contains a seeding command that can be used to seed `drivers` and `passengers` using the `Drivers APIs` and `Passengers APIs` respectively.
1356
+
The .NET `ServerlessMicroservices.Seeder` project contains a seeding command that can be used to seed `drivers` and `passengers` using the `Drivers APIs` and `Passengers APIs`, respectively.
1357
+
1358
+
**Please note** that the `seed` command will seed drivers only if there are no drivers and will seed passengers only if there are no passengers in the solution's database.
1347
1359
1348
-
**Please note** that the `seed` command will seed drivers only if there are no drivers and will seed passengers only if there are no passengers in the solution's database.
1360
+
> You must set the **EnableAuth** App Setting on the **Drivers**and **Passengers** Function Apps to `false` for the seeder to work.
1349
1361
1350
-
The `seed` command takes 5 non-optional arguments i.e. `ServerlessMicroservices.Seeder.exe seed https://ridesharetripsfunctionapp.azurewebsites.net getdriversfunctioncode postdriversfunctioncode getpassengersfunctioncode postpassengersfunctioncode`
1362
+
The `seed` command takes 5 non-optional arguments i.e. `ServerlessMicroservices.Seeder.exe seed --seeddriversurl https://ridesharedrivers.azurewebsites.net --seedpassengersurl https://ridesharepassengers.azurewebsites.net`
varseedUrlOption=app.Option("-t|--seedbaseurl","Set seed base url",CommandOptionType.SingleValue,true);
24
-
varseedGetDriversFunctionCodeOption=app.Option("-t|--seedgetdriverscode","Set seed get drivers function cpde",CommandOptionType.SingleValue,true);
25
-
varseedPostDriversFunctionCodeOption=app.Option("-t|--seedpostdriverscode","Set seed post drivers function cpde",CommandOptionType.SingleValue,true);
26
-
varseedGetPassengersFunctionCodeOption=app.Option("-t|--seedgetpassengerscode","Set seed get passengers function cpde",CommandOptionType.SingleValue,true);
27
-
varseedPostPassengersFunctionCodeOption=app.Option("-t|--seedpostpassengerscode","Set seed post passengers function cpde",CommandOptionType.SingleValue,true);
0 commit comments