Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh appservice test #10911

Merged
merged 11 commits into from
Apr 20, 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
33 changes: 19 additions & 14 deletions doc/dev/mgmt/coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
| azure-mgmt-appconfiguration | 30.00 |
| azure-mgmt-applicationinsights | - |
| azure-mgmt-appplatform | - |
| azure-mgmt-attestation | M |
| azure-mgmt-attestation | 100.00 |
| azure-mgmt-authorization | M |
| azure-mgmt-automation | 98.72 |
| azure-mgmt-azurestack | - |
Expand All @@ -22,7 +22,7 @@
| azure-mgmt-blueprint | - (S) |
| azure-mgmt-botservice | M |
| azure-mgmt-cdn | 100.00 |
| azure-mgmt-cognitiveservices | - |
| azure-mgmt-cognitiveservices | 87.00 |
| azure-mgmt-commerce | M |
| azure-mgmt-compute | 48.28 |
| azure-mgmt-consumption | M |
Expand All @@ -32,6 +32,7 @@
| azure-mgmt-core | M |
| azure-mgmt-cosmosdb | M |
| azure-mgmt-costmanagement | - |
| azure-mgmt-customerlockbox | - (S) |
| azure-mgmt-customproviders | - |
| azure-mgmt-databox | 100.00 |
| azure-mgmt-databoxedge | 100.00 |
Expand All @@ -46,6 +47,7 @@
| azure-mgmt-devops | - (S) |
| azure-mgmt-devspaces | - |
| azure-mgmt-devtestlabs | M |
| azure-mgmt-digitaltwins | - (S) |
| azure-mgmt-dns | M |
| azure-mgmt-documentdb | M |
| azure-mgmt-edgegateway | - |
Expand All @@ -58,11 +60,12 @@
| azure-mgmt-healthcareapis | 100.00 |
| azure-mgmt-hybridcompute | M |
| azure-mgmt-hybriddatamanager | - (S) |
| azure-mgmt-hybridkubernetes | - (S) |
| azure-mgmt-imagebuilder | 90.00 |
| azure-mgmt-iotcentral | M |
| azure-mgmt-iothub | M |
| azure-mgmt-iothubprovisioningservices | - |
| azure-mgmt-keyvault | M |
| azure-mgmt-keyvault | 100.00 |
| azure-mgmt-kubernetesconfiguration | - |
| azure-mgmt-kusto | 100.00 |
| azure-mgmt-labservices | - |
Expand All @@ -88,6 +91,7 @@
| azure-mgmt-operationsmanagement | - |
| azure-mgmt-peering | 47.00 |
| azure-mgmt-policyinsights | - |
| azure-mgmt-portal | - (S) |
| azure-mgmt-powerbidedicated | - |
| azure-mgmt-powerbiembedded | - |
| azure-mgmt-privatedns | - |
Expand Down Expand Up @@ -123,15 +127,13 @@
| azure-mgmt-trafficmanager | M |
| azure-mgmt-vmwarecloudsimple | - |
| azure-mgmt-vmwarevirtustream | - (S) |
| azure-mgmt-web | M |
| azure-mgmt-web | 1.00 |
| azure-mgmt-windowsiot | - (S) |
| azure-mgmt-workloadmonitor | - (S) |
| azureactivedirectory | - (S) |
| azuredata | - (S) |
| customer-insights | - (R) |
| customerlockbox | - (S) |
| datacatalog | - (R) |
| digitaltwins | - (S) |
| domainservices | - (R) |
| dynamicstelemetry | - (R) |
| guestconfiguration | - (R) |
Expand All @@ -143,7 +145,6 @@
| marketplace | - (R) |
| migrate | - (R) |
| migrateprojects | - (R) |
| portal | - (S) |
| recoveryservicessiterecovery | - (R) |
| resourcehealth | - (R) |
| service-map | - (R) |
Expand All @@ -154,17 +155,21 @@
| visualstudio | - (R) |
| windowsesu | - (S) |
| | |
| **TOTAL RPS** | **149** |
| **TOTAL RPS** | **150** |
| **TOTAL PACKAGES** | **109** |
| **MANUAL** | **53** |
| **MANUAL %** | **48.62** |
| **AUTO** | **18** |
| **AUTO %** | **16.51** |
| **NONE** | **40** |
| **NONE %** | **36.70** |
| **MANUAL** | **50** |
| **MANUAL %** | **45.87** |
| **AUTO** | **22** |
| **AUTO %** | **20.18** |
| **NONE** | **39** |
| **NONE %** | **35.78** |

