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-133606 / 25.04 / convert cert/csr profiles to new api #15411

Merged
merged 7 commits into from
Jan 17, 2025
Merged

Conversation

yocalebo
Copy link
Contributor

This one is interesting, it's a static set of information that isn't changing but we return it in public methods. I've moved it over to our new api_method scheme.

It's a bit verbose, however, we now get programmatic api generation for each field (instead of copying a docstring that someone may, or may not read) and it's now "protected" between each version of truenas.

@yocalebo yocalebo requested a review from a team January 16, 2025 19:19
@bugclerk bugclerk changed the title convert cert/csr profiles to new api NAS-133606 / 25.04 / convert cert/csr profiles to new api Jan 16, 2025
@bugclerk
Copy link
Contributor

@yocalebo yocalebo requested a review from themylogin January 16, 2025 19:21
@truenas truenas deleted a comment from bugclerk Jan 16, 2025
Copy link
Contributor

@themylogin themylogin left a comment

Choose a reason for hiding this comment

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

LGTM!

@yocalebo yocalebo merged commit 2855c85 into master Jan 17, 2025
2 checks passed
@yocalebo yocalebo deleted the crypto-api2 branch January 17, 2025 13:24
@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 Jan 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants