-
Notifications
You must be signed in to change notification settings - Fork 81
feat(metadata): provide db version #845
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
Conversation
7fe6635
to
fd5deda
Compare
fd5deda
to
21030aa
Compare
json={"connectionInfo": connection_info}, | ||
) | ||
assert response.status_code == 200 | ||
assert response.text is not None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to assert the version text? or is it not a static value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use the head
tag. It is not a static version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Thanks
json={"connectionInfo": connection_info}, | ||
) | ||
assert response.status_code == 200 | ||
assert response.text is not None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the issue for clickhouse.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use the latest
tag. It is not a static version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @grieve54706 -- It makes sense to me. 👍
Add new API
/v2/connector/{data_source}/metadata/version
to provide the DB version.The request body follows other metadata APIs.