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-132078 / 25.04 / refactor kerberos plugin to use api_method #14808

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anodos325
Copy link
Contributor

This commit performs boiler-plate conversion of kerberos.py to new api_method schema. kerberos.config and kerberos.update are deliberately excluded at this point due to in-progress changes to ConfigService api_method plumbing.

@anodos325 anodos325 added the jira label Oct 29, 2024
@bugclerk
Copy link
Contributor

@bugclerk bugclerk changed the title refactor kerberos plugin to use api_method NAS-132078 / 25.04 / refactor kerberos plugin to use api_method Oct 29, 2024
This commit performs boiler-plate conversion of kerberos.py to
new api_method schema. kerberos.config and kerberos.update are
deliberately excluded at this point due to in-progress changes
to ConfigService api_method plumbing.
@anodos325 anodos325 force-pushed the refactor-kerberos-api-method branch from 14cffa6 to 0331106 Compare October 30, 2024 17:38

class KerberosCcacheOptions(BaseModel):
""" Private API entry defined for normalization purposes """
ccache: Literal[
Copy link
Contributor

Choose a reason for hiding this comment

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

We could consider ccache: krb5ccache = krb5ccache.SYSTEM as long as we handle the enum fields properly in the endpoints.


class KerberosKinitResult(BaseModel):
""" Private API entry defined for normalization purposes """
result: Literal[None]
Copy link
Contributor

Choose a reason for hiding this comment

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

result: None suffices

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

Successfully merging this pull request may close these issues.

3 participants