-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Implement API and backend for DynamicWindowsDesktop #46987
Conversation
…r-resources-proto
…register-resources-api
…r-resources-proto
…register-resources-api
…register-resources-config
@probakowski - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes. |
…register-resources-config
…register-resources-api
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.
A couple comments, but leaving an approval so as not to block you.
dynamicWindows, err := dynamicwindowsv1.NewService(dynamicwindowsv1.ServiceConfig{ | ||
Authorizer: cfg.Authorizer, | ||
Backend: cfg.AuthServer.Services, | ||
// TODO(probakowski): switch to cache when support is added |
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 this TODO still relevant?
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.
Yes, it will go away in #46989
* Add DynamicWindowsDesktop to proto * Add resource matchers to Windows desktop service config * Implement API and backend for DynamicWindowsDesktop * Fix imports * move rpc to separate server * rework api and grpc more towards 153-style * e * remove dynamic windows from paginated resource * add tests * add tests * Update api/proto/teleport/legacy/types/types.proto Co-authored-by: rosstimothy <[email protected]> * lint * gci * cleanup * cleanup * use generic service * cleanup * cleanup * cleanup * cleanup * cleanup * gci * add admin action checks * move service * add service test * gci * review comments * review comments * review comments * review comments * review comments --------- Co-authored-by: rosstimothy <[email protected]>
This PR implements backend for DynamicWindowsDesktop as well as GRPC calls to manage it.
This is part of splitting #46738 into smaller, easier to review, PRs