Skip to content

Document registry server_api_url for the Cloud UI - #1069

Open
samuv wants to merge 4 commits into
mainfrom
update-registry-server-api-url
Open

Document registry server_api_url for the Cloud UI#1069
samuv wants to merge 4 commits into
mainfrom
update-registry-server-api-url

Conversation

@samuv

@samuv samuv commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Description

stacklok-enterprise-platform#2823 split the enterprise config's registry directive into two URLs: api_url stays the ToolHive-client-shaped registry endpoint (scoped to one registry, e.g. https://registry.acme.com/registry/toolhive), and the new server_api_url is the Registry Server API root the Cloud UI resolves against.

Two pages needed updating:

  • enterprise-cloud-ui/configure.mdx — the "Registry API URL resolution" section named api_url as the config-server source for the Cloud UI, which after the split is the one value it deliberately ignores. Updated to server_api_url, with a note explaining the two URL shapes and why pointing the Cloud UI at the client-shaped URL 404s.
  • enterprise-manager/policies/registry.mdx — new "Registry URL for the Cloud UI" variation documenting both fields side by side, plus a warning on the upgrade-ordering rule: the Enterprise Manager rejects unknown configuration fields and refuses to start, so the platform version introducing server_api_url must be deployed before the field is added to config.

npm run build passes (anchors/links verified by the build).

Type of change

  • Documentation update

Related issues/PRs

  • stacklok/stacklok-enterprise-platform#2823 (the field split)
  • stacklok/stacklok-enterprise-platform#2830 (same update to the in-repo install runbook)

Submitter checklist

Content and formatting

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Copilot AI review requested due to automatic review settings July 30, 2026 08:33
@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview Jul 30, 2026 9:06pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates ToolHive Enterprise documentation to reflect the enterprise config split of the registry directive into two URLs, clarifying that the Enterprise Cloud UI uses server_api_url (Registry Server API root) rather than the ToolHive-client-shaped api_url.

Changes:

  • Updated Cloud UI “Registry API URL resolution” to use server_api_url instead of api_url, and added an explanatory note about URL shape and 404s.
  • Added a “Registry URL for the Cloud UI” variation to the Enterprise Manager registry policy docs, documenting api_url vs server_api_url side-by-side.
  • Added an upgrade-ordering warning about Enterprise Manager rejecting unknown config fields.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/platform/enterprise-manager/policies/registry.mdx Adds a Cloud UI-specific variation documenting server_api_url alongside api_url, plus an upgrade warning.
docs/platform/enterprise-cloud-ui/configure.mdx Updates Cloud UI registry URL resolution to use server_api_url and adds a note explaining the two URL shapes and the 404 failure mode.

Comment thread docs/platform/enterprise-manager/policies/registry.mdx Outdated
Comment thread docs/platform/enterprise-manager/policies/registry.mdx Outdated

@danbarr danbarr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There's some over-explanation and unnecessary negation that can be trimmed here, suggestions inline. Also, this should not be merged until this change is actually released.

Comment thread docs/platform/enterprise-cloud-ui/configure.mdx Outdated
Comment thread docs/platform/enterprise-manager/policies/registry.mdx Outdated
Comment thread docs/platform/enterprise-manager/policies/registry.mdx Outdated
Comment thread docs/platform/enterprise-manager/policies/registry.mdx Outdated
@samuv

samuv commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Applied all four suggestions in 614f8cd (note removed, paragraph reworded per your suggestion, fallback-only sentence kept, upgrade warning dropped). Agreed on timing — this stays unmerged until the release carrying server_api_url ships; I'll make sure the upgrade-ordering note lands in that release's notes instead.

@samuv

samuv commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

FYI: This needs to be included after the next enterprise release ⌛

@danbarr danbarr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

#1078 fixed acme.com references to example.com in the existing content in this guide, so the new section should do the same. acme.com is a real registered domain, while example.com is reserved for this purpose.

Comment thread docs/platform/enterprise-manager/policies/registry.mdx Outdated
Comment thread docs/platform/enterprise-manager/policies/registry.mdx Outdated
samuv added 4 commits July 30, 2026 23:04
The enterprise config's registry directive now carries two URLs
(stacklok-enterprise-platform#2823): api_url stays the ToolHive-
client-shaped registry endpoint, and the new server_api_url is the
Registry Server API root the Cloud UI resolves against. The Cloud
UI's "Registry API URL resolution" section previously named api_url
as the config-server source, which is now the one value it ignores.
Also documents the upgrade-ordering rule: the Enterprise Manager
rejects unknown config fields, so deploy the platform version that
introduces the field before setting it.
Acknowledge both api_url shapes (registry root vs per-registry
path on a Stacklok Registry Server) instead of implying one is
typical, and remove the em dash per the style guide.
Drop the Cloud UI note restating the resolution list, take the
suggested rewording of the two-URL paragraph, keep only the
fallback sentence, and remove the upgrade warning (operational
norm, belongs in release notes).
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