Skip to content

feat(gooddata-sdk): [AUTO] Add deployment info fields to Organization model#1333

Open
yenkins-admin wants to merge 1 commit intomasterfrom
feature/auto-P004-add-deployment-info-to-organization
Open

feat(gooddata-sdk): [AUTO] Add deployment info fields to Organization model#1333
yenkins-admin wants to merge 1 commit intomasterfrom
feature/auto-P004-add-deployment-info-to-organization

Conversation

@yenkins-admin
Copy link
Contributor

Added region and data_center fields to CatalogOrganizationAttributes to expose deployment metadata from the API.
Problem ID: P004 | Workflow: https://github.com/gooddata/gdc-nas/actions/runs/22096000751

gdc-nas Changes

The gdc-nas repository added deployment metadata tracking to the Organization model:

  • Commit: feat(metadata-api): add deployment info to API (f0f3783)
  • Added region (cluster name) and dataCenter (region) fields to Organization model
  • Fields are nullable, read-only, controlled by ENABLE_DEPLOYMENT_INFO feature flag
  • Intended for issue investigation and debugging purposes

SDK Implementation

Updated the Python SDK wrapper to expose these new deployment metadata fields:

  • Added region and data_center fields to CatalogOrganizationAttributes dataclass
  • Updated CatalogOrganization.from_api() to extract deployment info from API responses
  • Added unit tests to verify fields are correctly parsed when present and default to None when absent

Files Modified

  • packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/organization.py
  • packages/gooddata-sdk/tests/catalog/test_catalog_organization.py

JIRA: DX-PENDING (Jira API temporarily unavailable)
Risk: Low

… model

Added region and data_center fields to CatalogOrganizationAttributes to expose
deployment metadata that is now available in the API. These read-only fields
are populated server-side when the ENABLE_DEPLOYMENT_INFO feature flag is
enabled and are intended for issue investigation purposes.

Changes:
- Added region and data_center fields to CatalogOrganizationAttributes
- Updated CatalogOrganization.from_api() to extract deployment info fields
- Added unit tests to verify field extraction with and without deployment info

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant