Skip to content

Commit 24cd691

Browse files
m-pizarrohjaraujof
authored andcommitted
feat(services): Rename appGateway tables to fix postgres errors
1 parent b8c6082 commit 24cd691

8 files changed

Lines changed: 1201 additions & 395 deletions

File tree

src/enums/schemasMap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414
[services.adServicePrincipal]: 'azureADServicePrincipal',
1515
[services.adUser]: 'azureADUser',
1616
[services.aksManagedCluster]: 'azureAksManagedCluster',
17-
[services.applicationGateway]: 'azureApplicationGateway',
17+
[services.appGateway]: 'azureAppGateway',
1818
[services.appServiceEnvironment]: 'azureAppServiceEnvironment',
1919
// [services.appServiceKubeEnvironment]: 'azureAppServiceKubeEnvironment',
2020
[services.appInsights]: 'azureAppInsights',

src/enums/serviceAliases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
[services.actionGroup]: 'actionGroups',
55
[services.activityLogAlerts]: 'activityLogAlerts',
66
[services.aksManagedCluster]: 'aksManagedClusters',
7-
[services.applicationGateway]: 'applicationGateways',
7+
[services.appGateway]: 'appGateways',
88
[services.appServiceEnvironment]: 'appServiceEnvironments',
99
[services.appInsights]: 'appInsights',
1010
[services.appServicePlan]: 'appServicePlans',

src/enums/serviceMap.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ import AzureBackupPolicy from '../services/backupPolicies'
8888
import AzureBilling from '../services/billing'
8989
import AzureLogProfiles from '../services/logProfiles'
9090
import Subscription from '../services/subscription'
91+
import AzureApplicationGateway from '../services/applicationGateway'
9192

9293
/**
9394
* serviceMap is an object that contains all currently supported services for AWS
@@ -104,6 +105,7 @@ export default {
104105
[services.adServicePrincipal]: AzureADServicePrincipal,
105106
[services.adUser]: AzureADUser,
106107
[services.aksManagedCluster]: AzureAksManagedCluster,
108+
[services.appGateway]: AzureApplicationGateway,
107109
[services.metricAlert]: AzureMetricAlert,
108110
[services.applicationGateway]: AzureApplicationGateway,
109111
[services.appServiceEnvironment]: AzureAppServiceEnvironment,

src/enums/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
adServicePrincipal: 'adServicePrincipal',
99
adUser: 'adUser',
1010
aksManagedCluster: 'aksManagedCluster',
11-
applicationGateway: 'applicationGateway',
11+
appGateway: 'appGateway',
1212
appServiceEnvironment: 'appServiceEnvironment',
1313
// appServiceKubeEnvironment: 'appServiceKubeEnvironment',
1414
appInsights: 'appInsights',

src/services/applicationGateway/format.ts

Lines changed: 104 additions & 104 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export default `mutation($input: [AddazureApplicationGatewayInput!]!) {
2-
addazureApplicationGateway(input: $input, upsert: true) {
1+
export default `mutation($input: [AddazureAppGatewayInput!]!) {
2+
addazureAppGateway(input: $input, upsert: true) {
33
numUids
44
}
55
}`;

0 commit comments

Comments
 (0)