Skip to content

Conversation

@oleksandrabovkun
Copy link

Initial commit for the GxP validation scripts library.

The project aims to create a unified industry-wide approach to GxP validation of Pharmaceutical platforms built on Databricks.

Main contributors will be Oleksandra Bovkun, Neha Pande, and selected Databricks customers

@oleksandrabovkun oleksandrabovkun requested a review from a team as a code owner July 4, 2025 11:55
@oleksandrabovkun oleksandrabovkun requested a review from fjakobs July 4, 2025 11:55
@github-actions
Copy link

github-actions bot commented Jul 4, 2025

All commits in PR should be signed ('git commit -S ...'). See https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

Comment on lines +199 to +202
list_clusters_url = f"{workspace_url}/api/2.0/clusters/list"
response = requests.get(list_clusters_url, headers=headers)
response.raise_for_status()
clusters = response.json().get("clusters", [])
Copy link
Contributor

Choose a reason for hiding this comment

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

We should use SDK, especially because it's bundled with DBRs

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, 2.0 API for clusters is outdated and won't work if you have a large number of clusters

Copy link
Contributor

Choose a reason for hiding this comment

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


# Check access mode (data_security_mode)
access_mode = cluster_info.get("data_security_mode", "NONE")
access_mode_names = {
Copy link
Contributor

Choose a reason for hiding this comment

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

there are new modes as well, when cluster has kind configured

@oleksandrabovkun
Copy link
Author

Will close this one because we'll move it to the other repo

@oleksandrabovkun oleksandrabovkun deleted the feature/gxp_validation branch July 7, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants