[gateway@0.14.0] Schema doesn't roll forward in managed mode.
See original GitHub issuePackage Version
@apollo/gateway 0.14.0
apollo-server 2.12.0
Previous Working Package Version
@apollo/gateway 0.13.2
apollo-server 2.11.0
Actual Behaviour Boot Message
Error checking for changes to service definitions: When `serviceList` is not set, an Apollo Engine configuration must be provided. See https://www.apollographql.com/docs/apollo-server/federation/managed-federation/ for more information.
Push Service Update (command)
The gateway for the 'nl-web-graph@staging' graph was NOT updated with a new schema
Push Service Update (gateway)
(no log message)
Expected Behaviour Boot Message
Sat Apr 11 2020 22:16:55 GMT+0000 (Coordinated Universal Time) apollo-gateway: Gateway successfully loaded schema.
* Mode: managed
* Service: nl-web-graph@production
Push Service Update (command)
The gateway for the 'nl-web-graph@production' graph was updated with a new schema, composed from the updated 'nl-api' service
Push Service Update (gateway)
Sat Apr 11 2020 22:16:55 GMT+0000 (Coordinated Universal Time) apollo-gateway: Gateway config has changed, updating schema
Setup
const apolloServer = new ApolloServer({
gateway,
subscriptions: false,
engine: {
apiKey: config.get('engine.apiKey'),
schemaTag: config.get('appEnv'),
},
})
const gateway = new ApolloGateway({
buildService({ name, url }) {
switch (name) {
case config.get('services.first.name'):
return new SomeApiDataSource({ url })
case config.get('services.second.name'):
return new AnotherApiDataSource({ url })
}
},
)
Note that I have ENGINE_API_KEY
ENV set and I also pass it to the server initializer.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Kong Gateway Changelog
Fixed an issue where Kong Gateway was unable to start in free Enterprise mode while using vaults. Updated the response body for the...
Read more >Installing MapR Data Access Gateway
In the MapR Installer, the gateway is not visible as a unique service but is installed when the MapR DataBase service is selected...
Read more >Changelog
With this feature, ChirpStack Network Server will send all downlink opportunities (e.g. ... In case non of the gateways are within the configured...
Read more >Untitled
#biographie Boszkowo noclegi nad jeziorem, Elo can t get it out of my head ... Istat 2014 gennaio, Still alive portal rock cover,...
Read more >Unity-Powershell.psm1 0.14.0
Write-Verbose "Import file in debug mode: $($import.fullname)" ... Write-Warning -Message "You are no longer connected to EMC Unity array: $($this.Server)"
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rtymchyk I’ve got a reproduction of this now, working on identifying the issue and putting together a fix.
@trevor-scheer so there are no composition errors, this was basically a service push that is no-op since the graph did not change. I think I’m just reading too much into that message, will check this out again on deploy with actual graph changes and see. Thanks for your response and help with everything.