Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Updated samples to use port 3978 #839

Merged
merged 1 commit into from
Oct 30, 2020
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
2 changes: 1 addition & 1 deletion samples/02.echo-bot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This sample is a Spring Boot app and uses the Azure CLI and azure-webapp Maven p

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:8080/api/messages`
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Deploy the bot to Azure

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
2 changes: 1 addition & 1 deletion samples/02.echo-bot/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
2 changes: 1 addition & 1 deletion samples/03.welcome-user/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This sample is a Spring Boot app and uses the Azure CLI and azure-webapp Maven p

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:8080/api/messages`
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Deploy the bot to Azure

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
2 changes: 1 addition & 1 deletion samples/03.welcome-user/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
2 changes: 1 addition & 1 deletion samples/08.suggested-actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This sample is a Spring Boot app and uses the Azure CLI and azure-webapp Maven p

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:8080/api/messages`
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Deploy the bot to Azure

Expand Down
2 changes: 1 addition & 1 deletion samples/08.suggested-actions/bin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This sample is a Spring Boot app and uses the Azure CLI and azure-webapp Maven p

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:8080/api/messages`
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Deploy the bot to Azure

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
2 changes: 1 addition & 1 deletion samples/08.suggested-actions/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
2 changes: 1 addition & 1 deletion samples/16.proactive-messages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This sample is a Spring Boot app and uses the Azure CLI and azure-webapp Maven p

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:8080/api/messages`
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Deploy the bot to Azure

Expand Down
2 changes: 1 addition & 1 deletion samples/16.proactive-messages/bin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This sample is a Spring Boot app and uses the Azure CLI and azure-webapp Maven p

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:8080/api/messages`
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Deploy the bot to Azure

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
@Component
public class ProactiveBot extends ActivityHandler {
@Value("${server.port:8080}")
@Value("${server.port:3978}")
private int port;

private static final String WELCOMEMESSAGE =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
2 changes: 1 addition & 1 deletion samples/16.proactive-messages/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
2 changes: 1 addition & 1 deletion samples/45.state-management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This sample is a Spring Boot app and uses the Azure CLI and azure-webapp Maven p

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:8080/api/messages`
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Deploy the bot to Azure

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
2 changes: 1 addition & 1 deletion samples/45.state-management/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
4 changes: 2 additions & 2 deletions samples/47.inspection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ This sample is a Spring Boot app and uses the Azure CLI and azure-webapp Maven p

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:8080/api/messages`
- Enter a Bot URL of `http://localhost:3978/api/messages`

### Special Instructions for Running Inspection

- In the emulator, select Debug -> Start Debugging.
- Enter the endpoint url (http://localhost:8080)/api/messages, and select Connect.
- Enter the endpoint url (http://localhost:3978)/api/messages, and select Connect.
- The result is a trace activity which contains a statement that looks like /INSPECT attach < identifier >
- Right click and copy that response.
- In the original Live Chat session paste the value.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
2 changes: 1 addition & 1 deletion samples/47.inspection/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
4 changes: 2 additions & 2 deletions samples/50.teams-messaging-extensions-search/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ the Teams service needs to call into the bot.
git clone https://github.com/Microsoft/botbuilder-java.git
```

1) Run ngrok - point to port 8080
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 8080
ngrok http -host-header=rewrite 3978
```

1) Create [Bot Framework registration resource](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
4 changes: 2 additions & 2 deletions samples/51.teams-messaging-extensions-action/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ the Teams service needs to call into the bot.
git clone https://github.com/Microsoft/botbuilder-java.git
```

1) Run ngrok - point to port 8080
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 8080
ngrok http -host-header=rewrite 3978
```

1) Create [Bot Framework registration resource](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ the Teams service needs to call into the bot.
git clone https://github.com/Microsoft/botbuilder-java.git
```

1) Run ngrok - point to port 8080
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 8080
ngrok http -host-header=rewrite 3978
```

1) Create [Bot Framework registration resource](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ MicrosoftAppId=
MicrosoftAppPassword=
ConnectionName=
SiteUrl=
server.port=3978
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ the Teams service needs to call into the bot.
git clone https://github.com/Microsoft/botbuilder-java.git
```

1) Run ngrok - point to port 8080
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 8080
ngrok http -host-header=rewrite 3978
```

1) Create [Bot Framework registration resource](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
4 changes: 2 additions & 2 deletions samples/54.teams-task-module/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ the Teams service needs to call into the bot.
git clone https://github.com/Microsoft/botbuilder-java.git
```

1) Run ngrok - point to port 8080
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 8080
ngrok http -host-header=rewrite 3978
```

1) Create [Bot Framework registration resource](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
MicrosoftAppId=
MicrosoftAppPassword=
BaseUrl=https://YourDeployedBotUrl.com
BaseUrl=https://YourDeployedBotUrl.com
server.port=3978
4 changes: 2 additions & 2 deletions samples/55.teams-link-unfurling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ the Teams service needs to call into the bot.
git clone https://github.com/Microsoft/botbuilder-java.git
```

1) Run ngrok - point to port 8080
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 8080
ngrok http -host-header=rewrite 3978
```

1) Create [Bot Framework registration resource](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
4 changes: 2 additions & 2 deletions samples/56.teams-file-upload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ the Teams service needs to call into the bot.
git clone https://github.com/Microsoft/botbuilder-java.git
```

1) Run ngrok - point to port 8080
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 8080
ngrok http -host-header=rewrite 3978
```

1) Create [Bot Framework registration resource](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
2 changes: 1 addition & 1 deletion samples/56.teams-file-upload/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
4 changes: 2 additions & 2 deletions samples/57.teams-conversation-bot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ the Teams service needs to call into the bot.
git clone https://github.com/Microsoft/botbuilder-java.git
```

1) Run ngrok - point to port 8080
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 8080
ngrok http -host-header=rewrite 3978
```

1) Create [Bot Framework registration resource](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:8080/api/messages.</div>
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Expand Down
4 changes: 2 additions & 2 deletions samples/58.teams-start-new-thread-in-channel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ the Teams service needs to call into the bot.
git clone https://github.com/Microsoft/botbuilder-java.git
```

1) Run ngrok - point to port 8080
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 8080
ngrok http -host-header=rewrite 3978
```

1) Create [Bot Framework registration resource](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
Loading