Skip to content

feat(environments): read DevX Core URL from config (DEVX-793) - #190

Merged
jpage-godaddy merged 1 commit into
godaddy:mainfrom
smukherjee-godaddy:DEVX-793-devx-core-url
Aug 18, 2026
Merged

feat(environments): read DevX Core URL from config (DEVX-793)#190
jpage-godaddy merged 1 commit into
godaddy:mainfrom
smukherjee-godaddy:DEVX-793-devx-core-url

Conversation

@smukherjee-godaddy

Copy link
Copy Markdown
Contributor

Summary

  • read devx_core_url from each active environments.toml entry
  • preserve <ENV>_DEVX_CORE_URL and DEVX_CORE_URL as higher-precedence runtime overrides
  • retain built-in DevX Core URLs for prod and ote, and cover file configuration, precedence, and invalid URLs

Example

[dev]
api_url = "https://api.dev-godaddy.com"
client_id = "..."
devx_core_url = "https://api.developer.commerce.dev-godaddy.com"

Validation

  • cargo check
  • cargo clippy -- -D warnings
  • cargo test (552 passed)
  • cargo fmt --check

https://godaddy-corp.atlassian.net/browse/DEVX-793

Comment thread rust/src/environments/mod.rs Outdated
@jpage-godaddy
jpage-godaddy merged commit d772045 into godaddy:main Aug 18, 2026
4 checks passed
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.

2 participants