Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[4.4] Miscellaneous template updates #1179

Merged
merged 16 commits into from
Apr 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ await GetTestFlow()
public async Task Test_Unhandled_Message()
{
await GetTestFlow()
.Send(string.Empty)
.Send(GeneralUtterances.None)
.AssertReply(DidntUnderstandMessage())
.StartTestAsync();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public virtual void Initialize()
{
LuisServices = new Dictionary<string, IRecognizer>
{
{ "general", GeneralTestUtil.CreateRecognizer() },
{ "General", GeneralTestUtil.CreateRecognizer() },
{ "skill", SkillTestUtil.CreateRecognizer() }
}
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
<data name="Help" xml:space="preserve">
<value>help</value>
</data>
<data name="None" xml:space="preserve">
<value>unknown</value>
</data>
<data name="Reject" xml:space="preserve">
<value>no</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
}
},
"variables": {
"botEndpoint": "[concat('https://', toLower(parameters('botWebAppName')), '.azurewebsites.net/api/messages')]"
"botEndpoint": "[concat('https://', toLower(parameters('botWebAppName')), '.azurewebsites.net/api/messages')]",
"cleanStorageAccountName": "[toLower(take(replace(replace(parameters('storageAccountName'), '-', ''), '_', ''), 24))]"
},
"resources": [
{
Expand Down Expand Up @@ -107,7 +108,7 @@
"type": "Microsoft.Storage/storageAccounts",
"kind": "StorageV2",
"apiVersion": "2018-07-01",
"name": "[parameters('storageAccountName')]",
"name": "[variables('cleanStorageAccountName')]",
"location": "[parameters('location')]",
"sku": {
"name": "Standard_LRS"
Expand Down Expand Up @@ -141,8 +142,8 @@
"location": "[parameters('location')]",
"properties": {
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('appServicePlanName'))]",
"webSocketsEnabled" : true,
"siteConfig": {
"webSocketsEnabled": true,
"appSettings": [
{
"name": "MicrosoftAppId",
Expand Down Expand Up @@ -200,7 +201,7 @@
"storage": {
"type": "object",
"value": {
"connectionString": "[concat('DefaultEndpointsProtocol=https;AccountName=', parameters('storageAccountName'), ';AccountKey=', listKeys(resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName')), '2018-07-01').keys[0].value, ';EndpointSuffix=core.windows.net')]",
"connectionString": "[concat('DefaultEndpointsProtocol=https;AccountName=', variables('cleanStorageAccountName'), ';AccountKey=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('cleanStorageAccountName')), '2018-07-01').keys[0].value, ';EndpointSuffix=core.windows.net')]",
"container": "transcripts"
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#Requires -Version 6

Param(
[string] $name,
[string] $resourceGroup,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#Requires -Version 6

Param(
[string] $name,
[string] $luisAuthoringRegion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public MainDialog(
var localeConfig = _services.CognitiveModelSets[locale];

// check general luis intent
localeConfig.LuisServices.TryGetValue("general", out var luisService);
localeConfig.LuisServices.TryGetValue("General", out var luisService);

if (luisService == null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.3.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.3.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.3.1" />
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.4.0-preview27" />
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.4.0-preview27" />
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.4.0-preview35" />
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.4.0-preview35" />
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.3.1" />
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.3.1" />
<PackageReference Include="Microsoft.Bot.Connector" Version="4.3.1" />
Expand Down
Loading