diff --git a/README.md b/README.md index 7558b978cd..1a12acf691 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,6 @@ Samples are designed to illustrate functionality you'll need to implement to bui |16|Proactive messages | Demonstrates how to send proactive messages to users. |[.NET Core][cs#16]|[JavaScript][js#16], [TypeScript][ts#16]|[Python][py#16] |17|Multilingual bot | Using translate middleware to support a multi-lingual bot. Demonstrates custom middleware. |[.NET Core][cs#17]|[JavaScript][js#17]|[Python][py#17] |19|Custom dialogs | Demonstrates complex conversation flow using the Dialogs library. |[.NET Core][cs#19]|[JavaScript][js#19]|[Python][py#19] -|21|Application Insights | Demonstrates how to add telemetry logging to your bot, storing telemetry within Application Insights.|[.NET Core][cs#21] |[JavaScript][js#21] | |23|Facebook events | Integrate and consume Facebook specific payloads, such as post-backs, quick replies and opt-in events.|[.NET Core][cs#23] |[JavaScript][js#23] |[Python][py#23] |42|Scale out | Demonstrates how you can build your own state solution from the ground up that supports scaled out deployment with ETag based optimistic locking. |[.NET Core][cs#42] | |[Python][py#42] |44|Basic custom prompts | Demonstrates how to implement your own _basic_ prompts to ask the user for information. |[.NET Core][cs#44]|[JavaScript][js#44]|[Python][py#44] @@ -87,11 +86,11 @@ Samples are designed to illustrate functionality you'll need to implement to bui ### Skills samples -| | Sample Name | Description | .NET | JavaScript | Python | Java +| | Sample Name | Description | .NET | JavaScript | Python | |:--:|:----------------------|:---------------------------------------------------------------------------------|:--------|:-------------|:--------| |80|Skills - simple bot to bot | This sample shows how to connect a skill to a skill consumer. | [.NET Core][cs#80] | [JavaScript][js#80] |[Python][py#80] |81|Skills - skill dialog | This sample shows how to connect a skill to a skill dialog consumer.| [.NET Core][cs#81] | [JavaScript][js#81] |[Python][py#81] -|82|Skills - SSO with CloudAdapter | This sample shows how use SSO with skills and CloudAdapter.| [.NET Core][cs#82] | [JavaScript][js#82] |NA |NA +|82|Skills - SSO with CloudAdapter | This sample shows how use SSO with skills and CloudAdapter.| [.NET Core][cs#82] | [JavaScript][js#82] |NA ### Experimental / preview samples A [collection of **experimental** samples](./experimental) exist, intended to provide samples for features currently in preview or as a way to solicit feedback on a given design, approach, or technology being considered by the Bot Framework Team. diff --git a/samples/javascript_nodejs/21.corebot-app-insights/.env b/archive/samples/javascript_nodejs/21.corebot-app-insights/.env similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/.env rename to archive/samples/javascript_nodejs/21.corebot-app-insights/.env diff --git a/samples/javascript_nodejs/21.corebot-app-insights/.eslintrc.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/.eslintrc.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/.eslintrc.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/.eslintrc.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/.gitignore b/archive/samples/javascript_nodejs/21.corebot-app-insights/.gitignore similarity index 67% rename from samples/javascript_nodejs/21.corebot-app-insights/.gitignore rename to archive/samples/javascript_nodejs/21.corebot-app-insights/.gitignore index faf84ac400..1936195dcc 100644 --- a/samples/javascript_nodejs/21.corebot-app-insights/.gitignore +++ b/archive/samples/javascript_nodejs/21.corebot-app-insights/.gitignore @@ -1,4 +1,3 @@ node_modules/ .nyc_output/ -.vscode/ -.env \ No newline at end of file +.vscode/ \ No newline at end of file diff --git a/samples/javascript_nodejs/21.corebot-app-insights/README-LUIS.md b/archive/samples/javascript_nodejs/21.corebot-app-insights/README-LUIS.md similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/README-LUIS.md rename to archive/samples/javascript_nodejs/21.corebot-app-insights/README-LUIS.md diff --git a/samples/javascript_nodejs/21.corebot-app-insights/README.md b/archive/samples/javascript_nodejs/21.corebot-app-insights/README.md similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/README.md rename to archive/samples/javascript_nodejs/21.corebot-app-insights/README.md diff --git a/samples/javascript_nodejs/21.corebot-app-insights/bots/dialogAndWelcomeBot.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/bots/dialogAndWelcomeBot.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/bots/dialogAndWelcomeBot.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/bots/dialogAndWelcomeBot.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/bots/dialogBot.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/bots/dialogBot.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/bots/dialogBot.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/bots/dialogBot.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/bots/resources/welcomeCard.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/bots/resources/welcomeCard.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/bots/resources/welcomeCard.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/bots/resources/welcomeCard.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/cognitiveModels/FlightBooking.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/cognitiveModels/FlightBooking.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/cognitiveModels/FlightBooking.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/cognitiveModels/FlightBooking.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/readme.md b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/readme.md similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/readme.md rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/readme.md diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/readme.md b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/readme.md similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/readme.md rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/readme.md diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/dialogs/bookingDialog.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/bookingDialog.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/dialogs/bookingDialog.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/bookingDialog.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/dialogs/cancelAndHelpDialog.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/cancelAndHelpDialog.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/dialogs/cancelAndHelpDialog.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/cancelAndHelpDialog.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/dialogs/dateResolverDialog.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/dateResolverDialog.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/dialogs/dateResolverDialog.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/dateResolverDialog.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/dialogs/flightBookingRecognizer.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/flightBookingRecognizer.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/dialogs/flightBookingRecognizer.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/flightBookingRecognizer.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/dialogs/mainDialog.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/mainDialog.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/dialogs/mainDialog.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/dialogs/mainDialog.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/index.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/index.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/index.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/index.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/models/errorViewModel.js b/archive/samples/javascript_nodejs/21.corebot-app-insights/models/errorViewModel.js similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/models/errorViewModel.js rename to archive/samples/javascript_nodejs/21.corebot-app-insights/models/errorViewModel.js diff --git a/samples/javascript_nodejs/21.corebot-app-insights/package.json b/archive/samples/javascript_nodejs/21.corebot-app-insights/package.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/package.json rename to archive/samples/javascript_nodejs/21.corebot-app-insights/package.json diff --git a/samples/python/21.corebot-app-insights/NOTICE.md b/archive/samples/python/21.corebot-app-insights/NOTICE.md similarity index 100% rename from samples/python/21.corebot-app-insights/NOTICE.md rename to archive/samples/python/21.corebot-app-insights/NOTICE.md diff --git a/samples/python/21.corebot-app-insights/README-LUIS.md b/archive/samples/python/21.corebot-app-insights/README-LUIS.md similarity index 100% rename from samples/python/21.corebot-app-insights/README-LUIS.md rename to archive/samples/python/21.corebot-app-insights/README-LUIS.md diff --git a/samples/python/21.corebot-app-insights/README.md b/archive/samples/python/21.corebot-app-insights/README.md similarity index 98% rename from samples/python/21.corebot-app-insights/README.md rename to archive/samples/python/21.corebot-app-insights/README.md index 43fa0148c6..e096358384 100644 --- a/samples/python/21.corebot-app-insights/README.md +++ b/archive/samples/python/21.corebot-app-insights/README.md @@ -1,85 +1,85 @@ -# CoreBot with Application Insights - -Bot Framework v4 core bot sample. - -This bot has been created using [Bot Framework](https://dev.botframework.com), it shows how to: - -- Use [LUIS](https://www.luis.ai) to implement core AI capabilities -- Implement a multi-turn conversation using Dialogs -- Handle user interruptions for such things as `Help` or `Cancel` -- Prompt for and validate requests for information from the user -- Use [Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/cloudservices) to monitor your bot - -## Prerequisites - -This sample **requires** prerequisites in order to run. - -### Overview - -This bot uses [LUIS](https://www.luis.ai), an AI based cognitive service, to implement language understanding -and [Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/cloudservices), an extensible Application Performance Management (APM) service for web developers on multiple platforms. - -### Create a LUIS Application to enable language understanding - -LUIS language model setup, training, and application configuration steps can be found [here](https://docs.microsoft.com/azure/bot-service/bot-builder-howto-v4-luis?view=azure-bot-service-4.0&tabs=cs). - -If you wish to create a LUIS application via the CLI, these steps can be found in the [README-LUIS.md](README-LUIS.md). - -### Add Application Insights service to enable the bot monitoring - -Application Insights resource creation steps can be found [here](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource). - -You must include the instrumentation key in the `config.py` file, as well is in the designated field in your Azure Bot resource. - -### Add Activity and Personal Information logging for Application Insights -To log activity and personal information, extra code is needed in `app.py` after the creation of the telemetry client. This code is *already present* in the sample, but must be unconmmented in order to function. It is important to note that due to privacy concerns, in a real-world application you **must** obtain user consent prior to logging this information. - -The required code is as follows: -```python -TELEMETRY_LOGGER_MIDDLEWARE = TelemetryLoggerMiddleware(telemetry_client=TELEMETRY_CLIENT, log_personal_information=True) -ADAPTER.use(TELEMETRY_LOGGER_MIDDLEWARE) -``` - -## To try this sample - -- Clone the repository -```bash -git clone https://github.com/Microsoft/botbuilder-samples.git -``` -- In a terminal, navigate to `botbuilder-samples\samples\python\21.corebot-app-insights` folder -- Activate your desired virtual environment -- In the terminal, type `pip install -r requirements.txt` -- Run your bot with `python app.py` - -## Testing the bot using Bot Framework Emulator - -[Bot Framework Emulator](https://github.com/microsoft/botframework-emulator) is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel. - -- Install the latest Bot Framework Emulator from [here](https://github.com/Microsoft/BotFramework-Emulator/releases) - -### Connect to the bot using Bot Framework Emulator - -- Launch Bot Framework Emulator -- File -> Open Bot -- Enter a Bot URL of `http://localhost:3978/api/messages` - -## Deploy the bot to Azure - -To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](https://aka.ms/azuredeployment) for a complete list of deployment instructions. - -## Further reading - -- [Bot Framework Documentation](https://docs.botframework.com) -- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0) -- [Dialogs](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-dialog?view=azure-bot-service-4.0) -- [Gathering Input Using Prompts](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-prompts?view=azure-bot-service-4.0&tabs=csharp) -- [Activity processing](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-activity-processing?view=azure-bot-service-4.0) -- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0) -- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0) -- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest) -- [Azure Portal](https://portal.azure.com) -- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/) -- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0) -- [Application insights Overview](https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview) -- [Getting Started with Application Insights](https://github.com/Microsoft/ApplicationInsights-aspnetcore/wiki/Getting-Started-with-Application-Insights-for-ASP.NET-Core) -- [Filtering and preprocessing telemetry in the Application Insights SDK](https://docs.microsoft.com/azure/azure-monitor/app/api-filtering-sampling) +# CoreBot with Application Insights + +Bot Framework v4 core bot sample. + +This bot has been created using [Bot Framework](https://dev.botframework.com), it shows how to: + +- Use [LUIS](https://www.luis.ai) to implement core AI capabilities +- Implement a multi-turn conversation using Dialogs +- Handle user interruptions for such things as `Help` or `Cancel` +- Prompt for and validate requests for information from the user +- Use [Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/cloudservices) to monitor your bot + +## Prerequisites + +This sample **requires** prerequisites in order to run. + +### Overview + +This bot uses [LUIS](https://www.luis.ai), an AI based cognitive service, to implement language understanding +and [Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/cloudservices), an extensible Application Performance Management (APM) service for web developers on multiple platforms. + +### Create a LUIS Application to enable language understanding + +LUIS language model setup, training, and application configuration steps can be found [here](https://docs.microsoft.com/azure/bot-service/bot-builder-howto-v4-luis?view=azure-bot-service-4.0&tabs=cs). + +If you wish to create a LUIS application via the CLI, these steps can be found in the [README-LUIS.md](README-LUIS.md). + +### Add Application Insights service to enable the bot monitoring + +Application Insights resource creation steps can be found [here](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource). + +You must include the instrumentation key in the `config.py` file, as well is in the designated field in your Azure Bot resource. + +### Add Activity and Personal Information logging for Application Insights +To log activity and personal information, extra code is needed in `app.py` after the creation of the telemetry client. This code is *already present* in the sample, but must be unconmmented in order to function. It is important to note that due to privacy concerns, in a real-world application you **must** obtain user consent prior to logging this information. + +The required code is as follows: +```python +TELEMETRY_LOGGER_MIDDLEWARE = TelemetryLoggerMiddleware(telemetry_client=TELEMETRY_CLIENT, log_personal_information=True) +ADAPTER.use(TELEMETRY_LOGGER_MIDDLEWARE) +``` + +## To try this sample + +- Clone the repository +```bash +git clone https://github.com/Microsoft/botbuilder-samples.git +``` +- In a terminal, navigate to `botbuilder-samples\samples\python\21.corebot-app-insights` folder +- Activate your desired virtual environment +- In the terminal, type `pip install -r requirements.txt` +- Run your bot with `python app.py` + +## Testing the bot using Bot Framework Emulator + +[Bot Framework Emulator](https://github.com/microsoft/botframework-emulator) is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel. + +- Install the latest Bot Framework Emulator from [here](https://github.com/Microsoft/BotFramework-Emulator/releases) + +### Connect to the bot using Bot Framework Emulator + +- Launch Bot Framework Emulator +- File -> Open Bot +- Enter a Bot URL of `http://localhost:3978/api/messages` + +## Deploy the bot to Azure + +To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](https://aka.ms/azuredeployment) for a complete list of deployment instructions. + +## Further reading + +- [Bot Framework Documentation](https://docs.botframework.com) +- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0) +- [Dialogs](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-dialog?view=azure-bot-service-4.0) +- [Gathering Input Using Prompts](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-prompts?view=azure-bot-service-4.0&tabs=csharp) +- [Activity processing](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-activity-processing?view=azure-bot-service-4.0) +- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0) +- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0) +- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest) +- [Azure Portal](https://portal.azure.com) +- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/) +- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0) +- [Application insights Overview](https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview) +- [Getting Started with Application Insights](https://github.com/Microsoft/ApplicationInsights-aspnetcore/wiki/Getting-Started-with-Application-Insights-for-ASP.NET-Core) +- [Filtering and preprocessing telemetry in the Application Insights SDK](https://docs.microsoft.com/azure/azure-monitor/app/api-filtering-sampling) diff --git a/samples/python/21.corebot-app-insights/adapter_with_error_handler.py b/archive/samples/python/21.corebot-app-insights/adapter_with_error_handler.py similarity index 100% rename from samples/python/21.corebot-app-insights/adapter_with_error_handler.py rename to archive/samples/python/21.corebot-app-insights/adapter_with_error_handler.py diff --git a/samples/python/21.corebot-app-insights/app.py b/archive/samples/python/21.corebot-app-insights/app.py similarity index 100% rename from samples/python/21.corebot-app-insights/app.py rename to archive/samples/python/21.corebot-app-insights/app.py diff --git a/samples/python/21.corebot-app-insights/booking_details.py b/archive/samples/python/21.corebot-app-insights/booking_details.py similarity index 100% rename from samples/python/21.corebot-app-insights/booking_details.py rename to archive/samples/python/21.corebot-app-insights/booking_details.py diff --git a/samples/python/21.corebot-app-insights/bots/__init__.py b/archive/samples/python/21.corebot-app-insights/bots/__init__.py similarity index 100% rename from samples/python/21.corebot-app-insights/bots/__init__.py rename to archive/samples/python/21.corebot-app-insights/bots/__init__.py diff --git a/samples/python/21.corebot-app-insights/bots/dialog_and_welcome_bot.py b/archive/samples/python/21.corebot-app-insights/bots/dialog_and_welcome_bot.py similarity index 100% rename from samples/python/21.corebot-app-insights/bots/dialog_and_welcome_bot.py rename to archive/samples/python/21.corebot-app-insights/bots/dialog_and_welcome_bot.py diff --git a/samples/python/21.corebot-app-insights/bots/dialog_bot.py b/archive/samples/python/21.corebot-app-insights/bots/dialog_bot.py similarity index 100% rename from samples/python/21.corebot-app-insights/bots/dialog_bot.py rename to archive/samples/python/21.corebot-app-insights/bots/dialog_bot.py diff --git a/samples/python/21.corebot-app-insights/bots/resources/welcomeCard.json b/archive/samples/python/21.corebot-app-insights/bots/resources/welcomeCard.json similarity index 100% rename from samples/python/21.corebot-app-insights/bots/resources/welcomeCard.json rename to archive/samples/python/21.corebot-app-insights/bots/resources/welcomeCard.json diff --git a/samples/python/21.corebot-app-insights/cognitiveModels/FlightBooking.json b/archive/samples/python/21.corebot-app-insights/cognitiveModels/FlightBooking.json similarity index 100% rename from samples/python/21.corebot-app-insights/cognitiveModels/FlightBooking.json rename to archive/samples/python/21.corebot-app-insights/cognitiveModels/FlightBooking.json diff --git a/samples/python/21.corebot-app-insights/config.py b/archive/samples/python/21.corebot-app-insights/config.py similarity index 100% rename from samples/python/21.corebot-app-insights/config.py rename to archive/samples/python/21.corebot-app-insights/config.py diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/readme.md b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/readme.md similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/readme.md rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/readme.md diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/readme.md b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/readme.md similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/readme.md rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/readme.md diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json diff --git a/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json similarity index 100% rename from samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json rename to archive/samples/python/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json diff --git a/samples/python/21.corebot-app-insights/dialogs/__init__.py b/archive/samples/python/21.corebot-app-insights/dialogs/__init__.py similarity index 100% rename from samples/python/21.corebot-app-insights/dialogs/__init__.py rename to archive/samples/python/21.corebot-app-insights/dialogs/__init__.py diff --git a/samples/python/21.corebot-app-insights/dialogs/booking_dialog.py b/archive/samples/python/21.corebot-app-insights/dialogs/booking_dialog.py similarity index 100% rename from samples/python/21.corebot-app-insights/dialogs/booking_dialog.py rename to archive/samples/python/21.corebot-app-insights/dialogs/booking_dialog.py diff --git a/samples/python/21.corebot-app-insights/dialogs/cancel_and_help_dialog.py b/archive/samples/python/21.corebot-app-insights/dialogs/cancel_and_help_dialog.py similarity index 100% rename from samples/python/21.corebot-app-insights/dialogs/cancel_and_help_dialog.py rename to archive/samples/python/21.corebot-app-insights/dialogs/cancel_and_help_dialog.py diff --git a/samples/python/21.corebot-app-insights/dialogs/date_resolver_dialog.py b/archive/samples/python/21.corebot-app-insights/dialogs/date_resolver_dialog.py similarity index 100% rename from samples/python/21.corebot-app-insights/dialogs/date_resolver_dialog.py rename to archive/samples/python/21.corebot-app-insights/dialogs/date_resolver_dialog.py diff --git a/samples/python/21.corebot-app-insights/dialogs/main_dialog.py b/archive/samples/python/21.corebot-app-insights/dialogs/main_dialog.py similarity index 100% rename from samples/python/21.corebot-app-insights/dialogs/main_dialog.py rename to archive/samples/python/21.corebot-app-insights/dialogs/main_dialog.py diff --git a/samples/python/21.corebot-app-insights/flight_booking_recognizer.py b/archive/samples/python/21.corebot-app-insights/flight_booking_recognizer.py similarity index 100% rename from samples/python/21.corebot-app-insights/flight_booking_recognizer.py rename to archive/samples/python/21.corebot-app-insights/flight_booking_recognizer.py diff --git a/samples/python/21.corebot-app-insights/helpers/__init__.py b/archive/samples/python/21.corebot-app-insights/helpers/__init__.py similarity index 100% rename from samples/python/21.corebot-app-insights/helpers/__init__.py rename to archive/samples/python/21.corebot-app-insights/helpers/__init__.py diff --git a/samples/python/21.corebot-app-insights/helpers/activity_helper.py b/archive/samples/python/21.corebot-app-insights/helpers/activity_helper.py similarity index 100% rename from samples/python/21.corebot-app-insights/helpers/activity_helper.py rename to archive/samples/python/21.corebot-app-insights/helpers/activity_helper.py diff --git a/samples/python/21.corebot-app-insights/helpers/dialog_helper.py b/archive/samples/python/21.corebot-app-insights/helpers/dialog_helper.py similarity index 100% rename from samples/python/21.corebot-app-insights/helpers/dialog_helper.py rename to archive/samples/python/21.corebot-app-insights/helpers/dialog_helper.py diff --git a/samples/python/21.corebot-app-insights/helpers/luis_helper.py b/archive/samples/python/21.corebot-app-insights/helpers/luis_helper.py similarity index 100% rename from samples/python/21.corebot-app-insights/helpers/luis_helper.py rename to archive/samples/python/21.corebot-app-insights/helpers/luis_helper.py diff --git a/samples/python/21.corebot-app-insights/requirements.txt b/archive/samples/python/21.corebot-app-insights/requirements.txt similarity index 96% rename from samples/python/21.corebot-app-insights/requirements.txt rename to archive/samples/python/21.corebot-app-insights/requirements.txt index 27ad00b8d2..b6da6e8a83 100644 --- a/samples/python/21.corebot-app-insights/requirements.txt +++ b/archive/samples/python/21.corebot-app-insights/requirements.txt @@ -1,13 +1,13 @@ -asyncio>=3.4.3 -requests==2.32.2 -botbuilder-core>=4.15.0 -botframework-connector>=4.15.0 -botbuilder-schema>=4.15.0 -botbuilder-dialogs>=4.15.0 -botbuilder-ai>=4.15.0 -botbuilder-applicationinsights>=4.15.0 -botbuilder-integration-applicationinsights-aiohttp>=4.15.0 -datatypes-date-time>=1.0.0.a1 -azure-cognitiveservices-language-luis>=0.2.0 -msrest>=0.6.10 - +asyncio>=3.4.3 +requests==2.32.2 +botbuilder-core>=4.15.0 +botframework-connector>=4.15.0 +botbuilder-schema>=4.15.0 +botbuilder-dialogs>=4.15.0 +botbuilder-ai>=4.15.0 +botbuilder-applicationinsights>=4.15.0 +botbuilder-integration-applicationinsights-aiohttp>=4.15.0 +datatypes-date-time>=1.0.0.a1 +azure-cognitiveservices-language-luis>=0.2.0 +msrest>=0.6.10 + diff --git a/samples/typescript_nodejs/13.core-bot/.eslintrc.js b/archive/samples/typescript_nodejs/13.core-bot/.eslintrc.js similarity index 100% rename from samples/typescript_nodejs/13.core-bot/.eslintrc.js rename to archive/samples/typescript_nodejs/13.core-bot/.eslintrc.js diff --git a/samples/typescript_nodejs/13.core-bot/.gitignore b/archive/samples/typescript_nodejs/13.core-bot/.gitignore similarity index 100% rename from samples/typescript_nodejs/13.core-bot/.gitignore rename to archive/samples/typescript_nodejs/13.core-bot/.gitignore diff --git a/samples/typescript_nodejs/13.core-bot/README.md b/archive/samples/typescript_nodejs/13.core-bot/README.md similarity index 100% rename from samples/typescript_nodejs/13.core-bot/README.md rename to archive/samples/typescript_nodejs/13.core-bot/README.md diff --git a/samples/typescript_nodejs/13.core-bot/cognitiveModels/FlightBooking.json b/archive/samples/typescript_nodejs/13.core-bot/cognitiveModels/FlightBooking.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/cognitiveModels/FlightBooking.json rename to archive/samples/typescript_nodejs/13.core-bot/cognitiveModels/FlightBooking.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentScripts/linux/.deployment b/archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/linux/.deployment similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentScripts/linux/.deployment rename to archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/linux/.deployment diff --git a/samples/typescript_nodejs/13.core-bot/deploymentScripts/linux/deploy.sh b/archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/linux/deploy.sh similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentScripts/linux/deploy.sh rename to archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/linux/deploy.sh diff --git a/samples/typescript_nodejs/13.core-bot/deploymentScripts/webConfigPrep.js b/archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/webConfigPrep.js similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentScripts/webConfigPrep.js rename to archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/webConfigPrep.js diff --git a/samples/typescript_nodejs/13.core-bot/deploymentScripts/windows/.deployment b/archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/windows/.deployment similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentScripts/windows/.deployment rename to archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/windows/.deployment diff --git a/samples/typescript_nodejs/13.core-bot/deploymentScripts/windows/deploy.cmd b/archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/windows/deploy.cmd similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentScripts/windows/deploy.cmd rename to archive/samples/typescript_nodejs/13.core-bot/deploymentScripts/windows/deploy.cmd diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/readme.md b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/readme.md similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/readme.md rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/readme.md diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-AzureBot-with-rg.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/readme.md b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/readme.md similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/readme.md rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/readme.md diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-AzureBot-new-rg.json diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json similarity index 100% rename from samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/readme.md b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/readme.md similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/readme.md rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/readme.md diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-AzureBot-with-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-AzureBot-with-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-AzureBot-with-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-AzureBot-with-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/parameters-for-template-BotApp-new-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/readme.md b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/readme.md similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/readme.md rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/readme.md diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-AzureBot-new-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-AzureBot-new-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-AzureBot-new-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-AzureBot-new-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json b/archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json rename to archive/samples/typescript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json diff --git a/samples/typescript_nodejs/13.core-bot/package.json b/archive/samples/typescript_nodejs/13.core-bot/package.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/package.json rename to archive/samples/typescript_nodejs/13.core-bot/package.json diff --git a/samples/typescript_nodejs/13.core-bot/resources/welcomeCard.json b/archive/samples/typescript_nodejs/13.core-bot/resources/welcomeCard.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/resources/welcomeCard.json rename to archive/samples/typescript_nodejs/13.core-bot/resources/welcomeCard.json diff --git a/samples/typescript_nodejs/13.core-bot/src/bots/dialogAndWelcomeBot.ts b/archive/samples/typescript_nodejs/13.core-bot/src/bots/dialogAndWelcomeBot.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/bots/dialogAndWelcomeBot.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/bots/dialogAndWelcomeBot.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/bots/dialogBot.ts b/archive/samples/typescript_nodejs/13.core-bot/src/bots/dialogBot.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/bots/dialogBot.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/bots/dialogBot.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/dialogs/bookingDetails.ts b/archive/samples/typescript_nodejs/13.core-bot/src/dialogs/bookingDetails.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/dialogs/bookingDetails.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/dialogs/bookingDetails.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/dialogs/bookingDialog.ts b/archive/samples/typescript_nodejs/13.core-bot/src/dialogs/bookingDialog.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/dialogs/bookingDialog.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/dialogs/bookingDialog.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/dialogs/cancelAndHelpDialog.ts b/archive/samples/typescript_nodejs/13.core-bot/src/dialogs/cancelAndHelpDialog.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/dialogs/cancelAndHelpDialog.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/dialogs/cancelAndHelpDialog.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/dialogs/dateResolverDialog.ts b/archive/samples/typescript_nodejs/13.core-bot/src/dialogs/dateResolverDialog.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/dialogs/dateResolverDialog.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/dialogs/dateResolverDialog.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/dialogs/flightBookingRecognizer.ts b/archive/samples/typescript_nodejs/13.core-bot/src/dialogs/flightBookingRecognizer.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/dialogs/flightBookingRecognizer.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/dialogs/flightBookingRecognizer.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/dialogs/mainDialog.ts b/archive/samples/typescript_nodejs/13.core-bot/src/dialogs/mainDialog.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/dialogs/mainDialog.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/dialogs/mainDialog.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/index.ts b/archive/samples/typescript_nodejs/13.core-bot/src/index.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/index.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/index.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/tests/README.md b/archive/samples/typescript_nodejs/13.core-bot/src/tests/README.md similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/tests/README.md rename to archive/samples/typescript_nodejs/13.core-bot/src/tests/README.md diff --git a/samples/typescript_nodejs/13.core-bot/src/tests/bots/dialogAndWelcomeBot.test.ts b/archive/samples/typescript_nodejs/13.core-bot/src/tests/bots/dialogAndWelcomeBot.test.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/tests/bots/dialogAndWelcomeBot.test.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/tests/bots/dialogAndWelcomeBot.test.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/bookingDialog.test.ts b/archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/bookingDialog.test.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/tests/dialogs/bookingDialog.test.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/bookingDialog.test.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/cancelAndHelpDialog.test.ts b/archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/cancelAndHelpDialog.test.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/tests/dialogs/cancelAndHelpDialog.test.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/cancelAndHelpDialog.test.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/dateResolverDialog.test.ts b/archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/dateResolverDialog.test.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/tests/dialogs/dateResolverDialog.test.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/dateResolverDialog.test.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/mainDialog.test.ts b/archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/mainDialog.test.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/tests/dialogs/mainDialog.test.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/mainDialog.test.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/testData/bookingDialogTestCases.ts b/archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/testData/bookingDialogTestCases.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/tests/dialogs/testData/bookingDialogTestCases.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/testData/bookingDialogTestCases.ts diff --git a/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/testData/dateResolverTestCases.ts b/archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/testData/dateResolverTestCases.ts similarity index 100% rename from samples/typescript_nodejs/13.core-bot/src/tests/dialogs/testData/dateResolverTestCases.ts rename to archive/samples/typescript_nodejs/13.core-bot/src/tests/dialogs/testData/dateResolverTestCases.ts diff --git a/samples/typescript_nodejs/13.core-bot/testResources/FlightFromCdgToJfk.json b/archive/samples/typescript_nodejs/13.core-bot/testResources/FlightFromCdgToJfk.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/testResources/FlightFromCdgToJfk.json rename to archive/samples/typescript_nodejs/13.core-bot/testResources/FlightFromCdgToJfk.json diff --git a/samples/typescript_nodejs/13.core-bot/testResources/FlightFromMadridToChicago.json b/archive/samples/typescript_nodejs/13.core-bot/testResources/FlightFromMadridToChicago.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/testResources/FlightFromMadridToChicago.json rename to archive/samples/typescript_nodejs/13.core-bot/testResources/FlightFromMadridToChicago.json diff --git a/samples/typescript_nodejs/13.core-bot/testResources/FlightFromParisToNewYork.json b/archive/samples/typescript_nodejs/13.core-bot/testResources/FlightFromParisToNewYork.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/testResources/FlightFromParisToNewYork.json rename to archive/samples/typescript_nodejs/13.core-bot/testResources/FlightFromParisToNewYork.json diff --git a/samples/typescript_nodejs/13.core-bot/testResources/FlightToMadrid.json b/archive/samples/typescript_nodejs/13.core-bot/testResources/FlightToMadrid.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/testResources/FlightToMadrid.json rename to archive/samples/typescript_nodejs/13.core-bot/testResources/FlightToMadrid.json diff --git a/samples/typescript_nodejs/13.core-bot/tsconfig.json b/archive/samples/typescript_nodejs/13.core-bot/tsconfig.json similarity index 100% rename from samples/typescript_nodejs/13.core-bot/tsconfig.json rename to archive/samples/typescript_nodejs/13.core-bot/tsconfig.json diff --git a/samples/csharp_dotnetcore/csharp_dotnetcore.sln b/samples/csharp_dotnetcore/csharp_dotnetcore.sln index 650f3a3872..200f7a08ae 100644 --- a/samples/csharp_dotnetcore/csharp_dotnetcore.sln +++ b/samples/csharp_dotnetcore/csharp_dotnetcore.sln @@ -15,8 +15,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdaptiveCardsBot", "07.usin EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SuggestedActionsBot", "08.suggested-actions\SuggestedActionsBot.csproj", "{9C70CB81-4403-41B8-ABB8-72497061DDB0}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CoreBot", "13.core-bot\CoreBot.csproj", "{8FAE502C-68A1-47E8-9761-BCEA491BA4AA}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HandlingAttachmentsBot", "15.handling-attachments\HandlingAttachmentsBot.csproj", "{7E6046AF-DBF2-40E2-8ABA-A0537F76695A}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProactiveBot", "16.proactive-messages\ProactiveBot.csproj", "{79D2CAED-880B-4FAE-8777-5A37606E5F48}" @@ -144,14 +142,6 @@ Global {9C70CB81-4403-41B8-ABB8-72497061DDB0}.Release|Any CPU.Build.0 = Release|Any CPU {9C70CB81-4403-41B8-ABB8-72497061DDB0}.Release|x64.ActiveCfg = Release|Any CPU {9C70CB81-4403-41B8-ABB8-72497061DDB0}.Release|x64.Build.0 = Release|Any CPU - {8FAE502C-68A1-47E8-9761-BCEA491BA4AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8FAE502C-68A1-47E8-9761-BCEA491BA4AA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8FAE502C-68A1-47E8-9761-BCEA491BA4AA}.Debug|x64.ActiveCfg = Debug|Any CPU - {8FAE502C-68A1-47E8-9761-BCEA491BA4AA}.Debug|x64.Build.0 = Debug|Any CPU - {8FAE502C-68A1-47E8-9761-BCEA491BA4AA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8FAE502C-68A1-47E8-9761-BCEA491BA4AA}.Release|Any CPU.Build.0 = Release|Any CPU - {8FAE502C-68A1-47E8-9761-BCEA491BA4AA}.Release|x64.ActiveCfg = Release|Any CPU - {8FAE502C-68A1-47E8-9761-BCEA491BA4AA}.Release|x64.Build.0 = Release|Any CPU {7E6046AF-DBF2-40E2-8ABA-A0537F76695A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7E6046AF-DBF2-40E2-8ABA-A0537F76695A}.Debug|Any CPU.Build.0 = Debug|Any CPU {7E6046AF-DBF2-40E2-8ABA-A0537F76695A}.Debug|x64.ActiveCfg = Debug|Any CPU diff --git a/samples/typescript_nodejs/13.core-bot/.env b/samples/typescript_nodejs/13.core-bot/.env deleted file mode 100644 index 98a9adcd35..0000000000 --- a/samples/typescript_nodejs/13.core-bot/.env +++ /dev/null @@ -1,7 +0,0 @@ -MicrosoftAppType= -MicrosoftAppId= -MicrosoftAppPassword= -MicrosoftAppTenantId= -LuisAppId= -LuisAPIKey= -LuisAPIHostName=