Skip to content

feat(gooddata-sdk): [AUTO] add region and data_center fields to CatalogOrganizationAttributes#1461

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

feat(gooddata-sdk): [AUTO] add region and data_center fields to CatalogOrganizationAttributes#1461
yenkins-admin wants to merge 1 commit intomasterfrom
feature/auto-P010-add-deployment-info-to-organization

Conversation

@yenkins-admin
Copy link
Copy Markdown
Contributor

@yenkins-admin yenkins-admin commented Mar 18, 2026

Expose new region and data_center deployment info fields in the CatalogOrganization SDK wrapper to surface the backend's ENABLE_DEPLOYMENT_INFO feature flag additions.

P010 | Workflow: https://github.com/gooddata/gdc-nas/actions/runs/23236985423

What changed in gdc-nas

  • Added two new nullable read-only string fields (region and dataCenter) to the Organization API model, gated by the ENABLE_DEPLOYMENT_INFO feature flag. region maps to gdc.deploymentInfo.clusterName config property; dataCenter maps to gdc.deploymentInfo.region config property.
  • Commit: f0f3783feat(metadata-api): add deployment info to API
  • Related PR: #21385
  • Jira: F1-2059

What was implemented in SDK

  • Added region: str | None = None field to CatalogOrganizationAttributes
  • Added data_center: str | None = None field to CatalogOrganizationAttributes
  • Wired both fields in CatalogOrganization.from_api() to read region and data_center from the API response attributes (already present in the regenerated API client as Optional[StrictStr] with nullable=True)

Files modified

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

JIRA: PENDING (Jira ticket will be created after review)
Risk: Low

…ogOrganizationAttributes

Surfaces the new deploymentInfo fields (region, dataCenter) from the
Organization API response through the SDK wrapper layer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.28%. Comparing base (b65ee3f) to head (6c604f2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1461   +/-   ##
=======================================
  Coverage   77.27%   77.28%           
=======================================
  Files         227      227           
  Lines       14687    14689    +2     
=======================================
+ Hits        11350    11352    +2     
  Misses       3337     3337           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tychtjan
Copy link
Copy Markdown
Contributor

DUPLICATE - CLOSE

@hkad98 hkad98 closed this Mar 18, 2026
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.

3 participants