Skip to content

Commit 46dad17

Browse files
authored
fix: app name pattern (OfficeDev#1283)
1 parent 29b8b0c commit 46dad17

File tree

189 files changed

+202
-230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+202
-230
lines changed

samples/app-anonymous-users/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: app-anonymous-users-${{TEAMSFX_ENV}}
27+
name: app-anonymous-users${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/app-cache-meetings/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ provision:
1111
- uses: teamsApp/create
1212
with:
1313
# Teams app name
14-
name: app-cache-meetings-${{TEAMSFX_ENV}}
14+
name: app-cache-meetings${{APP_NAME_SUFFIX}}
1515
# Write the information of created resources into environment file for
1616
# the specified environment variable(s).
1717
writeToEnvironmentFile:

samples/app-checkin-location/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: app-checkin-location-${{TEAMSFX_ENV}}
27+
name: app-checkin-location${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/app-complete-auth/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: app-complete-auth-${{TEAMSFX_ENV}}
27+
name: app-complete-auth${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/app-complete-sample/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: app-complete-sample-${{TEAMSFX_ENV}}
27+
name: app-complete-sample${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/app-hello-world/nodejs/env/.env.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Built-in environment variables
44
TEAMSFX_ENV=local
5-
5+
APP_NAME_SUFFIX=local
66
# Generated during provision, you can also add your own variables. If you're adding a secret value, add SECRET_ prefix to the name so Teams Toolkit can handle them properly
77
BOT_ENDPOINT=
88
BOT_DOMAIN=

samples/app-hello-world/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: app-hello-world-${{TEAMSFX_ENV}}
27+
name: app-hello-world${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/app-installation-using-qr-code/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: app-installation-using-qr-code-${{TEAMSFX_ENV}}
27+
name: app-installation-using-qr-code${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/app-link-unfurling-in-share-to-teams/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: app-link-unfurling-in-share-to-teams-${{TEAMSFX_ENV}}
27+
name: app-link-unfurling-in-share-to-teams${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/app-localization/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: app-localization-${{TEAMSFX_ENV}}
27+
name: app-localization${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/app-sso/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: app-sso-${{TEAMSFX_ENV}}
27+
name: app-sso${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-adaptive-card-actions/csharp/TeamsApp/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-adaptive-card-actions-${{TEAMSFX_ENV}}
27+
name: bot-adaptive-card-actions${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-adaptive-card-actions/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-adaptive-card-actions-${{TEAMSFX_ENV}}
27+
name: bot-adaptive-card-actions${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-ai-enterprise-search/nodejs/appManifest/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"outline": "outline.png"
1616
},
1717
"name": {
18-
"short": "AI-EnterpriseSearch-${{TEAMSFX_ENV}}",
18+
"short": "AI-EnterpriseSearch${{APP_NAME_SUFFIX}}",
1919
"full": "full name for AI-EnterpriseSearch"
2020
},
2121
"description": {

samples/bot-ai-enterprise-search/nodejs/env/.env.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Built-in environment variables
44
TEAMSFX_ENV=dev
5-
5+
APP_NAME_SUFFIX=dev
66
# Updating AZURE_SUBSCRIPTION_ID or AZURE_RESOURCE_GROUP_NAME after provision may also require an update to RESOURCE_SUFFIX, because some services require a globally unique name across subscriptions/resource groups.
77
AZURE_SUBSCRIPTION_ID=
88
AZURE_RESOURCE_GROUP_NAME=

samples/bot-ai-enterprise-search/nodejs/teamsapp.local.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ provision:
1111
- uses: teamsApp/create
1212
with:
1313
# Teams app name
14-
name: AI-EnterpriseSearch-${{TEAMSFX_ENV}}
14+
name: AI-EnterpriseSearch${{APP_NAME_SUFFIX}}
1515
# Write the information of created resources into environment file for
1616
# the specified environment variable(s).
1717
writeToEnvironmentFile:
@@ -21,7 +21,7 @@ provision:
2121
- uses: botAadApp/create
2222
with:
2323
# The Azure Active Directory application's display name
24-
name: AI-EnterpriseSearch-${{TEAMSFX_ENV}}
24+
name: AI-EnterpriseSearch${{APP_NAME_SUFFIX}}
2525
writeToEnvironmentFile:
2626
# The Azure Active Directory application's client id created for bot.
2727
botId: BOT_ID

samples/bot-ai-enterprise-search/nodejs/teamsapp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ provision:
1414
- uses: teamsApp/create
1515
with:
1616
# Teams app name
17-
name: AI-EnterpriseSearch-${{TEAMSFX_ENV}}
17+
name: AI-EnterpriseSearch${{APP_NAME_SUFFIX}}
1818
# Write the information of created resources into environment file for
1919
# the specified environment variable(s).
2020
writeToEnvironmentFile:
@@ -24,7 +24,7 @@ provision:
2424
- uses: botAadApp/create
2525
with:
2626
# The Azure Active Directory application's display name
27-
name: AI-EnterpriseSearch-${{TEAMSFX_ENV}}
27+
name: AI-EnterpriseSearch${{APP_NAME_SUFFIX}}
2828
writeToEnvironmentFile:
2929
# The Azure Active Directory application's client id created for bot.
3030
botId: BOT_ID

samples/bot-all-cards/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-all-cards-${{TEAMSFX_ENV}}
27+
name: bot-all-cards${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-archive-groupchat-messages/csharp/FetchGroupChatMessages/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-archive-groupchat-messages-${{TEAMSFX_ENV}}
27+
name: bot-archive-groupchat-messages${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-archive-groupchat-messages/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-archive-groupchat-messages-${{TEAMSFX_ENV}}
27+
name: bot-archive-groupchat-messages${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-configuration-app-auth/nodejs/env/.env.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Built-in environment variables
44
TEAMSFX_ENV=dev
5-
5+
APP_NAME_SUFFIX=dev
66
# Updating AZURE_SUBSCRIPTION_ID or AZURE_RESOURCE_GROUP_NAME after provision may also require an update to RESOURCE_SUFFIX, because some services require a globally unique name across subscriptions/resource groups.
77
AZURE_SUBSCRIPTION_ID=
88
AZURE_RESOURCE_GROUP_NAME=

samples/bot-configuration-app-auth/nodejs/teamsapp.local.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ provision:
1111
- uses: teamsApp/create
1212
with:
1313
# Teams app name
14-
name: nodejs-${{TEAMSFX_ENV}}
14+
name: nodejs${{APP_NAME_SUFFIX}}
1515
# Write the information of created resources into environment file for
1616
# the specified environment variable(s).
1717
writeToEnvironmentFile:
@@ -21,7 +21,7 @@ provision:
2121
- uses: botAadApp/create
2222
with:
2323
# The Azure Active Directory application's display name
24-
name: nodejs-${{TEAMSFX_ENV}}
24+
name: nodejs${{APP_NAME_SUFFIX}}
2525
writeToEnvironmentFile:
2626
# The Azure Active Directory application's client id created for bot.
2727
botId: BOT_ID

samples/bot-configuration-app-auth/nodejs/teamsapp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ provision:
1414
- uses: teamsApp/create
1515
with:
1616
# Teams app name
17-
name: nodejs-${{TEAMSFX_ENV}}
17+
name: nodejs${{APP_NAME_SUFFIX}}
1818
# Write the information of created resources into environment file for
1919
# the specified environment variable(s).
2020
writeToEnvironmentFile:
@@ -24,7 +24,7 @@ provision:
2424
- uses: botAadApp/create
2525
with:
2626
# The Azure Active Directory application's display name
27-
name: nodejs-${{TEAMSFX_ENV}}
27+
name: nodejs${{APP_NAME_SUFFIX}}
2828
writeToEnvironmentFile:
2929
# The Azure Active Directory application's client id created for bot.
3030
botId: BOT_ID

samples/bot-configuration-app/csharp/Bot configuration/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-configuration-app-${{TEAMSFX_ENV}}
27+
name: bot-configuration-app${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-configuration-app/csharp/TeamsApp/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-configuration-app-${{TEAMSFX_ENV}}
27+
name: bot-configuration-app${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-configuration-app/nodejs/env/.env.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Built-in environment variables
44
TEAMSFX_ENV=dev
5-
5+
APP_NAME_SUFFIX=dev
66
# Updating AZURE_SUBSCRIPTION_ID or AZURE_RESOURCE_GROUP_NAME after provision may also require an update to RESOURCE_SUFFIX, because some services require a globally unique name across subscriptions/resource groups.
77
AZURE_SUBSCRIPTION_ID=
88
AZURE_RESOURCE_GROUP_NAME=

samples/bot-configuration-app/nodejs/teamsapp.local.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ provision:
1111
- uses: teamsApp/create
1212
with:
1313
# Teams app name
14-
name: nodejs-${{TEAMSFX_ENV}}
14+
name: nodejs${{APP_NAME_SUFFIX}}
1515
# Write the information of created resources into environment file for
1616
# the specified environment variable(s).
1717
writeToEnvironmentFile:
@@ -21,7 +21,7 @@ provision:
2121
- uses: botAadApp/create
2222
with:
2323
# The Azure Active Directory application's display name
24-
name: nodejs-${{TEAMSFX_ENV}}
24+
name: nodejs${{APP_NAME_SUFFIX}}
2525
writeToEnvironmentFile:
2626
# The Azure Active Directory application's client id created for bot.
2727
botId: BOT_ID

samples/bot-configuration-app/nodejs/teamsapp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ provision:
1414
- uses: teamsApp/create
1515
with:
1616
# Teams app name
17-
name: nodejs-${{TEAMSFX_ENV}}
17+
name: nodejs${{APP_NAME_SUFFIX}}
1818
# Write the information of created resources into environment file for
1919
# the specified environment variable(s).
2020
writeToEnvironmentFile:
@@ -24,7 +24,7 @@ provision:
2424
- uses: botAadApp/create
2525
with:
2626
# The Azure Active Directory application's display name
27-
name: nodejs-${{TEAMSFX_ENV}}
27+
name: nodejs${{APP_NAME_SUFFIX}}
2828
writeToEnvironmentFile:
2929
# The Azure Active Directory application's client id created for bot.
3030
botId: BOT_ID

samples/bot-conversation-quickstart/js/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-conversation-quickstart-${{TEAMSFX_ENV}}
27+
name: bot-conversation-quickstart${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-conversation-sso-quickstart/csharp_dotnetcore/BotConversationSsoQuickstart/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-conversation-sso-quickstart-${{TEAMSFX_ENV}}
27+
name: bot-conversation-sso-quickstart${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-conversation-sso-quickstart/csharp_dotnetcore/TeamsApp/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-conversation-sso-quickstart-${{TEAMSFX_ENV}}
27+
name: bot-conversation-sso-quickstart${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-conversation-sso-quickstart/js/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-conversation-sso-quickstart-${{TEAMSFX_ENV}}
27+
name: bot-conversation-sso-quickstart${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-conversation/csharp/TeamsApp/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-conversation-${{TEAMSFX_ENV}}
27+
name: bot-conversation${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-conversation/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-conversation-${{TEAMSFX_ENV}}
27+
name: bot-conversation${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-conversation/python/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ provision:
2525
- uses: teamsApp/create
2626
with:
2727
# Teams app name
28-
name: teamsConversationBot-${{TEAMSFX_ENV}}
28+
name: teamsConversationBot${{APP_NAME_SUFFIX}}
2929
# Write the information of created resources into environment file for
3030
# the specified environment variable(s).
3131
writeToEnvironmentFile:

samples/bot-daily-task-reminder/csharp/TeamsApp/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-daily-task-reminder-${{TEAMSFX_ENV}}
27+
name: bot-daily-task-reminder${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-daily-task-reminder/nodejs/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-daily-task-reminder-${{TEAMSFX_ENV}}
27+
name: bot-daily-task-reminder${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

samples/bot-file-upload/csharp/TeamsApp/teamsapp.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provision:
2424
- uses: teamsApp/create
2525
with:
2626
# Teams app name
27-
name: bot-file-upload-${{TEAMSFX_ENV}}
27+
name: bot-file-upload${{APP_NAME_SUFFIX}}
2828
# Write the information of created resources into environment file for
2929
# the specified environment variable(s).
3030
writeToEnvironmentFile:

0 commit comments

Comments
 (0)