Skip to content
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

NAS-130979 / 25.04 / Support legacy API #14405

Merged
merged 1 commit into from
Sep 10, 2024
Merged

NAS-130979 / 25.04 / Support legacy API #14405

merged 1 commit into from
Sep 10, 2024

Conversation

themylogin
Copy link
Contributor

@themylogin themylogin commented Sep 3, 2024

Continue implementing NEP 046 (Versioned API).

This code adds /api/vXX.XX.X endpoints for all API versions we have and provides data conversion routines between those versions.

There are no integration tests because we don't yet have two different API versions. The code is extensively covered by unit-tests. The integration testing was performed by adding a fake 24.10.0 API and ensuring everything works smoothly. Fake API code is not present in this PR.

@themylogin themylogin added the jira label Sep 3, 2024
@themylogin themylogin requested a review from a team September 3, 2024 15:51
@bugclerk
Copy link
Contributor

bugclerk commented Sep 3, 2024

@bugclerk bugclerk changed the title Support legacy API NAS-130979 / 25.04 / Support legacy API Sep 3, 2024
@themylogin themylogin requested a review from yocalebo September 3, 2024 15:58
@truenas truenas deleted a comment from bugclerk Sep 3, 2024
Copy link
Contributor

@yocalebo yocalebo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really cool, please wait for @anodos325 review before merge.

@themylogin themylogin merged commit ea7184a into master Sep 10, 2024
3 checks passed
@themylogin themylogin deleted the legacy-api branch September 10, 2024 09:07
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Sep 10, 2024
@themylogin
Copy link
Contributor Author

time 40:00

@bugclerk
Copy link
Contributor

Time tracking added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants