Repository navigation
docs: add a page on using the Cloud Registry - #106
Merged
Merged
Conversation
Closes #105 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Reviewer's GuideAdds a comprehensive operator guide for using the Cloud Registry, covering lookup, registration, synchronization, verification, labels, notifications, and maintenance while linking generic registry documentation; integrates it into operator cross-references and navigation. Sequence diagram for registering and synchronizing a Cloud Registry servicesequenceDiagram
actor Operator
participant UI as Cloud Registry UI
participant Registry as Cloud Registry
participant Service as Service Info Endpoint
Operator->>UI: Importing service info
UI->>Registry: POST /services/import
Registry->>Service: GET /service-info
Service-->>Registry: Service metadata
Registry-->>UI: Imported values
Operator->>UI: POST /services
UI->>Registry: POST /services
Operator->>UI: PUT /services/<id>/sync
UI->>Registry: PUT /services/<id>/sync
Registry->>Service: GET /service-info
Service-->>Registry: Updated metadata
Registry-->>UI: synced entry
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Documentation build overview
|
uniqueg
marked this pull request as ready for review
November 5, 2026 03:54
Contributor
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="docs/operators/using-cloud-registry.md" line_range="57" />
<code_context>
+
+```bash
+curl -X POST "https://elixir-on.cloud/ga4gh/registry/v1/services/import" \
+ -H "Authorization: Bearer <token>" -H "Content-Type: application/json" \
+ -d '{"serviceInfoUrl": "https://tes.example.org/ga4gh/tes/v1/service-info"}'
+```
</code_context>
<issue_to_address>
**Copied tokens leak from shell**
When an operator replaces `<token>` with a real access token, `curl` receives the substituted bearer token as a command-line argument, and the shell saves the command in history, exposing a credential that can make authenticated registry requests to local users or process-list readers.
Show the token being read silently and pass the Authorization header to curl via standard input, as in the existing operator guide.
</issue_to_address>
### Comment 2
<location path="docs/operators/using-cloud-registry.md" line_range="53" />
<code_context>
+drift from what the service says.
+
+For example, with the API, and an access token of the front end (see [Copying
+the access token][cr-ui-copy-token]):
+
+```bash
</code_context>
<issue_to_address>
**Production API example lacks a token path**
When an operator follows the API example against the documented production deployment, the linked token-copy workflow is unavailable in the deployed release UI, so operators cannot obtain the bearer token as instructed and the import example is unusable against production.
Provide a token-acquisition method supported by the production UI, or replace the API example with instructions that work for the deployed UI.
</issue_to_address>Linked issues
#105 Add a page on using the Cloud Registry · 7 of 7 met
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | Add a “Using the Cloud Registry” page beside the registry-admin page, linking the generic Cloud Registry docs. | ✅ Met | The new page distinguishes registry users from admins and links to the generic Cloud Registry documentation. |
| 2 | Recommend importing from the service info endpoint and strongly recommend making the endpoint public. | ✅ Met | Both policies are stated in the “Registering a service” section. |
| 3 | State that a service without publicly readable service info is never verified here. | ✅ Met | This is stated in the “Verified services” section. |
| 4 | Explain what verified means, that verified and synced does not mean trusted, and that cautious clients filter for both. | ✅ Met | The page explains verification, warns that verified and synced does not mean trusted, and says cautious clients use services with both labels. |
| 5 | Describe the none, synced and out-of-sync label states, and what each out-of-sync reason means and what to do. |
✅ Met | The labels table and out-of-sync reasons table provide the states, meanings and actions. |
| 6 | Document the notifications bell and mark it as coming with 1.0.0-rc2. | ✅ Met | The Notifications section describes the bell and includes a “Coming with 1.0.0-rc2” notice. |
| 7 | Add the page to navigation and link it from related pages. | ✅ Met | It is added to mkdocs.yml and linked from the operators’ index, the registry-admin page and Onboarding. |
Sourcery assessment
Approval pending. 2 findings to address first.
Blocking findings: docs/operators/using-cloud-registry.md:57, docs/operators/using-cloud-registry.md:53
The front end's release images can't copy tokens, and a token on the command line can leak. Name the calls and how scripts get access. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the page "Using the Cloud Registry" for registry users (operators looking up, registering and maintaining services), beside the deployers' page
docs/operators/cloud-registry.md. It states the ELIXIR On-Cloud policies and links the generic Cloud Registry docs for the rest. Adds it to the navigation, and links it from the operators' index, the deployers' page and Onboarding.Closes #105
Light lane: docs only, so no reviewer subagents; I reviewed the diff myself.
Notes
latestRead the Docs version, as the v1.0.0rc1 docs don't have them.Verification
python scripts/check_names.py: passedmkdocs build --strict: passedpytest: 25 passed, 100% coveragelatestdocsCI passedgreen on the PROpen questions
None.
🤖 Generated with Claude Code