Skip to content

Commit

Permalink
chore(deps): update ghcr.io/apollographql/router docker tag to v1.54.0 (
Browse files Browse the repository at this point in the history
#52)

* chore(deps): update ghcr.io/apollographql/router docker tag to v1.54.0

* Update router config schema

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] and github-actions[bot] authored Sep 12, 2024
1 parent e6029e8 commit ad92916
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 45 deletions.
97 changes: 53 additions & 44 deletions .apollo/router_config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"description": "#/definitions/DemandControlConfig",
"$ref": "#/definitions/DemandControlConfig"
},
"experimental_apollo_metrics_generation_mode": {
"description": "#/definitions/ApolloMetricsGenerationMode",
"$ref": "#/definitions/ApolloMetricsGenerationMode"
},
"experimental_chaos": {
"description": "#/definitions/Chaos",
"$ref": "#/definitions/Chaos"
},
"experimental_introspection_mode": {
"description": "#/definitions/IntrospectionMode",
"$ref": "#/definitions/IntrospectionMode"
},
"experimental_query_planner_mode": {
"description": "#/definitions/QueryPlannerMode",
"$ref": "#/definitions/QueryPlannerMode"
Expand Down Expand Up @@ -239,32 +239,6 @@
"all"
]
},
"ApolloMetricsGenerationMode": {
"description": "Apollo usage report signature and referenced field generation modes.",
"oneOf": [
{
"description": "Use the new Rust-based implementation.",
"type": "string",
"enum": [
"new"
]
},
{
"description": "Use the old JavaScript-based implementation.",
"type": "string",
"enum": [
"legacy"
]
},
{
"description": "Use Rust-based and Javascript-based implementations side by side, logging warnings if the implementations disagree.",
"type": "string",
"enum": [
"both"
]
}
]
},
"ApolloMetricsReferenceMode": {
"description": "Apollo usage report reference generation modes.",
"oneOf": [
Expand Down Expand Up @@ -1677,15 +1651,15 @@
"span_metrics": {
"description": "Which spans will be eligible for span stats to be collected for viewing in the APM view. Defaults to true for `request`, `router`, `query_parsing`, `supergraph`, `execution`, `query_planning`, `subgraph`, `subgraph_request` and `http_request`.",
"default": {
"parse_query": true,
"request": true,
"subgraph_request": true,
"subgraph": true,
"supergraph": true,
"query_planning": true,
"router": true,
"http_request": true,
"parse_query": true,
"execution": true,
"supergraph": true,
"subgraph_request": true,
"subgraph": true
"router": true,
"http_request": true
},
"type": "object",
"additionalProperties": {
Expand Down Expand Up @@ -1879,14 +1853,6 @@
"description": "#/definitions/ErrorsConfiguration",
"$ref": "#/definitions/ErrorsConfiguration"
},
"experimental_apollo_metrics_reference_mode": {
"description": "#/definitions/ApolloMetricsReferenceMode",
"$ref": "#/definitions/ApolloMetricsReferenceMode"
},
"experimental_apollo_signature_normalization_algorithm": {
"description": "#/definitions/ApolloSignatureNormalizationAlgorithm",
"$ref": "#/definitions/ApolloSignatureNormalizationAlgorithm"
},
"experimental_local_field_metrics": {
"description": "Enable field metrics that are generated without FTV1 to be sent to Apollo Studio.",
"default": false,
Expand All @@ -1909,13 +1875,21 @@
"description": "#/definitions/SamplerOption",
"$ref": "#/definitions/SamplerOption"
},
"metrics_reference_mode": {
"description": "#/definitions/ApolloMetricsReferenceMode",
"$ref": "#/definitions/ApolloMetricsReferenceMode"
},
"send_headers": {
"description": "#/definitions/ForwardHeaders",
"$ref": "#/definitions/ForwardHeaders"
},
"send_variable_values": {
"description": "#/definitions/ForwardValues",
"$ref": "#/definitions/ForwardValues"
},
"signature_normalization_algorithm": {
"description": "#/definitions/ApolloSignatureNormalizationAlgorithm",
"$ref": "#/definitions/ApolloSignatureNormalizationAlgorithm"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -3707,6 +3681,32 @@
},
"additionalProperties": false
},
"IntrospectionMode": {
"description": "Which implementation of GraphQL schema introspection to use, if enabled",
"oneOf": [
{
"description": "Use the new Rust-based implementation.",
"type": "string",
"enum": [
"new"
]
},
{
"description": "Use the old JavaScript-based implementation.",
"type": "string",
"enum": [
"legacy"
]
},
{
"description": "Use Rust-based and Javascript-based implementations side by side, logging warnings if the implementations disagree.",
"type": "string",
"enum": [
"both"
]
}
]
},
"InvalidationEndpointConfig": {
"type": "object",
"required": [
Expand Down Expand Up @@ -8216,6 +8216,15 @@
"display_trace_id": {
"description": "#/definitions/DisplayTraceIdFormat",
"$ref": "#/definitions/DisplayTraceIdFormat"
},
"span_attributes": {
"description": "List of span attributes to attach to the json log object",
"default": [],
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
}
},
"additionalProperties": false
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/apollographql/router:v1.53.0
FROM ghcr.io/apollographql/router:v1.54.0

COPY router.yaml /config.yaml

Expand Down

0 comments on commit ad92916

Please sign in to comment.