-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Labels
enhancementNew feature or request that adds new things or value to HiveNew feature or request that adds new things or value to Hiveneeds-customer
Description
Today we always only serve the latest schema version artifacts from the CDN from the following URL:
https://cdn.graphql-hive.com/artifacts/v1/<target-id>/supergraph
https://cdn.graphql-hive.com/artifacts/v1/<target-id>/sdl
https://cdn.graphql-hive.com/artifacts/v1/<target-id>/services
We can introduce tagging to give more control over which schema version is served to a specific router/gateway instance
A tag would be applied via the Hive CLI (and/or an API call and/or Dashboard UI).
The state of the tag would then be stored on our end in the database, so we can show which tag is the latest schema version and also quickly retrieve the schema version for a specific tag.
On the CDN side, the artifacts would then be accessible via the a URL similar to this:
https://cdn.graphql-hive.com/artifacts/v1/<target-id>/tags/<tag>/supergraph
https://cdn.graphql-hive.com/artifacts/v1/<target-id>/tags/<tag>/sdl
https://cdn.graphql-hive.com/artifacts/v1/<target-id>/tags/<tag>/services
Related issues:
noghartt
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request that adds new things or value to HiveNew feature or request that adds new things or value to Hiveneeds-customer