Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Add CORS setup #39

@wtrocki

Description

@wtrocki

It seems that docker image provided is not working. Some issues we saw when gw is containerized.

  • Cors are not enabled, so impossible to hook in OVP queries into it.

  • I need to change the network interface to 0.0.0.0 instead of localhost, to get me to work expose the 8080 and use GraphiQL IDE it from my browser.

  • Somehow I cannot proxy requests deployed. This happens also in my machine locally as I am seeing these warning messages when starting gw:
    docker run -it --rm -p 4000:8080 quay.io/graphql/ovp-gateway
    2020/10/13 15:34:18 loaded previously stored schema: upstreams/gateway.graphql
    2020/10/13 15:34:18 loaded previously stored schema: upstreams/serverless1.graphql
    2020/10/13 15:34:18 The upstream does not have any query entry points
    2020/10/13 15:34:18 The upstream does not have any query entry points
    2020/10/13 15:34:18 The upstream does not have any mutation entry points
    2020/10/13 15:34:18 The upstream does not have any subscription entry points
    2020/10/13 15:34:18 GraphQL endpoint is running at http://[::]:8080/graphql
    2020/10/13 15:34:18 Gateway GraphQL IDE is running at http://[::]:8080/graphiql

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions