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

Let migrate-acls command run as collection #2655

Conversation

JCZuurmond
Copy link
Member

Changes

Let migrate-acls command to run as collection

Linked issues

Resolves #2611

Functionality

  • modified existing command: databricks labs ucx migrate-acls

Tests

@JCZuurmond JCZuurmond added feat/account-level cross-workspace installations feat/cli CLI commands migrate/access-control Access Control to things labels Sep 17, 2024
@JCZuurmond JCZuurmond self-assigned this Sep 17, 2024
@JCZuurmond JCZuurmond requested review from a team and ericvergnaud September 17, 2024 11:55
Copy link

github-actions bot commented Sep 17, 2024

✅ 2/2 passed, 13s total

Running from acceptance #5910

@JCZuurmond JCZuurmond changed the title Let migrate-acls command to run as collection Let migrate-acls command run as collection Sep 17, 2024
Copy link
Collaborator

@nfx nfx left a comment

Choose a reason for hiding this comment

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

lgtm

ericvergnaud and others added 7 commits September 18, 2024 15:13
## Changes
Adds support for extracting DirectFileSystemAccess records from
workspace queries

### Linked issues
Resolves #2350

### Functionality
- [x] added a new table `directfs_in_queries`
- [x] added a new view `directfs` unioning `directfs_in_paths` with the
above

### Tests
- [x] added unit tests
- [x] manually tested schema upgrade:

![Screenshot 2024-09-13 at 16 17
22](https://github.com/user-attachments/assets/52b19491-66f4-480b-b843-185dc73a6893)


Integration with ExperimentalWorkflowLinter will be done in a separate
PR

---------

Co-authored-by: Eric Vergnaud <eric.vergnaud@databricks.com>
Co-authored-by: Serge Smertin <259697+nfx@users.noreply.github.com>
Co-authored-by: Andrew Snare <asnare@users.noreply.github.com>
## Changes
Let `validate-groups-membership` command to run as collection

### Linked issues

Resolves #2613 

### Functionality

- [x] modified existing command: `databricks labs ucx
validate-groups-membership`

### Tests

- [x] manually tested
- [x] added unit tests
- [ ] ~added integration tests~ : Covering after #2507
## Changes
Let `migrate-dbsql-dashboards` command to run as collection

### Linked issues

Resolves #2612

### Functionality

- [x] modified existing command: `databricks labs ucx
migrate-dbsql-dashboards`

### Tests

- [x] manually tested
- [x] added unit tests
- [ ] ~added integration tests~ : Covering after #2507
## Changes
Let `migrate-tables` command to run as collection

### Linked issues

Resolves #2610 

### Functionality

- [x] modified existing command: `databricks labs ucx migrate-tables`

### Tests

- [x] manually tested
- [x] added unit tests
- [ ] ~added integration tests~ : Covering after #2507
## Changes
Let `validate-external-locations` command to run as collection

### Linked issues

Resolves #2608

### Functionality

- [x] modified existing command: `databricks labs ucx migrate-locations`

### Tests

- [x] manually tested
- [x] added unit tests
- [ ] ~added integration tests~ : Covering after #2507
## Changes
Our code implements 'replace' methods on some dataclasses with no
benefit over the builtin method.
This PR fixes that.

### Linked issues
None

### Functionality
None

### Tests
- [x] ran unit tests

---------

Co-authored-by: Eric Vergnaud <eric.vergnaud@databricks.com>
## Changes
LocalCodeLinter is unable to normalize python code at notebook cell
level
This PR fixes the issue

### Linked issues
None

### Functionality
None

### Tests
- [x] manually tested running `make solacc` on files that fail in CI

---------

Co-authored-by: Eric Vergnaud <eric.vergnaud@databricks.com>
@JCZuurmond JCZuurmond added the pr/do-not-merge this pull request is not ready to merge label Sep 18, 2024
@JCZuurmond
Copy link
Member Author

I messed something up with the commit history, will fix

@JCZuurmond
Copy link
Member Author

Preference goes to: #2664

@JCZuurmond JCZuurmond closed this Sep 18, 2024
@JCZuurmond JCZuurmond deleted the feat/let-migrate-acls-command-run-on-collection-of-workspaces branch September 20, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/account-level cross-workspace installations feat/cli CLI commands migrate/access-control Access Control to things pr/do-not-merge this pull request is not ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Let migrate-acls command run as collection
3 participants