Skip to content

Create Version info endpoint to the REST API #1142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
famarting opened this issue Jan 14, 2021 · 2 comments
Closed

Create Version info endpoint to the REST API #1142

famarting opened this issue Jan 14, 2021 · 2 comments
Assignees
Labels
type/enhancement New feature or request

Comments

@famarting
Copy link
Contributor

Provide an API like /api/admin/version or whatever other path... that returns the version of the registry.
Then this endpoint should be used in the rest-client to determine if the client support the server...

Later on when we start introducing breaking changes to our REST API we may want to make our API versioned , i.e /api/v2/artifacts, but still the version endpoint would be useful for clients to determine what APIs the client can use

@famarting famarting added the type/enhancement New feature or request label Jan 14, 2021
@famarting
Copy link
Contributor Author

All this "smart client" features will be useful when we start to provide an official quarkus extension and we are forced to follow the quarkus release cadence... Imagine a quarkus app with a version X of the client and we ship a new version of the registry of version Y , our registry Y have to be compatible with client X, at least during the period of time the quarkus version cannot be updated with the newer version of the client.... We must ensure the client X can talk to registry Y.
so it will be nice if we ensure our rest-client is resilient and old versions of the client can talk to newer versions of the registry.

@EricWittmann
Copy link
Member

Fixed in #1316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants