-
Notifications
You must be signed in to change notification settings - Fork 0
/
cosmo-router.json
1 lines (1 loc) · 17.4 KB
/
cosmo-router.json
1
{"engineConfig":{"defaultFlushInterval":"500","datasourceConfigurations":[{"kind":"GRAPHQL","rootNodes":[{"typeName":"Query","fieldNames":["c"]},{"typeName":"C","fieldNames":["id","fieldFromC","a"]},{"typeName":"A","fieldNames":["id"]},{"typeName":"A1","fieldNames":["id"]},{"typeName":"A2","fieldNames":["id"]}],"overrideFieldPathFromAlias":true,"customGraphql":{"fetch":{"url":{"staticVariableContent":"http://localhost:4099/c/graphql"},"method":"POST","body":{},"baseUrl":{},"path":{}},"subscription":{"enabled":true,"url":{"staticVariableContent":"http://localhost:4099/c/graphql"},"protocol":"GRAPHQL_SUBSCRIPTION_PROTOCOL_WS","websocketSubprotocol":"GRAPHQL_WEBSOCKET_SUBPROTOCOL_AUTO"},"federation":{"enabled":true,"serviceSdl":"schema\n @link(url: \"https://specs.apollo.dev/link/v1.0\")\n{\n query: Query\n}\n\nextend schema\n @link(url: \"https://specs.apollo.dev/federation/v2.3\", import: [\"@key\", \"@tag\", \"@shareable\", \"@inaccessible\", \"@override\", \"@external\", \"@provides\", \"@requires\", \"@composeDirective\", \"@interfaceObject\"])\n\ndirective @link(url: String, as: String, for: link__Purpose, import: [link__Import]) repeatable on SCHEMA\n\ndirective @key(fields: federation__FieldSet!, resolvable: Boolean = true) repeatable on OBJECT | INTERFACE\n\ndirective @requires(fields: federation__FieldSet!) on FIELD_DEFINITION\n\ndirective @provides(fields: federation__FieldSet!) on FIELD_DEFINITION\n\ndirective @external(reason: String) on OBJECT | FIELD_DEFINITION\n\ndirective @tag(name: String!) repeatable on FIELD_DEFINITION | OBJECT | INTERFACE | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION | SCHEMA\n\ndirective @federation__extends on OBJECT | INTERFACE\n\ndirective @shareable repeatable on OBJECT | FIELD_DEFINITION\n\ndirective @inaccessible on FIELD_DEFINITION | OBJECT | INTERFACE | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION\n\ndirective @override(from: String!) on FIELD_DEFINITION\n\ndirective @composeDirective(name: String) repeatable on SCHEMA\n\ndirective @interfaceObject on OBJECT\n\ntype Query {\n c: C\n _entities(representations: [_Any!]!): [_Entity]!\n _service: _Service!\n}\n\ntype C\n @key(fields: \"id\")\n{\n id: ID!\n fieldFromC: String\n a: A\n}\n\ntype A\n @key(fields: \"id\")\n @interfaceObject\n{\n id: ID!\n}\n\nenum link__Purpose {\n \"\"\"\n `SECURITY` features provide metadata necessary to securely resolve fields.\n \"\"\"\n SECURITY\n\n \"\"\"\n `EXECUTION` features provide metadata necessary for operation execution.\n \"\"\"\n EXECUTION\n}\n\nscalar link__Import\n\nscalar federation__FieldSet\n\nscalar _Any\n\ntype _Service {\n sdl: String\n}\n\nunion _Entity = A | C"},"upstreamSchema":{"key":"02d7fdb8bd792a8c7e410bc9af51eaaefe9d3355"}},"requestTimeoutSeconds":"10","id":"0","keys":[{"typeName":"C","selectionSet":"id"},{"typeName":"A","selectionSet":"id"},{"typeName":"A1","selectionSet":"id"},{"typeName":"A2","selectionSet":"id"}],"interfaceObjects":[{"interfaceTypeName":"A","concreteTypeNames":["A1","A2"]}]},{"kind":"GRAPHQL","rootNodes":[{"typeName":"Query","fieldNames":["b"]},{"typeName":"B","fieldNames":["id","fieldFromB"]},{"typeName":"A1","fieldNames":["id","fieldFromB"]}],"overrideFieldPathFromAlias":true,"customGraphql":{"fetch":{"url":{"staticVariableContent":"http://localhost:4099/b/graphql"},"method":"POST","body":{},"baseUrl":{},"path":{}},"subscription":{"enabled":true,"url":{"staticVariableContent":"http://localhost:4099/b/graphql"},"protocol":"GRAPHQL_SUBSCRIPTION_PROTOCOL_WS","websocketSubprotocol":"GRAPHQL_WEBSOCKET_SUBPROTOCOL_AUTO"},"federation":{"enabled":true,"serviceSdl":"schema\n @link(url: \"https://specs.apollo.dev/link/v1.0\")\n{\n query: Query\n}\n\nextend schema\n @link(url: \"https://specs.apollo.dev/federation/v2.3\", import: [\"@key\", \"@shareable\", \"@requires\", \"@external\", \"@interfaceObject\"])\n\ndirective @link(url: String, as: String, for: link__Purpose, import: [link__Import]) repeatable on SCHEMA\n\ndirective @key(fields: federation__FieldSet!, resolvable: Boolean = true) repeatable on OBJECT | INTERFACE\n\ndirective @requires(fields: federation__FieldSet!) on FIELD_DEFINITION\n\ndirective @federation__provides(fields: federation__FieldSet!) on FIELD_DEFINITION\n\ndirective @external(reason: String) on OBJECT | FIELD_DEFINITION\n\ndirective @federation__tag(name: String!) repeatable on FIELD_DEFINITION | OBJECT | INTERFACE | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION | SCHEMA\n\ndirective @federation__extends on OBJECT | INTERFACE\n\ndirective @shareable repeatable on OBJECT | FIELD_DEFINITION\n\ndirective @federation__inaccessible on FIELD_DEFINITION | OBJECT | INTERFACE | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION\n\ndirective @federation__override(from: String!) on FIELD_DEFINITION\n\ndirective @federation__composeDirective(name: String) repeatable on SCHEMA\n\ndirective @interfaceObject on OBJECT\n\ntype Query {\n b: B\n _entities(representations: [_Any!]!): [_Entity]!\n _service: _Service!\n}\n\ntype B\n @key(fields: \"id\")\n{\n id: ID!\n fieldFromB: String\n}\n\nextend type A1\n @key(fields: \"id\")\n{\n id: ID!\n fieldFromB: String\n}\n\nenum link__Purpose {\n \"\"\"\n `SECURITY` features provide metadata necessary to securely resolve fields.\n \"\"\"\n SECURITY\n\n \"\"\"\n `EXECUTION` features provide metadata necessary for operation execution.\n \"\"\"\n EXECUTION\n}\n\nscalar link__Import\n\nscalar federation__FieldSet\n\nscalar _Any\n\ntype _Service {\n sdl: String\n}\n\nunion _Entity = A1 | B"},"upstreamSchema":{"key":"387d9870a2712e9e45414956706aac9b6254e120"}},"requestTimeoutSeconds":"10","id":"1","keys":[{"typeName":"B","selectionSet":"id"},{"typeName":"A1","selectionSet":"id"}]},{"kind":"GRAPHQL","rootNodes":[{"typeName":"Query","fieldNames":["a"]},{"typeName":"A","fieldNames":["id","fieldFromA"]},{"typeName":"A1","fieldNames":["id","fieldFromA","fieldFromA1"]},{"typeName":"A2","fieldNames":["id","fieldFromA","fieldFromA2"]}],"overrideFieldPathFromAlias":true,"customGraphql":{"fetch":{"url":{"staticVariableContent":"http://localhost:4099/a/graphql"},"method":"POST","body":{},"baseUrl":{},"path":{}},"subscription":{"enabled":true,"url":{"staticVariableContent":"http://localhost:4099/a/graphql"},"protocol":"GRAPHQL_SUBSCRIPTION_PROTOCOL_WS","websocketSubprotocol":"GRAPHQL_WEBSOCKET_SUBPROTOCOL_AUTO"},"federation":{"enabled":true,"serviceSdl":"schema\n @link(url: \"https://specs.apollo.dev/link/v1.0\")\n{\n query: Query\n}\n\nextend schema\n @link(url: \"https://specs.apollo.dev/federation/v2.3\", import: [\"@key\", \"@tag\", \"@shareable\", \"@inaccessible\", \"@override\", \"@external\", \"@provides\", \"@requires\", \"@interfaceObject\"])\n\ndirective @link(url: String, as: String, for: link__Purpose, import: [link__Import]) repeatable on SCHEMA\n\ndirective @key(fields: federation__FieldSet!, resolvable: Boolean = true) repeatable on OBJECT | INTERFACE\n\ndirective @requires(fields: federation__FieldSet!) on FIELD_DEFINITION\n\ndirective @provides(fields: federation__FieldSet!) on FIELD_DEFINITION\n\ndirective @external(reason: String) on OBJECT | FIELD_DEFINITION\n\ndirective @tag(name: String!) repeatable on FIELD_DEFINITION | OBJECT | INTERFACE | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION | SCHEMA\n\ndirective @federation__extends on OBJECT | INTERFACE\n\ndirective @shareable repeatable on OBJECT | FIELD_DEFINITION\n\ndirective @inaccessible on FIELD_DEFINITION | OBJECT | INTERFACE | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION\n\ndirective @override(from: String!) on FIELD_DEFINITION\n\ndirective @federation__composeDirective(name: String) repeatable on SCHEMA\n\ndirective @interfaceObject on OBJECT\n\ntype Query {\n a: A\n _entities(representations: [_Any!]!): [_Entity]!\n _service: _Service!\n}\n\ninterface A\n @key(fields: \"id\")\n{\n id: ID!\n fieldFromA: String\n}\n\ntype A1 implements A\n @key(fields: \"id\")\n{\n id: ID!\n fieldFromA: String\n fieldFromA1: String\n}\n\ntype A2 implements A\n @key(fields: \"id\")\n{\n id: ID!\n fieldFromA: String\n fieldFromA2: String\n}\n\nenum link__Purpose {\n \"\"\"\n `SECURITY` features provide metadata necessary to securely resolve fields.\n \"\"\"\n SECURITY\n\n \"\"\"\n `EXECUTION` features provide metadata necessary for operation execution.\n \"\"\"\n EXECUTION\n}\n\nscalar link__Import\n\nscalar federation__FieldSet\n\nscalar _Any\n\ntype _Service {\n sdl: String\n}\n\nunion _Entity = A1 | A2"},"upstreamSchema":{"key":"3ceb4f8fb19459f5fefa2da4cb9b11036f6f4a29"}},"requestTimeoutSeconds":"10","id":"2","keys":[{"typeName":"A","selectionSet":"id"},{"typeName":"A1","selectionSet":"id"},{"typeName":"A2","selectionSet":"id"}],"entityInterfaces":[{"interfaceTypeName":"A","concreteTypeNames":["A1","A2"]}]}],"graphqlSchema":"schema {\n query: Query\n}\n\ndirective @authenticated on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT | SCALAR\n\ndirective @inaccessible on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION\n\ndirective @requiresScopes(scopes: [[openfed__Scope!]!]!) on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT | SCALAR\n\ndirective @tag(name: String!) repeatable on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION\n\nscalar openfed__Scope\n\ntype Query {\n c: C\n b: B\n a: A\n}\n\ntype C {\n id: ID!\n fieldFromC: String\n a: A\n}\n\ninterface A {\n id: ID!\n fieldFromA: String\n}\n\nenum link__Purpose {\n \"\"\"\n `SECURITY` features provide metadata necessary to securely resolve fields.\n \"\"\"\n SECURITY\n \"\"\"\n `EXECUTION` features provide metadata necessary for operation execution.\n \"\"\"\n EXECUTION\n}\n\nscalar link__Import\n\nscalar federation__FieldSet\n\ntype B {\n id: ID!\n fieldFromB: String\n}\n\ntype A1 implements A {\n id: ID!\n fieldFromB: String\n fieldFromA: String\n fieldFromA1: String\n}\n\ntype A2 implements A {\n id: ID!\n fieldFromA: String\n fieldFromA2: String\n}","stringStorage":{"02d7fdb8bd792a8c7e410bc9af51eaaefe9d3355":"schema @link(url: \"https://specs.apollo.dev/link/v1.0\") @link(url: \"https://specs.apollo.dev/federation/v2.3\", import: [\"@key\", \"@tag\", \"@shareable\", \"@inaccessible\", \"@override\", \"@external\", \"@provides\", \"@requires\", \"@composeDirective\", \"@interfaceObject\"]) {\n query: Query\n}\n\ndirective @authenticated on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT | SCALAR\n\ndirective @composeDirective(name: String!) repeatable on SCHEMA\n\ndirective @extends on INTERFACE | OBJECT\n\ndirective @external on FIELD_DEFINITION | OBJECT\n\ndirective @federation__extends on INTERFACE | OBJECT\n\ndirective @inaccessible on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION\n\ndirective @interfaceObject on OBJECT\n\ndirective @key(fields: openfed__FieldSet!, resolvable: Boolean = true) repeatable on INTERFACE | OBJECT\n\ndirective @link(as: String, for: String, import: [String], url: String!) repeatable on SCHEMA\n\ndirective @override(from: String!) on FIELD_DEFINITION\n\ndirective @provides(fields: openfed__FieldSet!) on FIELD_DEFINITION\n\ndirective @requires(fields: openfed__FieldSet!) on FIELD_DEFINITION\n\ndirective @requiresScopes(scopes: [[openfed__Scope!]!]!) on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT | SCALAR\n\ndirective @shareable on FIELD_DEFINITION | OBJECT\n\ndirective @tag(name: String!) repeatable on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION\n\ntype A @key(fields: \"id\") @interfaceObject {\n id: ID!\n}\n\ntype C @key(fields: \"id\") {\n a: A\n fieldFromC: String\n id: ID!\n}\n\ntype Query {\n c: C\n}\n\nscalar federation__FieldSet\n\nscalar link__Import\n\nenum link__Purpose {\n \"\"\"\n `EXECUTION` features provide metadata necessary for operation execution.\n \"\"\"\n EXECUTION\n \"\"\"\n `SECURITY` features provide metadata necessary to securely resolve fields.\n \"\"\"\n SECURITY\n}\n\nscalar openfed__FieldSet\n\nscalar openfed__Scope","387d9870a2712e9e45414956706aac9b6254e120":"schema @link(url: \"https://specs.apollo.dev/link/v1.0\") @link(url: \"https://specs.apollo.dev/federation/v2.3\", import: [\"@key\", \"@shareable\", \"@requires\", \"@external\", \"@interfaceObject\"]) {\n query: Query\n}\n\ndirective @authenticated on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT | SCALAR\n\ndirective @composeDirective(name: String!) repeatable on SCHEMA\n\ndirective @extends on INTERFACE | OBJECT\n\ndirective @external on FIELD_DEFINITION | OBJECT\n\ndirective @federation__composeDirective(name: String) repeatable on SCHEMA\n\ndirective @federation__extends on INTERFACE | OBJECT\n\ndirective @federation__inaccessible on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION\n\ndirective @federation__override(from: String!) on FIELD_DEFINITION\n\ndirective @federation__provides(fields: federation__FieldSet!) on FIELD_DEFINITION\n\ndirective @federation__tag(name: String!) repeatable on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | SCHEMA | UNION\n\ndirective @inaccessible on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION\n\ndirective @interfaceObject on OBJECT\n\ndirective @key(fields: openfed__FieldSet!, resolvable: Boolean = true) repeatable on INTERFACE | OBJECT\n\ndirective @link(as: String, for: String, import: [String], url: String!) repeatable on SCHEMA\n\ndirective @override(from: String!) on FIELD_DEFINITION\n\ndirective @provides(fields: openfed__FieldSet!) on FIELD_DEFINITION\n\ndirective @requires(fields: openfed__FieldSet!) on FIELD_DEFINITION\n\ndirective @requiresScopes(scopes: [[openfed__Scope!]!]!) on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT | SCALAR\n\ndirective @shareable on FIELD_DEFINITION | OBJECT\n\ndirective @tag(name: String!) repeatable on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION\n\ntype A1 @key(fields: \"id\") {\n fieldFromB: String\n id: ID!\n}\n\ntype B @key(fields: \"id\") {\n fieldFromB: String\n id: ID!\n}\n\ntype Query {\n b: B\n}\n\nscalar federation__FieldSet\n\nscalar link__Import\n\nenum link__Purpose {\n \"\"\"\n `EXECUTION` features provide metadata necessary for operation execution.\n \"\"\"\n EXECUTION\n \"\"\"\n `SECURITY` features provide metadata necessary to securely resolve fields.\n \"\"\"\n SECURITY\n}\n\nscalar openfed__FieldSet\n\nscalar openfed__Scope","3ceb4f8fb19459f5fefa2da4cb9b11036f6f4a29":"schema @link(url: \"https://specs.apollo.dev/link/v1.0\") @link(url: \"https://specs.apollo.dev/federation/v2.3\", import: [\"@key\", \"@tag\", \"@shareable\", \"@inaccessible\", \"@override\", \"@external\", \"@provides\", \"@requires\", \"@interfaceObject\"]) {\n query: Query\n}\n\ndirective @authenticated on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT | SCALAR\n\ndirective @composeDirective(name: String!) repeatable on SCHEMA\n\ndirective @extends on INTERFACE | OBJECT\n\ndirective @external on FIELD_DEFINITION | OBJECT\n\ndirective @federation__composeDirective(name: String) repeatable on SCHEMA\n\ndirective @federation__extends on INTERFACE | OBJECT\n\ndirective @inaccessible on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION\n\ndirective @interfaceObject on OBJECT\n\ndirective @key(fields: openfed__FieldSet!, resolvable: Boolean = true) repeatable on INTERFACE | OBJECT\n\ndirective @link(as: String, for: String, import: [String], url: String!) repeatable on SCHEMA\n\ndirective @override(from: String!) on FIELD_DEFINITION\n\ndirective @provides(fields: openfed__FieldSet!) on FIELD_DEFINITION\n\ndirective @requires(fields: openfed__FieldSet!) on FIELD_DEFINITION\n\ndirective @requiresScopes(scopes: [[openfed__Scope!]!]!) on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT | SCALAR\n\ndirective @shareable on FIELD_DEFINITION | OBJECT\n\ndirective @tag(name: String!) repeatable on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION\n\ninterface A @key(fields: \"id\") {\n fieldFromA: String\n id: ID!\n}\n\ntype A1 implements A @key(fields: \"id\") {\n fieldFromA: String\n fieldFromA1: String\n id: ID!\n}\n\ntype A2 implements A @key(fields: \"id\") {\n fieldFromA: String\n fieldFromA2: String\n id: ID!\n}\n\ntype Query {\n a: A\n}\n\nscalar federation__FieldSet\n\nscalar link__Import\n\nenum link__Purpose {\n \"\"\"\n `EXECUTION` features provide metadata necessary for operation execution.\n \"\"\"\n EXECUTION\n \"\"\"\n `SECURITY` features provide metadata necessary to securely resolve fields.\n \"\"\"\n SECURITY\n}\n\nscalar openfed__FieldSet\n\nscalar openfed__Scope"}},"version":"71d26b4b-b046-47d9-a4a3-e700e4f652b4","subgraphs":[{"id":"0","name":"c","routingUrl":"http://localhost:4099/c/graphql"},{"id":"1","name":"b","routingUrl":"http://localhost:4099/b/graphql"},{"id":"2","name":"a","routingUrl":"http://localhost:4099/a/graphql"}]}