-
Notifications
You must be signed in to change notification settings - Fork 43
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
Refactor: Move Properties to pkg as Public API #5402
Refactor: Move Properties to pkg as Public API #5402
Conversation
Properties are leveraged by many pieces of Minder, including providers, and should be considered a public API instead of being in our internal package. The idea is to move properties to `pkg`. However, the underlying service package will remain internal, as it is a minder-server implementation detail. This commit fixes the affected functions to refer to the public API to access properties Signed-off-by: Kugamoorthy Gajananan <[email protected]>
@JAORMX , I locally tested via |
@gajananan you might need to run |
Properties are leveraged by many pieces of Minder, including providers, and should be considered a public API instead of being in our internal package. The idea is to move properties to `pkg`. However, the underlying service package will remain internal, as it is a minder-server implementation detail. This commit includes uncommitted changes found in the previous commit. The was done aftering run 'make gen'. Signed-off-by: Kugamoorthy Gajananan <[email protected]>
Sure, I did that and pushed the code. |
Properties are leveraged by many pieces of Minder, including providers, and should be considered a public API instead of being in our internal package. The idea is to move properties to `pkg`. However, the underlying service package will remain internal, as it is a minder-server implementation detail. This commit includes changes after running 1. `make bootstrap` again to resolve conflicts in the following files - internal/proto/internal.pb.go - pkg/api/protobuf/go/minder/v1/minder.pb.go 2. `make gen` Signed-off-by: Kugamoorthy Gajananan <[email protected]>
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.
Makes sense to me -- properties should be part of the API that's available for downstream consumers.
Summary
Properties are leveraged by many pieces of Minder, including providers, and should be considered a public API instead of being in our internal package. The idea is to move properties to
pkg
.However, the underlying service package will remain internal, as it is a minder-server implementation detail.
This commit fixes the affected functions to refer to the public API to access properties
Ref: #4699
Change Type
Mark the type of change your PR introduces:
Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist: