-
Notifications
You must be signed in to change notification settings - Fork 87
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
[FEATURE]: Identify owners for inventory types that we track the history of #2761
Comments
We need to track owners for the following inventory types:
Where the workspace admin is needed (because a more appropriate owner cannot be determined) the algorithm is as follows:
Footnotes
|
## Changes As part of #2761 we need to have a way for determining the user responsible for some of our inventory types. This PR updates the crawler framework so that: - There is a way to identify an owner of a resource referred to by inventory records. - When the owner cannot be identified, a workspace or account administrator is used instead. ### Linked issues Progresses #2761. ### Functionality - A component for locating an administrator user. - Ownership information for the following inventory types: - [X] `ClusterInfo` - [x] `DirectFsAccess` (stubbed) - [X] `Grant` - [x] `JobInfo` - [x] `PipelineInfo` - [X] `PolicyInfo` - [x] `Table` - [x] `TableMigrationStatus` - [x] `UDF` ### Tests - [x] added unit tests - [x] added integration tests
Is there an existing issue for this?
Problem statement
We will shortly be tracking history for inventory types that are routinely refreshed during migration. The history journal that we maintain will require that for each record an owner is available: the owner is the person (or group) responsible for the underlying resource being migrated. If this is not available, the workspace administrator should be used instead.
Proposed Solution
Each crawler that is responsible for a refreshable class will need to be updated to have code that can identify the owner for its
Result
type.Documentation
Additional Context
Related issues:
ucx.history
table #2572Blocks:
migration-progress
crawled objects in theucx.history
table #2573The text was updated successfully, but these errors were encountered: