Skip to content

Commit 45f0680

Browse files
authored
Bugfix: Changed env variable names from json (Azure#18678)
1 parent 9471994 commit 45f0680

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

sdk/communication/azure-communication-administration/src/test/java/com/azure/communication/administration/CommunicationIdentityClientTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class CommunicationIdentityClientTestBase extends TestBase {
2222
protected static final TestMode TEST_MODE = initializeTestMode();
2323
protected static final String ENDPOINT = Configuration.getGlobalConfiguration()
2424
.get("COMMUNICATION_SERVICE_ENDPOINT", "https://REDACTED.communication.azure.com");
25-
25+
2626
protected static final String ACCESSKEYRAW = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c";
2727
protected static final String ACCESSKEYENCODED = Base64.getEncoder().encodeToString(ACCESSKEYRAW.getBytes());
2828
protected static final String ACCESSKEY = Configuration.getGlobalConfiguration()

sdk/communication/test-resources.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,11 @@
5050
"type": "string",
5151
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryConnectionString]"
5252
},
53-
"ADMINISTRATION_SERVICE_ENDPOINT": {
53+
"COMMUNICATION_SERVICE_ENDPOINT": {
5454
"type": "string",
5555
"value": "[concat('https://', parameters('baseName'), '-', parameters('endpointPrefix'), '.communication.azure.com')]"
5656
},
57-
"ADMINISTRATION_SERVICE_ACCESS_TOKEN": {
58-
"type": "string",
59-
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryKey]"
60-
},
61-
"CHAT_SERVICE_ENDPOINT": {
62-
"type": "string",
63-
"value": "[concat('https://', parameters('baseName'), '-', parameters('endpointPrefix'), '.communication.azure.com')]"
64-
},
65-
"COMMUNICATION_SERVICES_CONNECTION_STRING": {
66-
"type": "string",
67-
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryKey]"
68-
},
69-
"COMMUNICATION_SERVICES_ACCESS_KEY": {
57+
"COMMUNICATION_SERVICE_ACCESS_KEY": {
7058
"type": "string",
7159
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryKey]"
7260
},

0 commit comments

Comments
 (0)