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

Fix the GetConfig of azure_app_service_web_app_slot table to correctly return data instead of an empty row #654

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

misraved
Copy link
Contributor

@misraved misraved commented Aug 17, 2023

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
select name,app_name, resource_group, site_config_resource from azure_app_service_web_app_slot where name = 'slot-1' and app_name = 'web-app-test-mr' and resource_group = 'demo'
[
 {
  "app_name": "web-app-test-mr",
  "name": "slot-1",
  "resource_group": "demo",
  "site_config_resource": {
   "alwaysOn": false,
   "appCommandLine": "",
   "autoHealEnabled": false,
   "defaultDocuments": [
    "Default.htm",
    "Default.html",
    "Default.asp",
    "index.htm",
    "index.html",
    "iisstart.htm",
    "default.aspx",
    "index.php",
    "hostingstart.html"
   ],
   "detailedErrorLoggingEnabled": false,
   "experiments": {
    "rampUpRules": []
   },
   "ftpsState": "FtpsOnly",
   "http20Enabled": false,
   "httpLoggingEnabled": false,
   "ipSecurityRestrictions": [
    {
     "action": "Allow",
     "description": "Allow all access",
     "ipAddress": "Any",
     "name": "Allow all",
     "priority": 2147483647
    }
   ],
   "linuxFxVersion": "NODE|18-lts",
   "loadBalancing": "LeastRequests",
   "localMySqlEnabled": false,
   "logsDirectorySizeLimit": 35,
   "managedPipelineMode": "Integrated",
   "minTlsVersion": "1.2",
   "netFrameworkVersion": "v4.0",
   "nodeVersion": "",
   "numberOfWorkers": 1,
   "phpVersion": "",
   "powerShellVersion": "",
   "preWarmedInstanceCount": 0,
   "publishingUsername": "$web-app-test-mr__slot-1",
   "pythonVersion": "",
   "remoteDebuggingEnabled": false,
   "remoteDebuggingVersion": "VS2019",
   "requestTracingEnabled": false,
   "scmIpSecurityRestrictions": [
    {
     "action": "Allow",
     "description": "Allow all access",
     "ipAddress": "Any",
     "name": "Allow all",
     "priority": 2147483647
    }
   ],
   "scmIpSecurityRestrictionsUseMain": false,
   "scmMinTlsVersion": "1.2",
   "scmType": "None",
   "use32BitWorkerProcess": true,
   "virtualApplications": [
    {
     "physicalPath": "site\\wwwroot",
     "preloadEnabled": false,
     "virtualPath": "/"
    }
   ],
   "vnetName": "",
   "vnetPrivatePortsCount": 0,
   "vnetRouteAllEnabled": false,
   "webSocketsEnabled": false
  }
 }
]

@misraved misraved self-assigned this Aug 17, 2023
@misraved misraved merged commit 79bf698 into main Aug 17, 2023
@misraved misraved deleted the fix-azure0web-app-slot-get-config branch August 17, 2023 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants