You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
table.text('autogenerated_path_routes')// would be JSON equivalent of what is in lagoon.yml, would override lagoon.yml if defined
60
60
table.boolean('disable_request_verification');// default to null to retain lagoon.yml as the source, would override lagoon.yml if defined
61
61
})
62
+
.alterTable('organization',function(table){
63
+
table.boolean('feature_api_routes'.defaultTo(0));// disable api routes feature by default, future release of lagoon will remove this when routes api becomes generally available
Copy file name to clipboardExpand all lines: services/api/src/typeDefs.js
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -806,6 +806,7 @@ const typeDefs = gql`
806
806
autogeneratedRoutePrefixes: [String]
807
807
autogeneratedPathRoutes: [AutogeneratedPathRoute]
808
808
disableRequestVerification: Boolean
809
+
featureApiRoutes: Boolean @deprecated(reason: "Beta API routes feature flag, will be generally available in a future release and this feature gate will be removed")
809
810
}
810
811
811
812
"""
@@ -1313,6 +1314,7 @@ const typeDefs = gql`
1313
1314
retentionPolicies are the available retention policies to an organization
featureApiRoutes: Boolean @deprecated(reason: "Beta API routes feature flag, will be generally available in a future release and this feature gate will be removed")
1316
1318
}
1317
1319
1318
1320
input AddOrganizationInput {
@@ -1325,6 +1327,10 @@ const typeDefs = gql`
1325
1327
quotaNotification: Int
1326
1328
quotaEnvironment: Int
1327
1329
quotaRoute: Int
1330
+
"""
1331
+
@deprecated(reason: "Beta API routes feature flag, will be generally available in a future release and this feature gate will be removed")
1332
+
"""
1333
+
featureApiRoutes: Boolean
1328
1334
}
1329
1335
1330
1336
input DeleteOrganizationInput {
@@ -1340,6 +1346,10 @@ const typeDefs = gql`
1340
1346
quotaNotification: Int
1341
1347
quotaEnvironment: Int
1342
1348
quotaRoute: Int
1349
+
"""
1350
+
@deprecated(reason: "Beta API routes feature flag, will be generally available in a future release and this feature gate will be removed")
0 commit comments