sandbox:
  enabled: true
supergraph:
  listen: 0.0.0.0:8082
  introspection: true
  path: /graphql
  query_planning:
    cache:
      in_memory:
        limit: 1024
homepage:
  enabled: false
cors:
  match_origins:
    - "^http://localhost:[0-9]+$"
  allow_credentials: true
health_check:
  listen: 0.0.0.0:8082
  enabled: true
headers:
  all:
    request:
      - propagate:
          matching: .*
      - remove:
          matching: ^x-datadog-.*$

# Propagate errors from all subgraphs
include_subgraph_errors:
  all: true

override_subgraph_url:
  graphql-abacus: http://graphql-abacus:8081/graphql
  graphql-account: https://qa-graphql-account.theorchard.io/graphql
  graphql-analytics: https://qa-graphql-analytics.theorchard.io/graphql
  graphql-audience: https://qa-graphql-audience.theorchard.io/graphql
  graphql-content-review: https://qa-graphql-content-review.theorchard.io/graphql
  graphql-collaborator: https://qa-graphql-collaborator.theorchard.io/graphql
  graphql-distribution: https://qa-graphql-distribution.theorchard.io/graphql
  graphql-knowledge: https://qa-graphql-knowledge.theorchard.io/graphql
  graphql-knowledge-search: https://qa-graphql-knowledge-search.theorchard.io/graphql
  graphql-neighbouring-rights: https://qa-graphql-neighbouring-rights.theorchard.io/graphql
  graphql-participant: https://qa-graphql-participant.theorchard.io/graphql
  graphql-podcast: https://qa-graphql-podcast.theorchard.io/graphql
  graphql-product: https://qa-graphql-product.theorchard.io/graphql
  graphql-publishing: https://qa-graphql-publishing.theorchard.io/graphql
  graphql-sr-delivery: https://qa-graphql-sr-delivery.theorchard.io/graphql
  graphql-tax-payment: https://qa-graphql-tax-payment.theorchard.io/graphql
  graphql-user: https://qa-graphql-user.theorchard.io/graphql

plugins:
  experimental.expose_query_plan: true
