1
1
-- -
2
2
source : apollo - router / src / configuration / tests .rs
3
3
expression : " &schema"
4
+ snapshot_kind : text
4
5
-- -
5
6
{
6
7
" $schema" : " http://json-schema.org/draft-07/schema#" ,
@@ -1342,8 +1343,8 @@ expression: "&schema"
1342
1343
" description" : " Telemetry configuration" ,
1343
1344
" properties" : {
1344
1345
" apollo" : {
1345
- " $ref" : " #/definitions/Config14 " ,
1346
- " description" : " #/definitions/Config14 "
1346
+ " $ref" : " #/definitions/Config12 " ,
1347
+ " description" : " #/definitions/Config12 "
1347
1348
},
1348
1349
" exporters" : {
1349
1350
" $ref" : " #/definitions/Exporters" ,
@@ -1406,26 +1407,6 @@ expression: "&schema"
1406
1407
" type" : " object"
1407
1408
},
1408
1409
" Config11" : {
1409
- " additionalProperties" : false ,
1410
- " description" : " Configuration for exposing errors that originate from subgraphs" ,
1411
- " properties" : {
1412
- " all" : {
1413
- " $ref" : " #/definitions/ErrorMode" ,
1414
- " description" : " #/definitions/ErrorMode"
1415
- },
1416
- " subgraphs" : {
1417
- " additionalProperties" : {
1418
- " $ref" : " #/definitions/SubgraphConfig2" ,
1419
- " description" : " #/definitions/SubgraphConfig2"
1420
- },
1421
- " default" : {},
1422
- " description" : " Overrides global configuration on a per-subgraph basis" ,
1423
- " type" : " object"
1424
- }
1425
- },
1426
- " type" : " object"
1427
- },
1428
- " Config12" : {
1429
1410
" additionalProperties" : false ,
1430
1411
" description" : " Configuration for entity caching" ,
1431
1412
" properties" : {
@@ -1458,11 +1439,11 @@ expression: "&schema"
1458
1439
],
1459
1440
" type" : " object"
1460
1441
},
1461
- " Config13 " : {
1442
+ " Config11 " : {
1462
1443
" description" : " Configuration for the progressive override plugin" ,
1463
1444
" type" : " object"
1464
1445
},
1465
- " Config14 " : {
1446
+ " Config12 " : {
1466
1447
" additionalProperties" : false ,
1467
1448
" properties" : {
1468
1449
" batch_processor" : {
@@ -1538,7 +1519,7 @@ expression: "&schema"
1538
1519
},
1539
1520
" type" : " object"
1540
1521
},
1541
- " Config15 " : {
1522
+ " Config13 " : {
1542
1523
" additionalProperties" : false ,
1543
1524
" properties" : {
1544
1525
" batch_processor" : {
@@ -1577,7 +1558,7 @@ expression: "&schema"
1577
1558
],
1578
1559
" type" : " object"
1579
1560
},
1580
- " Config16 " : {
1561
+ " Config14 " : {
1581
1562
" additionalProperties" : false ,
1582
1563
" description" : " Prometheus configuration" ,
1583
1564
" properties" : {
@@ -1602,7 +1583,7 @@ expression: "&schema"
1602
1583
},
1603
1584
" type" : " object"
1604
1585
},
1605
- " Config17 " : {
1586
+ " Config15 " : {
1606
1587
" additionalProperties" : false ,
1607
1588
" properties" : {
1608
1589
" batch_processor" : {
@@ -1623,7 +1604,7 @@ expression: "&schema"
1623
1604
],
1624
1605
" type" : " object"
1625
1606
},
1626
- " Config18 " : {
1607
+ " Config16 " : {
1627
1608
" additionalProperties" : false ,
1628
1609
" properties" : {
1629
1610
" batch_processor" : {
@@ -1682,7 +1663,7 @@ expression: "&schema"
1682
1663
],
1683
1664
" type" : " object"
1684
1665
},
1685
- " Config19 " : {
1666
+ " Config17 " : {
1686
1667
" additionalProperties" : false ,
1687
1668
" description" : " Configuration for the experimental traffic shaping plugin" ,
1688
1669
" properties" : {
@@ -1868,9 +1849,6 @@ expression: "&schema"
1868
1849
" type" : " object"
1869
1850
},
1870
1851
" Config8" : {
1871
- " type" : " object"
1872
- },
1873
- " Config9" : {
1874
1852
" additionalProperties" : false ,
1875
1853
" description" : " Configuration for entity caching" ,
1876
1854
" properties" : {
@@ -1903,6 +1881,26 @@ expression: "&schema"
1903
1881
],
1904
1882
" type" : " object"
1905
1883
},
1884
+ " Config9" : {
1885
+ " additionalProperties" : false ,
1886
+ " description" : " Configuration for exposing errors that originate from subgraphs" ,
1887
+ " properties" : {
1888
+ " all" : {
1889
+ " $ref" : " #/definitions/ErrorMode" ,
1890
+ " description" : " #/definitions/ErrorMode"
1891
+ },
1892
+ " subgraphs" : {
1893
+ " additionalProperties" : {
1894
+ " $ref" : " #/definitions/SubgraphConfig" ,
1895
+ " description" : " #/definitions/SubgraphConfig"
1896
+ },
1897
+ " default" : {},
1898
+ " description" : " Overrides global configuration on a per-subgraph basis" ,
1899
+ " type" : " object"
1900
+ }
1901
+ },
1902
+ " type" : " object"
1903
+ },
1906
1904
" ConnectorAttributes" : {
1907
1905
" additionalProperties" : false ,
1908
1906
" properties" : {
@@ -4500,12 +4498,12 @@ expression: "&schema"
4500
4498
" description" : " #/definitions/MetricsCommon"
4501
4499
},
4502
4500
" otlp" : {
4503
- " $ref" : " #/definitions/Config15 " ,
4504
- " description" : " #/definitions/Config15 "
4501
+ " $ref" : " #/definitions/Config13 " ,
4502
+ " description" : " #/definitions/Config13 "
4505
4503
},
4506
4504
" prometheus" : {
4507
- " $ref" : " #/definitions/Config16 " ,
4508
- " description" : " #/definitions/Config16 "
4505
+ " $ref" : " #/definitions/Config14 " ,
4506
+ " description" : " #/definitions/Config14 "
4509
4507
}
4510
4508
},
4511
4509
" type" : " object"
@@ -8208,24 +8206,24 @@ expression: "&schema"
8208
8206
" description" : " #/definitions/TracingCommon"
8209
8207
},
8210
8208
" datadog" : {
8211
- " $ref" : " #/definitions/Config18 " ,
8212
- " description" : " #/definitions/Config18 "
8209
+ " $ref" : " #/definitions/Config16 " ,
8210
+ " description" : " #/definitions/Config16 "
8213
8211
},
8214
8212
" experimental_response_trace_id" : {
8215
8213
" $ref" : " #/definitions/ExposeTraceId" ,
8216
8214
" description" : " #/definitions/ExposeTraceId"
8217
8215
},
8218
8216
" otlp" : {
8219
- " $ref" : " #/definitions/Config15 " ,
8220
- " description" : " #/definitions/Config15 "
8217
+ " $ref" : " #/definitions/Config13 " ,
8218
+ " description" : " #/definitions/Config13 "
8221
8219
},
8222
8220
" propagation" : {
8223
8221
" $ref" : " #/definitions/Propagation" ,
8224
8222
" description" : " #/definitions/Propagation"
8225
8223
},
8226
8224
" zipkin" : {
8227
- " $ref" : " #/definitions/Config17 " ,
8228
- " description" : " #/definitions/Config17 "
8225
+ " $ref" : " #/definitions/Config15 " ,
8226
+ " description" : " #/definitions/Config15 "
8229
8227
}
8230
8228
},
8231
8229
" type" : " object"
@@ -9367,10 +9365,6 @@ expression: "&schema"
9367
9365
" $ref" : " #/definitions/ConnectorsConfig" ,
9368
9366
" description" : " #/definitions/ConnectorsConfig"
9369
9367
},
9370
- " content_negotiation" : {
9371
- " $ref" : " #/definitions/Config7" ,
9372
- " description" : " #/definitions/Config7"
9373
- },
9374
9368
" coprocessor" : {
9375
9369
" $ref" : " #/definitions/Conf4" ,
9376
9370
" description" : " #/definitions/Conf4"
@@ -9388,8 +9382,8 @@ expression: "&schema"
9388
9382
" description" : " #/definitions/DemandControlConfig"
9389
9383
},
9390
9384
" enhanced_client_awareness" : {
9391
- " $ref" : " #/definitions/Config8 " ,
9392
- " description" : " #/definitions/Config8 "
9385
+ " $ref" : " #/definitions/Config7 " ,
9386
+ " description" : " #/definitions/Config7 "
9393
9387
},
9394
9388
" experimental_chaos" : {
9395
9389
" $ref" : " #/definitions/Chaos" ,
@@ -9409,8 +9403,8 @@ expression: "&schema"
9409
9403
" description" : " #/definitions/ForbidMutationsConfig"
9410
9404
},
9411
9405
" headers" : {
9412
- " $ref" : " #/definitions/Config10 " ,
9413
- " description" : " #/definitions/Config10 "
9406
+ " $ref" : " #/definitions/Config8 " ,
9407
+ " description" : " #/definitions/Config8 "
9414
9408
},
9415
9409
" health_check" : {
9416
9410
" $ref" : " #/definitions/Config" ,
@@ -9421,8 +9415,8 @@ expression: "&schema"
9421
9415
" description" : " #/definitions/Homepage"
9422
9416
},
9423
9417
" include_subgraph_errors" : {
9424
- " $ref" : " #/definitions/Config11 " ,
9425
- " description" : " #/definitions/Config11 "
9418
+ " $ref" : " #/definitions/Config9 " ,
9419
+ " description" : " #/definitions/Config9 "
9426
9420
},
9427
9421
" license_enforcement" : {
9428
9422
" $ref" : " #/definitions/LicenseEnforcementConfig" ,
@@ -9445,16 +9439,16 @@ expression: "&schema"
9445
9439
" description" : " #/definitions/Plugins"
9446
9440
},
9447
9441
" preview_entity_cache" : {
9448
- " $ref" : " #/definitions/Config12 " ,
9449
- " description" : " #/definitions/Config12 "
9442
+ " $ref" : " #/definitions/Config10 " ,
9443
+ " description" : " #/definitions/Config10 "
9450
9444
},
9451
9445
" preview_file_uploads" : {
9452
9446
" $ref" : " #/definitions/FileUploadsConfig" ,
9453
9447
" description" : " #/definitions/FileUploadsConfig"
9454
9448
},
9455
9449
" progressive_override" : {
9456
- " $ref" : " #/definitions/Config13 " ,
9457
- " description" : " #/definitions/Config13 "
9450
+ " $ref" : " #/definitions/Config11 " ,
9451
+ " description" : " #/definitions/Config11 "
9458
9452
},
9459
9453
" rhai" : {
9460
9454
" $ref" : " #/definitions/Conf7" ,
@@ -9485,8 +9479,8 @@ expression: "&schema"
9485
9479
" description" : " #/definitions/Tls"
9486
9480
},
9487
9481
" traffic_shaping" : {
9488
- " $ref" : " #/definitions/Config19 " ,
9489
- " description" : " #/definitions/Config19 "
9482
+ " $ref" : " #/definitions/Config17 " ,
9483
+ " description" : " #/definitions/Config17 "
9490
9484
}
9491
9485
},
9492
9486
" title" : " Configuration" ,
0 commit comments