diff --git a/azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/implementation/KuduClient.java b/azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/implementation/KuduClient.java index e2a3748b130..8f211058598 100644 --- a/azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/implementation/KuduClient.java +++ b/azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/implementation/KuduClient.java @@ -41,9 +41,9 @@ class KuduClient { KuduClient(WebAppBase webAppBase) { service = webAppBase.manager().restClient().newBuilder() - .withBaseUrl("https://" + webAppBase.defaultHostName() + .withBaseUrl("https://" + webAppBase.defaultHostName().toLowerCase() .replace("http://", "") - .replace(webAppBase.name(), webAppBase.name() + ".scm")) + .replace(webAppBase.name().toLowerCase(), webAppBase.name().toLowerCase() + ".scm")) .withConnectionTimeout(3, TimeUnit.MINUTES) .withReadTimeout(3, TimeUnit.MINUTES) .build() diff --git a/azure-mgmt-appservice/src/test/java/com/microsoft/azure/management/appservice/WarDeployTests.java b/azure-mgmt-appservice/src/test/java/com/microsoft/azure/management/appservice/WarDeployTests.java index ebe4a68942c..6aa3dfeb60f 100644 --- a/azure-mgmt-appservice/src/test/java/com/microsoft/azure/management/appservice/WarDeployTests.java +++ b/azure-mgmt-appservice/src/test/java/com/microsoft/azure/management/appservice/WarDeployTests.java @@ -19,7 +19,7 @@ public class WarDeployTests extends AppServiceTest { @Override protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { - WEBAPP_NAME = generateRandomResourceName("java-webapp-", 20); + WEBAPP_NAME = "JAVA" + generateRandomResourceName("webapp-", 20); super.initializeClients(restClient, defaultSubscription, domain); } diff --git a/azure-mgmt-appservice/src/test/resources/session-records/canDeployMultipleWars.json b/azure-mgmt-appservice/src/test/resources/session-records/canDeployMultipleWars.json index ab6b5bbcb47..ca8aa65125a 100644 --- a/azure-mgmt-appservice/src/test/resources/session-records/canDeployMultipleWars.json +++ b/azure-mgmt-appservice/src/test/resources/session-records/canDeployMultipleWars.json @@ -1,13 +1,13 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrga33474170?api-version=2017-05-10", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrgcb460648e?api-version=2017-05-10", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:8be53c6e237356a977c892dabe01e0851ef304337e4f4eaee8cb7c07e717ca45 Java:1.8.0_77 (ResourceManagementClient, 2017-05-10)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:d1b6e9f49fc5b201bb0b64e83e859b7194a0ccc206bd5101b21767d0bcc76cac Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:42:00 GMT", + "date" : "Mon, 10 Sep 2018 20:06:42 GMT", "content-length" : "273", "expires" : "-1", "x-ms-ratelimit-remaining-subscription-writes" : "1199", @@ -15,23 +15,23 @@ "StatusCode" : "201", "pragma" : "no-cache", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2f19c82b-89ef-49e5-bd44-7da63269ee4f", + "x-ms-correlation-request-id" : "6cda3986-c19b-4c90-9438-2e34e92fe51a", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180710T234201Z:2f19c82b-89ef-49e5-bd44-7da63269ee4f", + "x-ms-routing-request-id" : "WESTUS2:20180910T200642Z:6cda3986-c19b-4c90-9438-2e34e92fe51a", "content-type" : "application/json; charset=utf-8", "cache-control" : "no-cache", - "x-ms-request-id" : "2f19c82b-89ef-49e5-bd44-7da63269ee4f", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga33474170\",\"name\":\"javacsmrga33474170\",\"location\":\"westus\",\"tags\":{\"date\":\"2018-07-10T23:42:00.048Z\",\"product\":\"javasdk\",\"cause\":\"automation\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}" + "x-ms-request-id" : "6cda3986-c19b-4c90-9438-2e34e92fe51a", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgcb460648e\",\"name\":\"javacsmrgcb460648e\",\"location\":\"westus\",\"tags\":{\"date\":\"2018-09-10T20:06:41.300Z\",\"product\":\"javasdk\",\"cause\":\"automation\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga33474170/providers/Microsoft.Web/serverfarms/java-webapp-491996planc03652445?api-version=2018-02-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgcb460648e/providers/Microsoft.Web/serverfarms/javawebapp-d473244470plan323849?api-version=2018-02-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:8be53c6e237356a977c892dabe01e0851ef304337e4f4eaee8cb7c07e717ca45 Java:1.8.0_77 (WebSiteManagementClient, 2018-02-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:d1b6e9f49fc5b201bb0b64e83e859b7194a0ccc206bd5101b21767d0bcc76cac Java:1.8.0_181 (WebSiteManagementClient, 2018-02-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:42:14 GMT", + "date" : "Mon, 10 Sep 2018 20:06:57 GMT", "server" : "Microsoft-IIS/10.0", "content-length" : "1310", "expires" : "-1", @@ -43,24 +43,24 @@ "StatusCode" : "200", "pragma" : "no-cache", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "84613d76-aa11-4878-81ef-625eca8c011e", + "x-ms-correlation-request-id" : "53b383f0-d9ba-4173-b3b3-56e98da7dd9b", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180710T234214Z:84613d76-aa11-4878-81ef-625eca8c011e", + "x-ms-routing-request-id" : "WESTUS2:20180910T200657Z:53b383f0-d9ba-4173-b3b3-56e98da7dd9b", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "cache-control" : "no-cache", - "x-ms-request-id" : "b2348a5d-3422-4871-943e-fd210b59abaa", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga33474170/providers/Microsoft.Web/serverfarms/java-webapp-491996planc03652445\",\"name\":\"java-webapp-491996planc03652445\",\"type\":\"Microsoft.Web/serverfarms\",\"kind\":\"app\",\"location\":\"West US\",\"tags\":{},\"properties\":{\"serverFarmId\":7297,\"name\":\"java-webapp-491996planc03652445\",\"workerSize\":\"Default\",\"workerSizeId\":0,\"workerTierName\":null,\"numberOfWorkers\":1,\"currentWorkerSize\":\"Default\",\"currentWorkerSizeId\":0,\"currentNumberOfWorkers\":1,\"status\":\"Ready\",\"webSpace\":\"javacsmrga33474170-WestUSwebspace\",\"subscription\":\"00000000-0000-0000-0000-000000000000\",\"adminSiteName\":null,\"hostingEnvironment\":null,\"hostingEnvironmentProfile\":null,\"maximumNumberOfWorkers\":10,\"planName\":\"VirtualDedicatedPlan\",\"adminRuntimeSiteName\":null,\"computeMode\":\"Dedicated\",\"siteMode\":null,\"geoRegion\":\"West US\",\"perSiteScaling\":false,\"numberOfSites\":0,\"hostingEnvironmentId\":null,\"isSpot\":false,\"spotExpirationTime\":null,\"freeOfferExpirationTime\":null,\"tags\":{},\"kind\":\"app\",\"resourceGroup\":\"javacsmrga33474170\",\"reserved\":false,\"isXenon\":false,\"mdmId\":\"waws-prod-bay-097_7297\",\"targetWorkerCount\":0,\"targetWorkerSizeId\":0,\"provisioningState\":\"Succeeded\",\"webSiteId\":null},\"sku\":{\"name\":\"S1\",\"tier\":\"Standard\",\"size\":\"S1\",\"family\":\"S\",\"capacity\":1}}" + "x-ms-request-id" : "86df67fd-3f58-437f-ae1e-df8387960b3d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgcb460648e/providers/Microsoft.Web/serverfarms/javawebapp-d473244470plan323849\",\"name\":\"javawebapp-d473244470plan323849\",\"type\":\"Microsoft.Web/serverfarms\",\"kind\":\"app\",\"location\":\"West US\",\"tags\":{},\"properties\":{\"serverFarmId\":5395,\"name\":\"javawebapp-d473244470plan323849\",\"workerSize\":\"Default\",\"workerSizeId\":0,\"workerTierName\":null,\"numberOfWorkers\":1,\"currentWorkerSize\":\"Default\",\"currentWorkerSizeId\":0,\"currentNumberOfWorkers\":1,\"status\":\"Ready\",\"webSpace\":\"javacsmrgcb460648e-WestUSwebspace\",\"subscription\":\"00000000-0000-0000-0000-000000000000\",\"adminSiteName\":null,\"hostingEnvironment\":null,\"hostingEnvironmentProfile\":null,\"maximumNumberOfWorkers\":10,\"planName\":\"VirtualDedicatedPlan\",\"adminRuntimeSiteName\":null,\"computeMode\":\"Dedicated\",\"siteMode\":null,\"geoRegion\":\"West US\",\"perSiteScaling\":false,\"numberOfSites\":0,\"hostingEnvironmentId\":null,\"isSpot\":false,\"spotExpirationTime\":null,\"freeOfferExpirationTime\":null,\"tags\":{},\"kind\":\"app\",\"resourceGroup\":\"javacsmrgcb460648e\",\"reserved\":false,\"isXenon\":false,\"mdmId\":\"waws-prod-bay-107_5395\",\"targetWorkerCount\":0,\"targetWorkerSizeId\":0,\"provisioningState\":\"Succeeded\",\"webSiteId\":null},\"sku\":{\"name\":\"S1\",\"tier\":\"Standard\",\"size\":\"S1\",\"family\":\"S\",\"capacity\":1}}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga33474170/providers/Microsoft.Web/sites/java-webapp-491996?api-version=2018-02-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgcb460648e/providers/Microsoft.Web/sites/JAVAwebapp-d473244470?api-version=2018-02-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:8be53c6e237356a977c892dabe01e0851ef304337e4f4eaee8cb7c07e717ca45 Java:1.8.0_77 (WebSiteManagementClient, 2018-02-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:d1b6e9f49fc5b201bb0b64e83e859b7194a0ccc206bd5101b21767d0bcc76cac Java:1.8.0_181 (WebSiteManagementClient, 2018-02-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:42:25 GMT", + "date" : "Mon, 10 Sep 2018 20:07:08 GMT", "server" : "Microsoft-IIS/10.0", "content-length" : "2911", "expires" : "-1", @@ -71,28 +71,28 @@ "StatusCode" : "200", "pragma" : "no-cache", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2cc2ab19-5b6e-4825-89c4-eb1461174604", + "x-ms-correlation-request-id" : "7b201b1b-2c05-4943-b783-078391fcd36c", "x-content-type-options" : "nosniff", "x-ms-ratelimit-remaining-subscription-resource-requests" : "499", - "x-ms-routing-request-id" : "WESTUS2:20180710T234225Z:2cc2ab19-5b6e-4825-89c4-eb1461174604", + "x-ms-routing-request-id" : "WESTUS2:20180910T200709Z:7b201b1b-2c05-4943-b783-078391fcd36c", "x-powered-by" : "ASP.NET", "content-type" : "application/json", - "etag" : "\"1D418A7A31CD08B\"", + "etag" : "\"1D44941D602DA00\"", "cache-control" : "no-cache", - "x-ms-request-id" : "ba873ad9-40ec-46bc-bd93-fc801af180ce", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga33474170/providers/Microsoft.Web/sites/java-webapp-491996\",\"name\":\"java-webapp-491996\",\"type\":\"Microsoft.Web/sites\",\"kind\":\"app\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"name\":\"java-webapp-491996\",\"state\":\"Running\",\"hostNames\":[\"java-webapp-491996.azurewebsites.net\"],\"webSpace\":\"javacsmrga33474170-WestUSwebspace\",\"selfLink\":\"https://waws-prod-bay-097.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/javacsmrga33474170-WestUSwebspace/sites/java-webapp-491996\",\"repositorySiteName\":\"java-webapp-491996\",\"owner\":null,\"usageState\":\"Normal\",\"enabled\":true,\"adminEnabled\":true,\"enabledHostNames\":[\"java-webapp-491996.azurewebsites.net\",\"java-webapp-491996.scm.azurewebsites.net\"],\"siteProperties\":{\"metadata\":null,\"properties\":[{\"name\":\"LinuxFxVersion\",\"value\":\"\"},{\"name\":\"WindowsFxVersion\",\"value\":null}],\"appSettings\":null},\"availabilityState\":\"Normal\",\"sslCertificates\":null,\"csrs\":[],\"cers\":null,\"siteMode\":null,\"hostNameSslStates\":[{\"name\":\"java-webapp-491996.azurewebsites.net\",\"sslState\":\"Disabled\",\"ipBasedSslResult\":null,\"virtualIP\":null,\"thumbprint\":null,\"toUpdate\":null,\"toUpdateIpBasedSsl\":null,\"ipBasedSslState\":\"NotConfigured\",\"hostType\":\"Standard\"},{\"name\":\"java-webapp-491996.scm.azurewebsites.net\",\"sslState\":\"Disabled\",\"ipBasedSslResult\":null,\"virtualIP\":null,\"thumbprint\":null,\"toUpdate\":null,\"toUpdateIpBasedSsl\":null,\"ipBasedSslState\":\"NotConfigured\",\"hostType\":\"Repository\"}],\"computeMode\":null,\"serverFarm\":null,\"serverFarmId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga33474170/providers/Microsoft.Web/serverfarms/java-webapp-491996planc03652445\",\"reserved\":false,\"isXenon\":false,\"lastModifiedTimeUtc\":\"2018-07-10T23:42:17.2033333\",\"storageRecoveryDefaultState\":\"Running\",\"contentAvailabilityState\":\"Normal\",\"runtimeAvailabilityState\":\"Normal\",\"siteConfig\":null,\"deploymentId\":\"java-webapp-491996\",\"trafficManagerHostNames\":null,\"sku\":\"Standard\",\"scmSiteAlsoStopped\":false,\"targetSwapSlot\":null,\"hostingEnvironment\":null,\"hostingEnvironmentProfile\":null,\"clientAffinityEnabled\":true,\"clientCertEnabled\":false,\"hostNamesDisabled\":false,\"domainVerificationIdentifiers\":null,\"kind\":\"app\",\"outboundIpAddresses\":\"13.91.242.166,13.91.241.161,13.91.244.239,13.91.244.226,13.91.101.85,52.226.129.61\",\"possibleOutboundIpAddresses\":\"13.91.242.166,13.91.241.161,13.91.244.239,13.91.244.226,13.91.101.85,52.226.129.61,13.91.242.52,13.91.243.117,13.91.241.117\",\"containerSize\":0,\"dailyMemoryTimeQuota\":0,\"suspendedTill\":null,\"siteDisabledReason\":0,\"functionExecutionUnitsCache\":null,\"maxNumberOfWorkers\":null,\"homeStamp\":\"waws-prod-bay-097\",\"cloningInfo\":null,\"hostingEnvironmentId\":null,\"tags\":{},\"resourceGroup\":\"javacsmrga33474170\",\"defaultHostName\":\"java-webapp-491996.azurewebsites.net\",\"slotSwapStatus\":null,\"httpsOnly\":false}}" + "x-ms-request-id" : "c7f61fa5-e58a-4b3e-818e-17691af9aced", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgcb460648e/providers/Microsoft.Web/sites/JAVAwebapp-d473244470\",\"name\":\"JAVAwebapp-d473244470\",\"type\":\"Microsoft.Web/sites\",\"kind\":\"app\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"name\":\"JAVAwebapp-d473244470\",\"state\":\"Running\",\"hostNames\":[\"javawebapp-d473244470.azurewebsites.net\"],\"webSpace\":\"javacsmrgcb460648e-WestUSwebspace\",\"selfLink\":\"https://waws-prod-bay-107.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/javacsmrgcb460648e-WestUSwebspace/sites/JAVAwebapp-d473244470\",\"repositorySiteName\":\"JAVAwebapp-d473244470\",\"owner\":null,\"usageState\":\"Normal\",\"enabled\":true,\"adminEnabled\":true,\"enabledHostNames\":[\"javawebapp-d473244470.azurewebsites.net\",\"javawebapp-d473244470.scm.azurewebsites.net\"],\"siteProperties\":{\"metadata\":null,\"properties\":[{\"name\":\"LinuxFxVersion\",\"value\":\"\"},{\"name\":\"WindowsFxVersion\",\"value\":null}],\"appSettings\":null},\"availabilityState\":\"Normal\",\"sslCertificates\":null,\"csrs\":[],\"cers\":null,\"siteMode\":null,\"hostNameSslStates\":[{\"name\":\"javawebapp-d473244470.azurewebsites.net\",\"sslState\":\"Disabled\",\"ipBasedSslResult\":null,\"virtualIP\":null,\"thumbprint\":null,\"toUpdate\":null,\"toUpdateIpBasedSsl\":null,\"ipBasedSslState\":\"NotConfigured\",\"hostType\":\"Standard\"},{\"name\":\"javawebapp-d473244470.scm.azurewebsites.net\",\"sslState\":\"Disabled\",\"ipBasedSslResult\":null,\"virtualIP\":null,\"thumbprint\":null,\"toUpdate\":null,\"toUpdateIpBasedSsl\":null,\"ipBasedSslState\":\"NotConfigured\",\"hostType\":\"Repository\"}],\"computeMode\":null,\"serverFarm\":null,\"serverFarmId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgcb460648e/providers/Microsoft.Web/serverfarms/javawebapp-d473244470plan323849\",\"reserved\":false,\"isXenon\":false,\"lastModifiedTimeUtc\":\"2018-09-10T20:07:00.61\",\"storageRecoveryDefaultState\":\"Running\",\"contentAvailabilityState\":\"Normal\",\"runtimeAvailabilityState\":\"Normal\",\"siteConfig\":null,\"deploymentId\":\"JAVAwebapp-d473244470\",\"trafficManagerHostNames\":null,\"sku\":\"Standard\",\"scmSiteAlsoStopped\":false,\"targetSwapSlot\":null,\"hostingEnvironment\":null,\"hostingEnvironmentProfile\":null,\"clientAffinityEnabled\":true,\"clientCertEnabled\":false,\"hostNamesDisabled\":false,\"domainVerificationIdentifiers\":null,\"kind\":\"app\",\"outboundIpAddresses\":\"40.80.156.205,40.80.152.218,104.42.156.123,104.42.216.21,40.78.63.47\",\"possibleOutboundIpAddresses\":\"40.80.156.205,40.80.152.218,104.42.156.123,104.42.216.21,40.78.63.47,40.80.156.103,40.78.62.97,40.80.153.6\",\"containerSize\":0,\"dailyMemoryTimeQuota\":0,\"suspendedTill\":null,\"siteDisabledReason\":0,\"functionExecutionUnitsCache\":null,\"maxNumberOfWorkers\":null,\"homeStamp\":\"waws-prod-bay-107\",\"cloningInfo\":null,\"hostingEnvironmentId\":null,\"tags\":{},\"resourceGroup\":\"javacsmrgcb460648e\",\"defaultHostName\":\"javawebapp-d473244470.azurewebsites.net\",\"slotSwapStatus\":null,\"httpsOnly\":false}}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga33474170/providers/Microsoft.Web/sites/java-webapp-491996/config/web?api-version=2018-02-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgcb460648e/providers/Microsoft.Web/sites/JAVAwebapp-d473244470/config/web?api-version=2018-02-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:8be53c6e237356a977c892dabe01e0851ef304337e4f4eaee8cb7c07e717ca45 Java:1.8.0_77 (WebSiteManagementClient, 2018-02-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:d1b6e9f49fc5b201bb0b64e83e859b7194a0ccc206bd5101b21767d0bcc76cac Java:1.8.0_181 (WebSiteManagementClient, 2018-02-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:42:26 GMT", + "date" : "Mon, 10 Sep 2018 20:07:11 GMT", "server" : "Microsoft-IIS/10.0", - "content-length" : "2486", + "content-length" : "2547", "expires" : "-1", "transfer-encoding" : "chunked", "vary" : "Accept-Encoding", @@ -102,46 +102,46 @@ "StatusCode" : "200", "pragma" : "no-cache", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f843d81a-0110-4943-9b9a-cf296a595709", + "x-ms-correlation-request-id" : "98a5e0da-7a46-4c09-92e6-58feadc7fe43", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180710T234226Z:f843d81a-0110-4943-9b9a-cf296a595709", + "x-ms-routing-request-id" : "WESTUS2:20180910T200711Z:98a5e0da-7a46-4c09-92e6-58feadc7fe43", "x-powered-by" : "ASP.NET", "content-type" : "application/json", - "etag" : "\"1D418A7A84CD680\"", + "etag" : "\"1D44941DBF21E4B\"", "cache-control" : "no-cache", - "x-ms-request-id" : "12f22185-58b6-4945-8e09-ac14d645b67c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga33474170/providers/Microsoft.Web/sites/java-webapp-491996\",\"name\":\"java-webapp-491996\",\"type\":\"Microsoft.Web/sites\",\"location\":\"West US\",\"tags\":{},\"properties\":{\"numberOfWorkers\":1,\"defaultDocuments\":[\"Default.htm\",\"Default.html\",\"Default.asp\",\"index.htm\",\"index.html\",\"iisstart.htm\",\"default.aspx\",\"index.php\",\"hostingstart.html\"],\"netFrameworkVersion\":\"v4.0\",\"phpVersion\":\"5.6\",\"pythonVersion\":\"\",\"nodeVersion\":\"\",\"linuxFxVersion\":\"\",\"windowsFxVersion\":null,\"requestTracingEnabled\":false,\"remoteDebuggingEnabled\":false,\"remoteDebuggingVersion\":null,\"httpLoggingEnabled\":false,\"logsDirectorySizeLimit\":35,\"detailedErrorLoggingEnabled\":false,\"publishingUsername\":\"$java-webapp-491996\",\"publishingPassword\":null,\"appSettings\":null,\"metadata\":null,\"connectionStrings\":null,\"machineKey\":null,\"handlerMappings\":null,\"documentRoot\":null,\"scmType\":\"None\",\"use32BitWorkerProcess\":true,\"webSocketsEnabled\":false,\"alwaysOn\":false,\"javaVersion\":\"1.8\",\"javaContainer\":\"TOMCAT\",\"javaContainerVersion\":\"9.0\",\"appCommandLine\":\"\",\"managedPipelineMode\":\"Integrated\",\"virtualApplications\":[{\"virtualPath\":\"/\",\"physicalPath\":\"site\\\\wwwroot\",\"preloadEnabled\":false,\"virtualDirectories\":null}],\"winAuthAdminState\":0,\"winAuthTenantState\":0,\"customAppPoolIdentityAdminState\":false,\"customAppPoolIdentityTenantState\":false,\"runtimeADUser\":null,\"runtimeADUserPassword\":null,\"loadBalancing\":\"LeastRequests\",\"routingRules\":[],\"experiments\":{\"rampUpRules\":[]},\"limits\":null,\"autoHealEnabled\":false,\"autoHealRules\":null,\"tracingOptions\":null,\"vnetName\":\"\",\"siteAuthEnabled\":false,\"siteAuthSettings\":{\"enabled\":null,\"unauthenticatedClientAction\":null,\"tokenStoreEnabled\":null,\"allowedExternalRedirectUrls\":null,\"defaultProvider\":null,\"clientId\":null,\"clientSecret\":null,\"issuer\":null,\"allowedAudiences\":null,\"additionalLoginParams\":null,\"isAadAutoProvisioned\":false,\"googleClientId\":null,\"googleClientSecret\":null,\"googleOAuthScopes\":null,\"facebookAppId\":null,\"facebookAppSecret\":null,\"facebookOAuthScopes\":null,\"twitterConsumerKey\":null,\"twitterConsumerSecret\":null,\"microsoftAccountClientId\":null,\"microsoftAccountClientSecret\":null,\"microsoftAccountOAuthScopes\":null},\"cors\":null,\"push\":null,\"apiDefinition\":null,\"autoSwapSlotName\":null,\"localMySqlEnabled\":false,\"managedServiceIdentityId\":null,\"xManagedServiceIdentityId\":null,\"ipSecurityRestrictions\":null,\"http20Enabled\":false,\"minTlsVersion\":\"1.2\",\"ftpsState\":\"AllAllowed\"}}" + "x-ms-request-id" : "dea384db-fd13-42be-b238-dd27bba93a57", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgcb460648e/providers/Microsoft.Web/sites/JAVAwebapp-d473244470\",\"name\":\"JAVAwebapp-d473244470\",\"type\":\"Microsoft.Web/sites\",\"location\":\"West US\",\"tags\":{},\"properties\":{\"numberOfWorkers\":1,\"defaultDocuments\":[\"Default.htm\",\"Default.html\",\"Default.asp\",\"index.htm\",\"index.html\",\"iisstart.htm\",\"default.aspx\",\"index.php\",\"hostingstart.html\"],\"netFrameworkVersion\":\"v4.0\",\"phpVersion\":\"5.6\",\"pythonVersion\":\"\",\"nodeVersion\":\"\",\"linuxFxVersion\":\"\",\"windowsFxVersion\":null,\"requestTracingEnabled\":false,\"remoteDebuggingEnabled\":false,\"remoteDebuggingVersion\":null,\"httpLoggingEnabled\":false,\"logsDirectorySizeLimit\":35,\"detailedErrorLoggingEnabled\":false,\"publishingUsername\":\"$JAVAwebapp-d473244470\",\"publishingPassword\":null,\"appSettings\":null,\"azureStorageAccounts\":{},\"metadata\":null,\"connectionStrings\":null,\"machineKey\":null,\"handlerMappings\":null,\"documentRoot\":null,\"scmType\":\"None\",\"use32BitWorkerProcess\":true,\"webSocketsEnabled\":false,\"alwaysOn\":false,\"javaVersion\":\"1.8\",\"javaContainer\":\"TOMCAT\",\"javaContainerVersion\":\"9.0\",\"appCommandLine\":\"\",\"managedPipelineMode\":\"Integrated\",\"virtualApplications\":[{\"virtualPath\":\"/\",\"physicalPath\":\"site\\\\wwwroot\",\"preloadEnabled\":false,\"virtualDirectories\":null}],\"winAuthAdminState\":0,\"winAuthTenantState\":0,\"customAppPoolIdentityAdminState\":false,\"customAppPoolIdentityTenantState\":false,\"runtimeADUser\":null,\"runtimeADUserPassword\":null,\"loadBalancing\":\"LeastRequests\",\"routingRules\":[],\"experiments\":{\"rampUpRules\":[]},\"limits\":null,\"autoHealEnabled\":false,\"autoHealRules\":null,\"tracingOptions\":null,\"vnetName\":\"\",\"siteAuthEnabled\":false,\"siteAuthSettings\":{\"enabled\":null,\"unauthenticatedClientAction\":null,\"tokenStoreEnabled\":null,\"allowedExternalRedirectUrls\":null,\"defaultProvider\":null,\"clientId\":null,\"clientSecret\":null,\"issuer\":null,\"allowedAudiences\":null,\"additionalLoginParams\":null,\"isAadAutoProvisioned\":false,\"googleClientId\":null,\"googleClientSecret\":null,\"googleOAuthScopes\":null,\"facebookAppId\":null,\"facebookAppSecret\":null,\"facebookOAuthScopes\":null,\"twitterConsumerKey\":null,\"twitterConsumerSecret\":null,\"microsoftAccountClientId\":null,\"microsoftAccountClientSecret\":null,\"microsoftAccountOAuthScopes\":null},\"cors\":null,\"push\":null,\"apiDefinition\":null,\"autoSwapSlotName\":null,\"localMySqlEnabled\":false,\"managedServiceIdentityId\":null,\"xManagedServiceIdentityId\":null,\"ipSecurityRestrictions\":null,\"http20Enabled\":false,\"minTlsVersion\":\"1.2\",\"ftpsState\":\"AllAllowed\",\"reservedInstanceCount\":0}}" } }, { "Method" : "POST", - "Uri" : "https://java-webapp-491996.scm.azurewebsites.net/api/wardeploy", + "Uri" : "https://javawebapp-d473244470.scm.azurewebsites.net/api/wardeploy", "Headers" : { "User-Agent" : "AutoRest-Java", "Content-Type" : "application/octet-stream" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:42:43 GMT", + "date" : "Mon, 10 Sep 2018 20:07:26 GMT", "content-length" : "0", "server" : "Microsoft-IIS/10.0", - "set-cookie" : "ARRAffinity=0fe201a6b3a0915eccf607cb65d25a0658b691b31fcd5d5405ca4f32b9366d51;Path=/;HttpOnly;Domain=java-webapp-491996.scm.azurewebsites.net", + "set-cookie" : "ARRAffinity=124ed539362af6cc004779fe435b4d0a7306d5f1ce90f922eb470d1982291c2b;Path=/;HttpOnly;Domain=javawebapp-d473244470.scm.azurewebsites.net", "expires" : "-1", "x-aspnet-version" : "4.0.30319", "x-powered-by" : "ASP.NET", "retry-after" : "0", "cache-control" : "no-cache", "StatusCode" : "200", - "x-ms-request-id" : "be936393-5a8c-433f-86bd-691738f34538", + "x-ms-request-id" : "4d0a8314-49e7-4325-b718-2782f95061f3", "pragma" : "no-cache" } }, { "Method" : "POST", - "Uri" : "https://java-webapp-491996.scm.azurewebsites.net/api/wardeploy?name=app2", + "Uri" : "https://javawebapp-d473244470.scm.azurewebsites.net/api/wardeploy?name=app2", "Headers" : { "User-Agent" : "AutoRest-Java", "Content-Type" : "application/octet-stream" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:42:46 GMT", + "date" : "Mon, 10 Sep 2018 20:07:29 GMT", "content-length" : "0", "server" : "Microsoft-IIS/10.0", "expires" : "-1", @@ -150,9 +150,9 @@ "retry-after" : "0", "cache-control" : "no-cache", "StatusCode" : "200", - "x-ms-request-id" : "be750b13-28c1-4df2-acc3-520d9099c346", + "x-ms-request-id" : "ca10ca9c-473f-4cf8-ae6b-f0cf8e2e4ecd", "pragma" : "no-cache" } } ], - "variables" : [ "java-webapp-491996", "javacsmrga33474170", "76ae236c-b82a-4eb6-b870-37c46fefa741", "6dacdda5-7461-4dee-a5b0-853d670d8b28", "java-webapp-491996planc03652445", "aee082ce-280e-4213-aa1a-2248cd4ddad6", "4385942d-c5b3-457d-b884-89080bbd2d25", "0f1861b8-1ee6-4501-883c-1b811cdba5d9", "fe70a94d-4858-4434-b36c-7ba01e244903", "9a757a74-a7c4-410b-8022-0ff7a2968e6c", "0923539a-2941-4978-8b3b-e6137fb159ab", "29b2df3b-be4d-4c65-8fee-cbd6e8b18152" ] + "variables" : [ "webapp-d473244470", "javacsmrgcb460648e", "703673f5-f66f-481a-9f1a-12b58d8cb5a7", "3aaea262-ca90-4e95-8498-f48c660bc10c", "javawebapp-d473244470plan323849", "7118768a-a337-4485-9259-f7b9c9e9aeef", "c85170d0-d1a3-4a3c-94c5-94aad17d4f73", "bd622475-9051-43cf-a615-fbd113547d62", "63b6e3f6-b672-456d-887b-6ffee76e96bc", "9ac54fb1-ff49-4e15-9c0c-9e388de42bbd", "6e9d75b4-07ca-4ee3-9fbb-f69f98284aae", "c6b3b410-7dc8-4a12-9a82-bd9bdd5a384d" ] } \ No newline at end of file diff --git a/azure-mgmt-appservice/src/test/resources/session-records/canDeployWar.json b/azure-mgmt-appservice/src/test/resources/session-records/canDeployWar.json index 4477231c8e5..f8549cae105 100644 --- a/azure-mgmt-appservice/src/test/resources/session-records/canDeployWar.json +++ b/azure-mgmt-appservice/src/test/resources/session-records/canDeployWar.json @@ -1,13 +1,13 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrgfa6903003?api-version=2017-05-10", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg998186698?api-version=2017-05-10", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:8be53c6e237356a977c892dabe01e0851ef304337e4f4eaee8cb7c07e717ca45 Java:1.8.0_77 (ResourceManagementClient, 2017-05-10)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:d1b6e9f49fc5b201bb0b64e83e859b7194a0ccc206bd5101b21767d0bcc76cac Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:40:39 GMT", + "date" : "Mon, 10 Sep 2018 20:04:55 GMT", "content-length" : "273", "expires" : "-1", "x-ms-ratelimit-remaining-subscription-writes" : "1199", @@ -15,25 +15,25 @@ "StatusCode" : "201", "pragma" : "no-cache", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "377fb240-35f4-44fd-bf8c-12d910c43c3b", + "x-ms-correlation-request-id" : "67624926-099d-4cfe-95c3-55bdd7a76cb9", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180710T234040Z:377fb240-35f4-44fd-bf8c-12d910c43c3b", + "x-ms-routing-request-id" : "WESTUS2:20180910T200455Z:67624926-099d-4cfe-95c3-55bdd7a76cb9", "content-type" : "application/json; charset=utf-8", "cache-control" : "no-cache", - "x-ms-request-id" : "377fb240-35f4-44fd-bf8c-12d910c43c3b", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgfa6903003\",\"name\":\"javacsmrgfa6903003\",\"location\":\"westus\",\"tags\":{\"date\":\"2018-07-10T23:40:38.281Z\",\"product\":\"javasdk\",\"cause\":\"automation\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}" + "x-ms-request-id" : "67624926-099d-4cfe-95c3-55bdd7a76cb9", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg998186698\",\"name\":\"javacsmrg998186698\",\"location\":\"westus\",\"tags\":{\"date\":\"2018-09-10T20:04:53.861Z\",\"product\":\"javasdk\",\"cause\":\"automation\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgfa6903003/providers/Microsoft.Web/serverfarms/java-webapp-46679aplan95b293388?api-version=2018-02-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg998186698/providers/Microsoft.Web/serverfarms/javawebapp-5450816901plan47838c?api-version=2018-02-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:8be53c6e237356a977c892dabe01e0851ef304337e4f4eaee8cb7c07e717ca45 Java:1.8.0_77 (WebSiteManagementClient, 2018-02-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:d1b6e9f49fc5b201bb0b64e83e859b7194a0ccc206bd5101b21767d0bcc76cac Java:1.8.0_181 (WebSiteManagementClient, 2018-02-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:40:52 GMT", + "date" : "Mon, 10 Sep 2018 20:05:10 GMT", "server" : "Microsoft-IIS/10.0", - "content-length" : "1310", + "content-length" : "1308", "expires" : "-1", "transfer-encoding" : "chunked", "vary" : "Accept-Encoding", @@ -43,26 +43,26 @@ "StatusCode" : "200", "pragma" : "no-cache", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6643365e-0873-47a9-9a54-03feb97e3598", + "x-ms-correlation-request-id" : "35decd83-10d6-4d99-b4f7-2b7f45c144fe", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180710T234053Z:6643365e-0873-47a9-9a54-03feb97e3598", + "x-ms-routing-request-id" : "WESTUS2:20180910T200511Z:35decd83-10d6-4d99-b4f7-2b7f45c144fe", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "cache-control" : "no-cache", - "x-ms-request-id" : "35b2f017-b9bd-43f7-9576-aca5e254c713", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgfa6903003/providers/Microsoft.Web/serverfarms/java-webapp-46679aplan95b293388\",\"name\":\"java-webapp-46679aplan95b293388\",\"type\":\"Microsoft.Web/serverfarms\",\"kind\":\"app\",\"location\":\"West US\",\"tags\":{},\"properties\":{\"serverFarmId\":5361,\"name\":\"java-webapp-46679aplan95b293388\",\"workerSize\":\"Default\",\"workerSizeId\":0,\"workerTierName\":null,\"numberOfWorkers\":1,\"currentWorkerSize\":\"Default\",\"currentWorkerSizeId\":0,\"currentNumberOfWorkers\":1,\"status\":\"Ready\",\"webSpace\":\"javacsmrgfa6903003-WestUSwebspace\",\"subscription\":\"00000000-0000-0000-0000-000000000000\",\"adminSiteName\":null,\"hostingEnvironment\":null,\"hostingEnvironmentProfile\":null,\"maximumNumberOfWorkers\":10,\"planName\":\"VirtualDedicatedPlan\",\"adminRuntimeSiteName\":null,\"computeMode\":\"Dedicated\",\"siteMode\":null,\"geoRegion\":\"West US\",\"perSiteScaling\":false,\"numberOfSites\":0,\"hostingEnvironmentId\":null,\"isSpot\":false,\"spotExpirationTime\":null,\"freeOfferExpirationTime\":null,\"tags\":{},\"kind\":\"app\",\"resourceGroup\":\"javacsmrgfa6903003\",\"reserved\":false,\"isXenon\":false,\"mdmId\":\"waws-prod-bay-101_5361\",\"targetWorkerCount\":0,\"targetWorkerSizeId\":0,\"provisioningState\":\"Succeeded\",\"webSiteId\":null},\"sku\":{\"name\":\"S1\",\"tier\":\"Standard\",\"size\":\"S1\",\"family\":\"S\",\"capacity\":1}}" + "x-ms-request-id" : "f99c90c9-82b8-47b2-9ac6-a9ba47cbdfa8", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg998186698/providers/Microsoft.Web/serverfarms/javawebapp-5450816901plan47838c\",\"name\":\"javawebapp-5450816901plan47838c\",\"type\":\"Microsoft.Web/serverfarms\",\"kind\":\"app\",\"location\":\"West US\",\"tags\":{},\"properties\":{\"serverFarmId\":885,\"name\":\"javawebapp-5450816901plan47838c\",\"workerSize\":\"Default\",\"workerSizeId\":0,\"workerTierName\":null,\"numberOfWorkers\":1,\"currentWorkerSize\":\"Default\",\"currentWorkerSizeId\":0,\"currentNumberOfWorkers\":1,\"status\":\"Ready\",\"webSpace\":\"javacsmrg998186698-WestUSwebspace\",\"subscription\":\"00000000-0000-0000-0000-000000000000\",\"adminSiteName\":null,\"hostingEnvironment\":null,\"hostingEnvironmentProfile\":null,\"maximumNumberOfWorkers\":10,\"planName\":\"VirtualDedicatedPlan\",\"adminRuntimeSiteName\":null,\"computeMode\":\"Dedicated\",\"siteMode\":null,\"geoRegion\":\"West US\",\"perSiteScaling\":false,\"numberOfSites\":0,\"hostingEnvironmentId\":null,\"isSpot\":false,\"spotExpirationTime\":null,\"freeOfferExpirationTime\":null,\"tags\":{},\"kind\":\"app\",\"resourceGroup\":\"javacsmrg998186698\",\"reserved\":false,\"isXenon\":false,\"mdmId\":\"waws-prod-bay-111_885\",\"targetWorkerCount\":0,\"targetWorkerSizeId\":0,\"provisioningState\":\"Succeeded\",\"webSiteId\":null},\"sku\":{\"name\":\"S1\",\"tier\":\"Standard\",\"size\":\"S1\",\"family\":\"S\",\"capacity\":1}}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgfa6903003/providers/Microsoft.Web/sites/java-webapp-46679a?api-version=2018-02-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg998186698/providers/Microsoft.Web/sites/JAVAwebapp-5450816901?api-version=2018-02-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:8be53c6e237356a977c892dabe01e0851ef304337e4f4eaee8cb7c07e717ca45 Java:1.8.0_77 (WebSiteManagementClient, 2018-02-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:d1b6e9f49fc5b201bb0b64e83e859b7194a0ccc206bd5101b21767d0bcc76cac Java:1.8.0_181 (WebSiteManagementClient, 2018-02-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:41:01 GMT", + "date" : "Mon, 10 Sep 2018 20:05:16 GMT", "server" : "Microsoft-IIS/10.0", - "content-length" : "2888", + "content-length" : "2918", "expires" : "-1", "transfer-encoding" : "chunked", "vary" : "Accept-Encoding", @@ -71,28 +71,28 @@ "StatusCode" : "200", "pragma" : "no-cache", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8f3d2c7a-b1b9-4d0e-9a01-8b5f705a5f42", + "x-ms-correlation-request-id" : "12342f4d-5943-4e47-a6ce-a7962eaa9545", "x-content-type-options" : "nosniff", "x-ms-ratelimit-remaining-subscription-resource-requests" : "499", - "x-ms-routing-request-id" : "WESTUS2:20180710T234102Z:8f3d2c7a-b1b9-4d0e-9a01-8b5f705a5f42", + "x-ms-routing-request-id" : "WESTUS2:20180910T200517Z:12342f4d-5943-4e47-a6ce-a7962eaa9545", "x-powered-by" : "ASP.NET", "content-type" : "application/json", - "etag" : "\"1D418A772613A8B\"", + "etag" : "\"1D4494195F53F8B\"", "cache-control" : "no-cache", - "x-ms-request-id" : "3934d944-59d8-4ff5-a7db-f3658055d67a", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgfa6903003/providers/Microsoft.Web/sites/java-webapp-46679a\",\"name\":\"java-webapp-46679a\",\"type\":\"Microsoft.Web/sites\",\"kind\":\"app\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"name\":\"java-webapp-46679a\",\"state\":\"Running\",\"hostNames\":[\"java-webapp-46679a.azurewebsites.net\"],\"webSpace\":\"javacsmrgfa6903003-WestUSwebspace\",\"selfLink\":\"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/javacsmrgfa6903003-WestUSwebspace/sites/java-webapp-46679a\",\"repositorySiteName\":\"java-webapp-46679a\",\"owner\":null,\"usageState\":\"Normal\",\"enabled\":true,\"adminEnabled\":true,\"enabledHostNames\":[\"java-webapp-46679a.azurewebsites.net\",\"java-webapp-46679a.scm.azurewebsites.net\"],\"siteProperties\":{\"metadata\":null,\"properties\":[{\"name\":\"LinuxFxVersion\",\"value\":\"\"},{\"name\":\"WindowsFxVersion\",\"value\":null}],\"appSettings\":null},\"availabilityState\":\"Normal\",\"sslCertificates\":null,\"csrs\":[],\"cers\":null,\"siteMode\":null,\"hostNameSslStates\":[{\"name\":\"java-webapp-46679a.azurewebsites.net\",\"sslState\":\"Disabled\",\"ipBasedSslResult\":null,\"virtualIP\":null,\"thumbprint\":null,\"toUpdate\":null,\"toUpdateIpBasedSsl\":null,\"ipBasedSslState\":\"NotConfigured\",\"hostType\":\"Standard\"},{\"name\":\"java-webapp-46679a.scm.azurewebsites.net\",\"sslState\":\"Disabled\",\"ipBasedSslResult\":null,\"virtualIP\":null,\"thumbprint\":null,\"toUpdate\":null,\"toUpdateIpBasedSsl\":null,\"ipBasedSslState\":\"NotConfigured\",\"hostType\":\"Repository\"}],\"computeMode\":null,\"serverFarm\":null,\"serverFarmId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgfa6903003/providers/Microsoft.Web/serverfarms/java-webapp-46679aplan95b293388\",\"reserved\":false,\"isXenon\":false,\"lastModifiedTimeUtc\":\"2018-07-10T23:40:55.38\",\"storageRecoveryDefaultState\":\"Running\",\"contentAvailabilityState\":\"Normal\",\"runtimeAvailabilityState\":\"Normal\",\"siteConfig\":null,\"deploymentId\":\"java-webapp-46679a\",\"trafficManagerHostNames\":null,\"sku\":\"Standard\",\"scmSiteAlsoStopped\":false,\"targetSwapSlot\":null,\"hostingEnvironment\":null,\"hostingEnvironmentProfile\":null,\"clientAffinityEnabled\":true,\"clientCertEnabled\":false,\"hostNamesDisabled\":false,\"domainVerificationIdentifiers\":null,\"kind\":\"app\",\"outboundIpAddresses\":\"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227\",\"possibleOutboundIpAddresses\":\"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250\",\"containerSize\":0,\"dailyMemoryTimeQuota\":0,\"suspendedTill\":null,\"siteDisabledReason\":0,\"functionExecutionUnitsCache\":null,\"maxNumberOfWorkers\":null,\"homeStamp\":\"waws-prod-bay-101\",\"cloningInfo\":null,\"hostingEnvironmentId\":null,\"tags\":{},\"resourceGroup\":\"javacsmrgfa6903003\",\"defaultHostName\":\"java-webapp-46679a.azurewebsites.net\",\"slotSwapStatus\":null,\"httpsOnly\":false}}" + "x-ms-request-id" : "7d1d2aa0-8a0b-48f5-b4b4-5ccdeeafa501", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg998186698/providers/Microsoft.Web/sites/JAVAwebapp-5450816901\",\"name\":\"JAVAwebapp-5450816901\",\"type\":\"Microsoft.Web/sites\",\"kind\":\"app\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"name\":\"JAVAwebapp-5450816901\",\"state\":\"Running\",\"hostNames\":[\"javawebapp-5450816901.azurewebsites.net\"],\"webSpace\":\"javacsmrg998186698-WestUSwebspace\",\"selfLink\":\"https://waws-prod-bay-111.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/javacsmrg998186698-WestUSwebspace/sites/JAVAwebapp-5450816901\",\"repositorySiteName\":\"JAVAwebapp-5450816901\",\"owner\":null,\"usageState\":\"Normal\",\"enabled\":true,\"adminEnabled\":true,\"enabledHostNames\":[\"javawebapp-5450816901.azurewebsites.net\",\"javawebapp-5450816901.scm.azurewebsites.net\"],\"siteProperties\":{\"metadata\":null,\"properties\":[{\"name\":\"LinuxFxVersion\",\"value\":\"\"},{\"name\":\"WindowsFxVersion\",\"value\":null}],\"appSettings\":null},\"availabilityState\":\"Normal\",\"sslCertificates\":null,\"csrs\":[],\"cers\":null,\"siteMode\":null,\"hostNameSslStates\":[{\"name\":\"javawebapp-5450816901.azurewebsites.net\",\"sslState\":\"Disabled\",\"ipBasedSslResult\":null,\"virtualIP\":null,\"thumbprint\":null,\"toUpdate\":null,\"toUpdateIpBasedSsl\":null,\"ipBasedSslState\":\"NotConfigured\",\"hostType\":\"Standard\"},{\"name\":\"javawebapp-5450816901.scm.azurewebsites.net\",\"sslState\":\"Disabled\",\"ipBasedSslResult\":null,\"virtualIP\":null,\"thumbprint\":null,\"toUpdate\":null,\"toUpdateIpBasedSsl\":null,\"ipBasedSslState\":\"NotConfigured\",\"hostType\":\"Repository\"}],\"computeMode\":null,\"serverFarm\":null,\"serverFarmId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg998186698/providers/Microsoft.Web/serverfarms/javawebapp-5450816901plan47838c\",\"reserved\":false,\"isXenon\":false,\"lastModifiedTimeUtc\":\"2018-09-10T20:05:13.16\",\"storageRecoveryDefaultState\":\"Running\",\"contentAvailabilityState\":\"Normal\",\"runtimeAvailabilityState\":\"Normal\",\"siteConfig\":null,\"deploymentId\":\"JAVAwebapp-5450816901\",\"trafficManagerHostNames\":null,\"sku\":\"Standard\",\"scmSiteAlsoStopped\":false,\"targetSwapSlot\":null,\"hostingEnvironment\":null,\"hostingEnvironmentProfile\":null,\"clientAffinityEnabled\":true,\"clientCertEnabled\":false,\"hostNamesDisabled\":false,\"domainVerificationIdentifiers\":null,\"kind\":\"app\",\"outboundIpAddresses\":\"104.42.148.55,40.83.176.137,40.118.203.40,40.83.182.54,40.118.206.103\",\"possibleOutboundIpAddresses\":\"104.42.148.55,40.83.176.137,40.118.203.40,40.83.182.54,40.118.206.103,40.112.173.196,40.112.176.145,40.83.179.99\",\"containerSize\":0,\"dailyMemoryTimeQuota\":0,\"suspendedTill\":null,\"siteDisabledReason\":0,\"functionExecutionUnitsCache\":null,\"maxNumberOfWorkers\":null,\"homeStamp\":\"waws-prod-bay-111\",\"cloningInfo\":null,\"hostingEnvironmentId\":null,\"tags\":{},\"resourceGroup\":\"javacsmrg998186698\",\"defaultHostName\":\"javawebapp-5450816901.azurewebsites.net\",\"slotSwapStatus\":null,\"httpsOnly\":false}}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgfa6903003/providers/Microsoft.Web/sites/java-webapp-46679a/config/web?api-version=2018-02-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg998186698/providers/Microsoft.Web/sites/JAVAwebapp-5450816901/config/web?api-version=2018-02-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:8be53c6e237356a977c892dabe01e0851ef304337e4f4eaee8cb7c07e717ca45 Java:1.8.0_77 (WebSiteManagementClient, 2018-02-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.3 MacAddressHash:d1b6e9f49fc5b201bb0b64e83e859b7194a0ccc206bd5101b21767d0bcc76cac Java:1.8.0_181 (WebSiteManagementClient, 2018-02-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:41:03 GMT", + "date" : "Mon, 10 Sep 2018 20:05:17 GMT", "server" : "Microsoft-IIS/10.0", - "content-length" : "2486", + "content-length" : "2547", "expires" : "-1", "transfer-encoding" : "chunked", "vary" : "Accept-Encoding", @@ -102,37 +102,37 @@ "StatusCode" : "200", "pragma" : "no-cache", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "90c67304-e9da-4eb0-9985-35a10ca0b38d", + "x-ms-correlation-request-id" : "5f0bebfd-4dbc-4c49-b196-7e4d5361bb24", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180710T234103Z:90c67304-e9da-4eb0-9985-35a10ca0b38d", + "x-ms-routing-request-id" : "WESTUS2:20180910T200518Z:5f0bebfd-4dbc-4c49-b196-7e4d5361bb24", "x-powered-by" : "ASP.NET", "content-type" : "application/json", - "etag" : "\"1D418A776BB1ECB\"", + "etag" : "\"1D4494198804A35\"", "cache-control" : "no-cache", - "x-ms-request-id" : "5abb5a11-6499-4fdd-87ae-08cb06851a14", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgfa6903003/providers/Microsoft.Web/sites/java-webapp-46679a\",\"name\":\"java-webapp-46679a\",\"type\":\"Microsoft.Web/sites\",\"location\":\"West US\",\"tags\":{},\"properties\":{\"numberOfWorkers\":1,\"defaultDocuments\":[\"Default.htm\",\"Default.html\",\"Default.asp\",\"index.htm\",\"index.html\",\"iisstart.htm\",\"default.aspx\",\"index.php\",\"hostingstart.html\"],\"netFrameworkVersion\":\"v4.0\",\"phpVersion\":\"5.6\",\"pythonVersion\":\"\",\"nodeVersion\":\"\",\"linuxFxVersion\":\"\",\"windowsFxVersion\":null,\"requestTracingEnabled\":false,\"remoteDebuggingEnabled\":false,\"remoteDebuggingVersion\":null,\"httpLoggingEnabled\":false,\"logsDirectorySizeLimit\":35,\"detailedErrorLoggingEnabled\":false,\"publishingUsername\":\"$java-webapp-46679a\",\"publishingPassword\":null,\"appSettings\":null,\"metadata\":null,\"connectionStrings\":null,\"machineKey\":null,\"handlerMappings\":null,\"documentRoot\":null,\"scmType\":\"None\",\"use32BitWorkerProcess\":true,\"webSocketsEnabled\":false,\"alwaysOn\":false,\"javaVersion\":\"1.8\",\"javaContainer\":\"TOMCAT\",\"javaContainerVersion\":\"9.0\",\"appCommandLine\":\"\",\"managedPipelineMode\":\"Integrated\",\"virtualApplications\":[{\"virtualPath\":\"/\",\"physicalPath\":\"site\\\\wwwroot\",\"preloadEnabled\":false,\"virtualDirectories\":null}],\"winAuthAdminState\":0,\"winAuthTenantState\":0,\"customAppPoolIdentityAdminState\":false,\"customAppPoolIdentityTenantState\":false,\"runtimeADUser\":null,\"runtimeADUserPassword\":null,\"loadBalancing\":\"LeastRequests\",\"routingRules\":[],\"experiments\":{\"rampUpRules\":[]},\"limits\":null,\"autoHealEnabled\":false,\"autoHealRules\":null,\"tracingOptions\":null,\"vnetName\":\"\",\"siteAuthEnabled\":false,\"siteAuthSettings\":{\"enabled\":null,\"unauthenticatedClientAction\":null,\"tokenStoreEnabled\":null,\"allowedExternalRedirectUrls\":null,\"defaultProvider\":null,\"clientId\":null,\"clientSecret\":null,\"issuer\":null,\"allowedAudiences\":null,\"additionalLoginParams\":null,\"isAadAutoProvisioned\":false,\"googleClientId\":null,\"googleClientSecret\":null,\"googleOAuthScopes\":null,\"facebookAppId\":null,\"facebookAppSecret\":null,\"facebookOAuthScopes\":null,\"twitterConsumerKey\":null,\"twitterConsumerSecret\":null,\"microsoftAccountClientId\":null,\"microsoftAccountClientSecret\":null,\"microsoftAccountOAuthScopes\":null},\"cors\":null,\"push\":null,\"apiDefinition\":null,\"autoSwapSlotName\":null,\"localMySqlEnabled\":false,\"managedServiceIdentityId\":null,\"xManagedServiceIdentityId\":null,\"ipSecurityRestrictions\":null,\"http20Enabled\":false,\"minTlsVersion\":\"1.2\",\"ftpsState\":\"AllAllowed\"}}" + "x-ms-request-id" : "45eda009-995c-43ba-8324-c1dc94650087", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg998186698/providers/Microsoft.Web/sites/JAVAwebapp-5450816901\",\"name\":\"JAVAwebapp-5450816901\",\"type\":\"Microsoft.Web/sites\",\"location\":\"West US\",\"tags\":{},\"properties\":{\"numberOfWorkers\":1,\"defaultDocuments\":[\"Default.htm\",\"Default.html\",\"Default.asp\",\"index.htm\",\"index.html\",\"iisstart.htm\",\"default.aspx\",\"index.php\",\"hostingstart.html\"],\"netFrameworkVersion\":\"v4.0\",\"phpVersion\":\"5.6\",\"pythonVersion\":\"\",\"nodeVersion\":\"\",\"linuxFxVersion\":\"\",\"windowsFxVersion\":null,\"requestTracingEnabled\":false,\"remoteDebuggingEnabled\":false,\"remoteDebuggingVersion\":null,\"httpLoggingEnabled\":false,\"logsDirectorySizeLimit\":35,\"detailedErrorLoggingEnabled\":false,\"publishingUsername\":\"$JAVAwebapp-5450816901\",\"publishingPassword\":null,\"appSettings\":null,\"azureStorageAccounts\":{},\"metadata\":null,\"connectionStrings\":null,\"machineKey\":null,\"handlerMappings\":null,\"documentRoot\":null,\"scmType\":\"None\",\"use32BitWorkerProcess\":true,\"webSocketsEnabled\":false,\"alwaysOn\":false,\"javaVersion\":\"1.8\",\"javaContainer\":\"TOMCAT\",\"javaContainerVersion\":\"9.0\",\"appCommandLine\":\"\",\"managedPipelineMode\":\"Integrated\",\"virtualApplications\":[{\"virtualPath\":\"/\",\"physicalPath\":\"site\\\\wwwroot\",\"preloadEnabled\":false,\"virtualDirectories\":null}],\"winAuthAdminState\":0,\"winAuthTenantState\":0,\"customAppPoolIdentityAdminState\":false,\"customAppPoolIdentityTenantState\":false,\"runtimeADUser\":null,\"runtimeADUserPassword\":null,\"loadBalancing\":\"LeastRequests\",\"routingRules\":[],\"experiments\":{\"rampUpRules\":[]},\"limits\":null,\"autoHealEnabled\":false,\"autoHealRules\":null,\"tracingOptions\":null,\"vnetName\":\"\",\"siteAuthEnabled\":false,\"siteAuthSettings\":{\"enabled\":null,\"unauthenticatedClientAction\":null,\"tokenStoreEnabled\":null,\"allowedExternalRedirectUrls\":null,\"defaultProvider\":null,\"clientId\":null,\"clientSecret\":null,\"issuer\":null,\"allowedAudiences\":null,\"additionalLoginParams\":null,\"isAadAutoProvisioned\":false,\"googleClientId\":null,\"googleClientSecret\":null,\"googleOAuthScopes\":null,\"facebookAppId\":null,\"facebookAppSecret\":null,\"facebookOAuthScopes\":null,\"twitterConsumerKey\":null,\"twitterConsumerSecret\":null,\"microsoftAccountClientId\":null,\"microsoftAccountClientSecret\":null,\"microsoftAccountOAuthScopes\":null},\"cors\":null,\"push\":null,\"apiDefinition\":null,\"autoSwapSlotName\":null,\"localMySqlEnabled\":false,\"managedServiceIdentityId\":null,\"xManagedServiceIdentityId\":null,\"ipSecurityRestrictions\":null,\"http20Enabled\":false,\"minTlsVersion\":\"1.2\",\"ftpsState\":\"AllAllowed\",\"reservedInstanceCount\":0}}" } }, { "Method" : "POST", - "Uri" : "https://java-webapp-46679a.scm.azurewebsites.net/api/wardeploy", + "Uri" : "https://javawebapp-5450816901.scm.azurewebsites.net/api/wardeploy", "Headers" : { "User-Agent" : "AutoRest-Java", "Content-Type" : "application/octet-stream" }, "Response" : { - "date" : "Tue, 10 Jul 2018 23:41:17 GMT", + "date" : "Mon, 10 Sep 2018 20:05:34 GMT", "content-length" : "0", "server" : "Microsoft-IIS/10.0", - "set-cookie" : "ARRAffinity=7a3302e22ec6aad6462e849e90003e6a0ce59d8c306dcdf32ae12e274249f833;Path=/;HttpOnly;Domain=java-webapp-46679a.scm.azurewebsites.net", + "set-cookie" : "ARRAffinity=1f12d711688ba3ae0dc7b67cc386a4adcb4ff64f93d5b17aab5b76cb5589c107;Path=/;HttpOnly;Domain=javawebapp-5450816901.scm.azurewebsites.net", "expires" : "-1", "x-aspnet-version" : "4.0.30319", "x-powered-by" : "ASP.NET", "retry-after" : "0", "cache-control" : "no-cache", "StatusCode" : "200", - "x-ms-request-id" : "6ab976ac-c414-4bd4-8239-38b837f40514", + "x-ms-request-id" : "0fb0af7a-6fda-4358-9b66-d46fe39e0525", "pragma" : "no-cache" } } ], - "variables" : [ "java-webapp-46679a", "javacsmrgfa6903003", "11184da7-f0e0-4a96-ac21-b5335ee93032", "cae90507-2f5c-4dc9-a88d-45094c66d04d", "java-webapp-46679aplan95b293388", "1965b59a-c608-4c6b-a691-65d051901355", "603e5a33-b4e5-4a5b-a996-b5aaa0c7e492", "61fcc393-fd27-4b89-99a9-1a83fa2aed73", "8ec8de0b-2c1e-48d7-a267-3dccfea2304d", "22b20bcc-f286-47ec-8880-74c2ce18a42d", "453dea6f-adeb-4792-b7b2-f39c7941700c", "7b47a790-a0e9-4e78-ab9c-1f9c60e14287" ] + "variables" : [ "webapp-5450816901", "javacsmrg998186698", "ff0dd663-e605-47d9-88a5-737237feba42", "985ef35d-44ad-4dcd-affd-f91e5dbbdef7", "javawebapp-5450816901plan47838c", "1eb25d0b-fff7-4469-a55b-27e9ba13efa7", "9fed3870-1900-4f22-b9f0-67cc9bd7be69", "56f245f5-37d2-4758-8ea7-79e369f58370", "a3ae4ffb-7f4a-4ed4-b654-64313a11b5fe", "423f9cfb-5460-4e79-a937-72135e77e9a3", "e3642258-1638-4cd4-bda9-5635cd5cbcb9", "6a239e8b-67c4-46a0-868c-f7d82099da47" ] } \ No newline at end of file