Repository navigation
docs: rewrite partners and developers section - #80
Conversation
Rewrite the section for people who integrate the ELIXIR On-Cloud deployment or its components with their own solutions: - start page with a numbered path and contribution pointers - new page "Using the APIs": find services, get an LS Login token, send a request - new page "Packages": FOCA, foca-plugins, Cloud Components - GA4GH Standards: versions in the stack vs. current versions, workflow engines with TES, links instead of repeated spec text - Sensitive Data and User Stories: shorter, steps as lists, fixed broken links Gaps that the repositories don't settle are marked "Under construction". Closes #65 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Reviewer's GuideRewrites the Partners and Developers documentation around a practical integration journey, adding API authentication and package guidance, replacing the GA4GH overview with version and workflow references, streamlining sensitive-data and user-story content, correcting links, and updating navigation. Sequence diagram for discovering and calling an On-Cloud APIsequenceDiagram
actor Developer
participant Registry as CloudRegistry
participant Login as LSLogin
participant Service as GA4GHService
Developer->>Registry: GET /ga4gh/registry/v1/services
Registry-->>Developer: Service URL and API type
Developer->>Login: OpenID Connect request
Login-->>Developer: JWT access token
Developer->>Service: API request with Bearer token
Service-->>Developer: API response
Flow diagram for the Partners and Developers integration pathflowchart TD
Start[Start Here]
Standards[Read GA4GH Standards]
APIs[Use the APIs]
Packages[Choose Packages]
Contribute[Contribute]
Start --> Standards
Standards --> APIs
APIs --> Packages
Packages --> Contribute
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Documentation build overview
6 files changed ·
|
There was a problem hiding this comment.
Hey - I've found 10 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="docs/partners-and-developers/apis.md" line_range="76" />
<code_context>
+to list your tasks at a TES service:
+
+```bash
+curl "<API base URL>/tasks" -H "Authorization: Bearer <token>"
+```
+
</code_context>
<issue_to_address>
**Bearer tokens persist in shell history**
When a user substitutes a real token into the shown command in an interactive shell, `curl` receives the token as a literal command-line argument, so an interactive shell saves it in history and exposes it in process listings while the command runs. Anyone who can read either can reuse the bearer token.
Show a pattern that supplies the authorization header through standard input, and warn users not to put tokens directly in command arguments.
</issue_to_address>
### Comment 2
<location path="docs/partners-and-developers/sensitive-data.md" line_range="45-47" />
<code_context>
-* **Confidentiality**: Aims to maintain confidentiality of sensitive information and protect against compromise.
-* **Controlled Access and Authentication**: Authenticates code and data before execution to ensure only trusted and verified code runs.
-* **Collaboration and Analysis**: Provides tools and infrastructure that enable researchers to perform analysis and collaborate within a secure environment. This allows for sharing and combining datasets while maintaining data privacy.
+All three isolate their content from the platform they run on, protect the
+data against compromise, check who may run code and access data, and let
+researchers analyse data and work together without moving the data out.
-## Use Cases
</code_context>
<issue_to_address>
**Security properties appear guaranteed**
When a partner uses the SPE or TRE descriptions to select an environment or design federated processing, the blanket claims that these environments isolate content from their host, protect it against compromise, and keep federated data from leaving imply guarantees that depend on implementation controls. Partners may skip checking isolation and egress controls, exposing sensitive data.
Qualify these properties as dependent on implementation controls and tell partners to verify the relevant isolation and egress protections.
Also at `docs/partners-and-developers/sensitive-data.md:68-69`.
</issue_to_address>
### Comment 3
<location path="docs/partners-and-developers/user-stories.md" line_range="53-54" />
<code_context>
+
+### Service provider: Withdraw access
+
+*As a service provider, I can withdraw access, so that a user can no longer
+use the service.*
+
+Remove the user from the group. See the [instructions for group
</code_context>
<issue_to_address>
**Removed users retain access**
When a provider removes a user from a group while the user has an active token or service session, removing the user does not immediately invalidate cached group information, an existing token, or a relying service's session; cached user info can persist for up to five minutes, and an active session can last until it expires or the service terminates it. The user can continue accessing the service.
Clarify that group removal does not immediately revoke active tokens or sessions, and explain how access is refreshed or terminated.
Also at `docs/partners-and-developers/user-stories.md:56-58`.
</issue_to_address>
### Comment 4
<location path="docs/partners-and-developers/apis.md" line_range="55-57" />
<code_context>
+1. Register your app or script as a service at LS Login. Follow the [LS Login
+ guide](https://www.lifescience-ri.eu/registering-integrating-and-managing-your-service/).
+2. Log in with your client through the OpenID Connect flow of LS Login. Ask
+ for the scopes `openid profile eduperson_entitlement`. LS Login releases
+ the groups of a user only for the scope `eduperson_entitlement`, and the
+ Cloud Registry uses the groups to decide what a user may do.
+3. Keep the access token that you receive.
+
</code_context>
<issue_to_address>
**Group-based access fails**
When the LS Login client registration does not allow the `eduperson_entitlement` scope, the LS Login client registration does not allow `eduperson_entitlement`, so the Cloud Registry receives no group claim and group-based authorization fails; users see denied access to protected operations.
Tell users to ensure the LS Login client registration allows all requested scopes, including `eduperson_entitlement`.
</issue_to_address>
### Comment 5
<location path="docs/partners-and-developers/apis.md" line_range="82-83" />
<code_context>
+Replace `<API base URL>` with the base URL of the service's API. It starts
+with the `url` from the registry entry. The path depends on the product (for
+example, proTES serves its TES API at `/ga4gh/tes/v1`). Its docs list the
+operations. A request without a valid token gets `401
+Unauthorized`. A valid token without the required role gets `403 Forbidden`.
+
+Treat tokens like passwords: never paste them into websites, tickets or chats.
</code_context>
<issue_to_address>
**Unauthenticated TESK calls misreported**
When a caller uses a TESK endpoint with its documented default `auth.mode: noauth`, the blanket response-code claim says every request without a valid token gets `401`, but TESK documents `auth.mode: noauth` as its default; calls to a TESK endpoint using that setting succeed without a token, so readers are given the wrong expected response.
Qualify the response-code guidance as applying only to services or deployments that require authentication.
</issue_to_address>
### Comment 6
<location path="docs/partners-and-developers/user-stories.md" line_range="19-20" />
<code_context>
+2. The service redirects the user to LS Login.
+3. The user logs in at their own identity provider, for example their
+ institute.
+4. LS Login checks whether the user may access the service, through group
+ memberships or roles.
+5. If so, LS Login redirects the user back to the service and sends the
+ service the user's information.
</code_context>
<issue_to_address>
**Authorization is attributed to LS Login**
When a user has authenticated but lacks a role required by the service, the story attributes role authorization to LS Login, so service implementors can assume the identity provider enforces their application permissions; LS Login supplies identity and group claims, while services apply their own access-control rules.
Distinguish LS Login's authentication and optional relying-party group restriction from the service's authorization of application roles using the claims it receives.
Also at `docs/partners-and-developers/user-stories.md:40`.
</issue_to_address>
### Comment 7
<location path="docs/partners-and-developers/apis.md" line_range="63-67" />
<code_context>
+The endpoints of LS Login are in its [discovery
+document](https://login.aai.lifescience-ri.eu/oidc/.well-known/openid-configuration).
+
+!!! note "Your client ID must be on the service's list"
+ A service accepts tokens only for the client IDs on its list. If a request
+ fails with `401 Unauthorized` although the token is valid, the operators
+ of the service must add your client ID. Write to
+ [[email protected]][elixir-on-cloud-email] and say which
+ service you want to call.
+
</code_context>
<issue_to_address>
**Audience rule is overgeneralized**
When a partner requests access to a WES, TES, DRS, or TRS service rather than the Cloud Registry, when a partner calls a service other than the Cloud Registry, this note tells them its operators must add the client ID to an audience list, although the page says that service's authentication and client-acceptance rules are not documented; the partner gets incorrect access guidance.
Limit the audience-list guidance to the Cloud Registry and direct callers of other services to confirm their authentication and client-acceptance rules with the operators.
</issue_to_address>
### Comment 8
<location path="docs/partners-and-developers/ga4gh-standards.md" line_range="13" />
<code_context>
+
+| API | Current version | In the stack | Docs |
+| --- | --- | --- | --- |
+| [TES][ga4gh-tes], for tasks | [1.1](https://ga4gh.github.io/task-execution-schemas/) | proTES (1.0), [TESK][tesk] and [Funnel][funnel] | [proTES](https://protes.readthedocs.io/en/latest/), [TESK](https://tesk.readthedocs.io/en/latest/) |
+| [WES][ga4gh-wes], for workflows | [1.1.0](https://ga4gh.github.io/workflow-execution-service-schemas/) | [proWES](https://github.com/elixir-cloud-aai/proWES) (1.0.1), [CWL-WES](https://github.com/elixir-cloud-aai/cwl-WES) (1.0.0) | see the READMEs |
+| [DRS][ga4gh-drs], for data | [1.5.0](https://ga4gh.github.io/data-repository-service-schemas/) | [DRS-Filer](https://github.com/elixir-cloud-aai/drs-filer) (1.1.0) | see the README |
</code_context>
<issue_to_address>
**TES versions remain unspecified**
When a partner relies on the table to choose a TES implementation compatible with a client, the TES row lists versions for proTES but not TESK or Funnel, so partners using this promised implementation matrix cannot tell which TES specification those services accept and must investigate separately.
Add the verified TES versions for TESK and Funnel, or explicitly mark those entries as unverified and link to the relevant version information.
</issue_to_address>
### Comment 9
<location path="docs/partners-and-developers/ga4gh-standards.md" line_range="13" />
<code_context>
+
+| API | Current version | In the stack | Docs |
+| --- | --- | --- | --- |
+| [TES][ga4gh-tes], for tasks | [1.1](https://ga4gh.github.io/task-execution-schemas/) | proTES (1.0), [TESK][tesk] and [Funnel][funnel] | [proTES](https://protes.readthedocs.io/en/latest/), [TESK](https://tesk.readthedocs.io/en/latest/) |
+| [WES][ga4gh-wes], for workflows | [1.1.0](https://ga4gh.github.io/workflow-execution-service-schemas/) | [proWES](https://github.com/elixir-cloud-aai/proWES) (1.0.1), [CWL-WES](https://github.com/elixir-cloud-aai/cwl-WES) (1.0.0) | see the READMEs |
+| [DRS][ga4gh-drs], for data | [1.5.0](https://ga4gh.github.io/data-repository-service-schemas/) | [DRS-Filer](https://github.com/elixir-cloud-aai/drs-filer) (1.1.0) | see the README |
</code_context>
<issue_to_address>
**TES version is incomplete**
the table identifies the current TES specification as `1.1`, while the checked version is `1.1.0` and the adjacent WES entry includes its patch version. Readers get an inconsistent version value when checking compatibility.
List the current TES version as 1.1.0, consistently with the checked specification version.
</issue_to_address>
### Comment 10
<location path="docs/partners-and-developers/packages.md" line_range="42" />
<code_context>
+- [TRS-Filer](https://trs-filer.readthedocs.io/en/latest/): a TRS service for
+ tools and workflows.
+
+Other services are listed in the [GitHub organization][elixir-on-cloud-github].
+If you run a service yourself, you can add your deployment to the "Known
+deployments" table in the repository of the product.
</code_context>
<issue_to_address>
**Service documentation is omitted**
When a reader uses the package page to find docs for proWES or DRS-Filer, the page points readers to the GitHub organization for other services instead of linking the existing proWES and DRS-Filer service guides, so readers following the promised service overview do not get direct documentation links for those stack services.
Add proWES and DRS-Filer to the service list with links to their existing guides or repositories.
</issue_to_address>Linked issues
#65 docs: rewrite the partners and developers section · 4 of 6 met · 1 to check by hand
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | Rewrite the section so partners and developers can follow it easily. | ✅ Met | The landing page gives an integration path and links to focused API, package, standards, sensitive-data and user-story pages. |
| 2 | Check pages against current deployment and product state, versions, URLs and steps. | 👀 Check by hand (external system) | A person must confirm the deployment details, versions, URLs and instructions against the live services and product sources. |
| 3 | Use plain, simple English, short sentences, numbered steps and consistent terms. | ✅ Met | The revised pages use short explanations and numbered steps for procedures. |
| 4 | Link to product docs for generic information instead of repeating it. | ✅ Met | The API, package and standards pages link to product documentation for details. |
| 5 | Fill the stubs left by #63 in this section. | ✅ Met | The change adds API and package guidance and rewrites the existing standards, sensitive-data and user-story pages. |
| 6 | Let a reader follow the section from its start page to a working result without outdated or repeated content. | 🟡 Partly met | The section provides a clear route, but the API guide still lacks known public endpoints and access details for the deployment's WES, TES, DRS and TRS services. |
Sourcery assessment
Approval pending. 9 findings to address first.
Blocking findings: docs/partners-and-developers/apis.md:76, docs/partners-and-developers/sensitive-data.md:47, docs/partners-and-developers/user-stories.md:54, docs/partners-and-developers/apis.md:57, docs/partners-and-developers/apis.md:83, and 4 more
- Pass the token to curl through stdin, not the command line - Qualify isolation claims and revocation of access - Limit the audience-list rule to the Cloud Registry - Mention the LS Login client scopes, 401 only where a token is required, and TES 1.1.0 - Add proWES and DRS-Filer to the services list Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
There was a problem hiding this comment.
Linked issues
#65 docs: rewrite the partners and developers section · 3 of 5 met · 1 to check by hand
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | Check pages against the current state of the deployment and products. | 👀 Check by hand (external system) | Verify that the documented product versions, live endpoints, URLs, and steps still match the external services; the PR reports these checks, but they cannot be confirmed from this diff. |
| 2 | Use plain, simple English, numbered steps, and consistent terms. | ✅ Met | |
| 3 | Link to product docs for generic information instead of repeating it. | ✅ Met | |
| 4 | Fill the stubs that #63 left in this section. | ✅ Met | The section is rewritten and the new API and package pages are added; the page explicitly identifies deployment details that remain unknown. |
| 5 | Let readers follow the section from the start page to a working result, without outdated or repeated content. | 🟡 Partly met | The registry-listing request is executable, but the request example for using a service depends on an API base URL that the page says is not yet known. |
Use the Cloud Registry's /me endpoint as the working example, so that readers can follow the page to a result. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
There was a problem hiding this comment.
Linked issues
#65 docs: rewrite the partners and developers section · 4 of 5 met
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | Check each page against current product and deployment details, including versions, URLs, and steps. | 🟡 Partly met | The GA4GH Standards table explicitly says the TES versions of TESK and Funnel were not checked. |
| 2 | Use plain, consistent English, short sentences, and numbered steps where appropriate. | ✅ Met | |
| 3 | Link to product docs for generic information instead of repeating it. | ✅ Met | |
| 4 | Fill the stubs that #63 left in this section. | ✅ Met | The section now includes the API and package guidance, and the standards, sensitive-data, and user-stories pages have been rewritten. |
| 5 | Let a reader follow Start Here to a working result without outdated or repeated content. | ✅ Met | The guide leads to a runnable Cloud Registry /me request and links to product documentation; unavailable deployment details are explicitly identified. |
TESK reports TES 1.0 in its service info. Funnel does not state its TES version in its docs, so the table says so. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Summary
Rewrites the Partners and Developers section (part of #61).
mkdocs.yml; removed the now unusedsnakemake-docsreference (dead link) fromincludes/references.md. No page was moved, so no new redirects were needed (existing ones keep working).Closes #65
Facts checked
https://elixir-on.cloud/ga4gh/registry/v1/servicesand/service-infoanswer anonymously.Verification
python scripts/check_names.py: passes.mkdocs build --strict: passes.Lane
Light lane: docs only, no code, secrets, permissions or release workflow. I reviewed the diff myself; no reviewer subagents.
Declined review findings
None: Sourcery's findings were fixed (one with an honest 'not stated' instead of an invented Funnel version).
Open questions
Marked "Under construction" on
apis.mdand not invented:devTES entry).🤖 Generated with Claude Code