Skip to content

Commit

Permalink
fix-e2e-test-for-codegen (Azure#12)
Browse files Browse the repository at this point in the history
* fix-e2e-test-for-codegen

* fix-location error

* fix-sku error

* fix-kusto-e2e-codegen-test
  • Loading branch information
qiaozha authored Dec 25, 2020
1 parent 8203cf0 commit 1cdc143
Show file tree
Hide file tree
Showing 20 changed files with 66 additions and 64 deletions.
1 change: 0 additions & 1 deletion specification/datafactory/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ az:
disable-checks: true
az-output-folder: $(azure-cli-extension-folder)/src/datafactory
python-sdk-output-folder: "$(az-output-folder)/azext_datafactory/vendored_sdks/datafactory"
sdk-flatten: true

input-file:
- Microsoft.DataFactory/stable/2018-06-01/entityTypes/DataFlow.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2020-06-14",
"parameters": {
"location": "westus",
"location": "southcentralus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "kustodatabase",
Expand All @@ -20,7 +20,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"location": "southcentralus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
Expand All @@ -34,7 +34,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"location": "southcentralus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
Expand All @@ -48,7 +48,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"location": "southcentralus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"location": "southcentralus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"databaseName": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"location": "southcentralus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
Expand All @@ -25,7 +25,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9",
"name": "KustoClusterRPTest4/KustoDatabase9",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"location": "southcentralus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"clusterName": "kustoclusterrptest4",
"api-version": "2020-06-14",
"parameters": {
"location": "westus",
"location": "southcentralus",
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
},
Expand All @@ -27,7 +27,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"enableStreamingIngest": true,
Expand All @@ -40,7 +40,7 @@
}
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
},
Expand All @@ -57,7 +57,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"enableStreamingIngest": true,
Expand All @@ -70,7 +70,7 @@
}
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"enableStreamingIngest": true,
Expand All @@ -23,7 +23,7 @@
}
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"keyVaultProperties": {
Expand All @@ -21,7 +21,7 @@
}
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
}
Expand All @@ -30,12 +30,12 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
"name": "KustoClusterRPTest3",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded"
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"keyVaultProperties": {
Expand All @@ -22,7 +22,7 @@
}
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
}
Expand All @@ -31,12 +31,12 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
"name": "KustoClusterRPTest3",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded"
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{
"resourceType": "clusters",
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"tier": "Standard"
},
"capacity": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"clusterName": "kustoclusterrptest4",
"api-version": "2020-06-14",
"parameters": {
"location": "westus"
"location": "southcentralus"
},
"identity": {
"type": "SystemAssigned"
Expand All @@ -26,7 +26,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"enableStreamingIngest": true,
Expand All @@ -38,7 +38,7 @@
}
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
},
Expand All @@ -55,7 +55,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"enableStreamingIngest": true,
Expand All @@ -67,7 +67,7 @@
}
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
},
Expand All @@ -84,14 +84,14 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
"type": "Microsoft.Kusto/Clusters",
"location": "westus",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"enableStreamingIngest": true,
"enablePurge": true
},
"sku": {
"name": "Standard_L8s",
"name": "Standard_D11_v2",
"capacity": 2,
"tier": "Standard"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"api-version": "2020-06-14",
"dataConnectionName": "DataConnections8",
"parameters": {
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand All @@ -21,7 +21,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
"type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand All @@ -34,7 +34,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
"type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand All @@ -47,7 +47,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
"type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
"type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8",
"name": "KustoClusterRPTest4/KustoDatabase8/KustoDataConnection8",
"type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand All @@ -25,7 +25,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9",
"name": "KustoClusterRPTest4/KustoDatabase9/KustoDataConnection9",
"type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"api-version": "2020-06-14",
"dataConnectionName": "DataConnections8",
"parameters": {
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand All @@ -21,7 +21,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
"type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand All @@ -34,7 +34,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
"type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand All @@ -47,7 +47,7 @@
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
"type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
"location": "westus",
"location": "southcentralus",
"kind": "EventHub",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
Expand Down
Loading

0 comments on commit 1cdc143

Please sign in to comment.