"nn.nn" - coverage (%) of automatic test from swagger

"-" - no test coverage

"M" - manual only test coverage

"- (S)" - no package generated

"- (R)" - no Python readme settings, no package generated
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
interactions:
- request:
body: '{"kind": "app", "location": "westus2", "sku": {"name": "P1", "tier": "Premium",
"size": "P1", "family": "P", "capacity": 1}}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '124'
Content-Type:
- application/json; charset=utf-8
User-Agent:
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
msrest_azure/0.6.2 azure-mgmt-web/0.42.0 Azure-SDK-For-Python
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_web_test_web90230a94/providers/Microsoft.Web/serverfarms/myappxyza?api-version=2018-02-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_web_test_web90230a94/providers/Microsoft.Web/serverfarms/myappxyza","name":"myappxyza","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
US 2","properties":{"serverFarmId":9497,"name":"myappxyza","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"test_cli_mgmt_web_test_web90230a94-WestUS2webspace","subscription":"00000000-0000-0000-0000-000000000000","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":20,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
US 2","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"test_cli_mgmt_web_test_web90230a94","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-mwh-045_9497","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"P1","tier":"Premium","size":"P1","family":"P","capacity":1}}'
headers:
cache-control:
- no-cache
content-length:
- '1362'
content-type:
- application/json
date:
- Sun, 19 Apr 2020 07:49:52 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- Microsoft-IIS/10.0
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-aspnet-version:
- 4.0.30319
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
x-powered-by:
- ASP.NET
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
msrest_azure/0.6.2 azure-mgmt-web/0.42.0 Azure-SDK-For-Python
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_web_test_web90230a94/providers/Microsoft.Web/serverfarms/myappxyza?api-version=2018-02-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_web_test_web90230a94/providers/Microsoft.Web/serverfarms/myappxyza","name":"myappxyza","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
US 2","properties":{"serverFarmId":9497,"name":"myappxyza","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"test_cli_mgmt_web_test_web90230a94-WestUS2webspace","subscription":"00000000-0000-0000-0000-000000000000","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":20,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
US 2","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"test_cli_mgmt_web_test_web90230a94","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-mwh-045_9497","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"P1","tier":"Premium","size":"P1","family":"P","capacity":1}}'
headers:
cache-control:
- no-cache
content-length:
- '1362'
content-type:
- application/json
date:
- Sun, 19 Apr 2020 07:49:55 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- Microsoft-IIS/10.0
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-aspnet-version:
- 4.0.30319
x-content-type-options:
- nosniff
x-powered-by:
- ASP.NET
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
msrest_azure/0.6.2 azure-mgmt-web/0.42.0 Azure-SDK-For-Python
accept-language:
- en-US
method: DELETE
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_web_test_web90230a94/providers/Microsoft.Web/serverfarms/myappxyza?api-version=2018-02-01
response:
body:
string: ''
headers:
cache-control:
- no-cache
content-length:
- '0'
date:
- Sun, 19 Apr 2020 07:50:00 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- Microsoft-IIS/10.0
strict-transport-security:
- max-age=31536000; includeSubDomains
x-aspnet-version:
- 4.0.30319
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14999'
x-powered-by:
- ASP.NET
status:
code: 200
message: OK
version: 1

This file was deleted.

Loading