Repository navigation
fix: use neutral service-info defaults - #220
Merged
Merged
Conversation
Replace the service info defaults with neutral placeholders on reserved example domains (RFC 2606): id org.example.protes and organization Example Organization (https://example.org). Add documentationUrl and environment, and drop the dummy storage location. Log a warning on startup while id or organization still have the placeholders, naming the fields to set, as cloud-registry does. Document the service info in the README and fix the path of the app config there. Closes #205 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThis PR replaces misleading service-info defaults with neutral example placeholders, adds an application-startup warning when deployment metadata remains unchanged, and documents and tests the configuration workflow. Sequence diagram for startup service-info placeholder warningsequenceDiagram
participant init_app
participant FOCA
participant FlaskApp
participant warn_placeholder_service_info
participant Logger
init_app->>FOCA: create_app()
FOCA-->>FlaskApp: app
init_app->>FlaskApp: app_context()
init_app->>warn_placeholder_service_info: warn_placeholder_service_info()
warn_placeholder_service_info->>FOCA: get_config()
FOCA-->>warn_placeholder_service_info: service_info.service
alt placeholder id or organization remains
warn_placeholder_service_info->>Logger: warning()
end
init_app-->>FlaskApp: return app
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
uniqueg
marked this pull request as ready for review
October 22, 2026 11:38
uniqueg
added a commit
that referenced
this pull request
Oct 22, 2026
The README's notes on setting the service info (#220) move to the getting started page with the other configuration notes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
uniqueg
added a commit
that referenced
this pull request
Oct 22, 2026
* docs: present proTES generally in README Title "proTES" with the ELIXIR On-Cloud logo, the badges of cloud-registry (license, build status, docs, coverage, release tag and image), a synopsis that presents proTES as a TES gateway for any network, brought to you by ELIXIR On-Cloud, a "Known deployments" section (none listed yet), a quick start and contributing; README sections are marked for inclusion in the docs site. The architecture, license and contact move to docs/index.md, the Compose details and the MTU troubleshooting to docs/getting-started.md; the overview diagram moves to docs/images/, and the old ELIXIR, GA4GH and ELIXIR Cloud & AAI logos are removed. Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore: rename organization to ELIXIR On-Cloud In the Helm chart's description and notes and the contact of the middleware management API spec. Identifiers (GitHub organization, Docker Hub) stay. Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs: warn that shutdown stops task tracking Tracking of forwarded tasks is not resumed after a restart (Sourcery review). Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs: keep service info notes of the README The README's notes on setting the service info (#220) move to the getting started page with the other configuration notes. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- 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
Closes #205.
pro_tes/config.yamlare now neutral placeholders on reserved example domains (RFC 2606):id: org.example.protes, organization "Example Organization" (https://example.org), a generic description,documentationUrlandenvironment: dev. The dummystoragelocation is dropped.warn_placeholder_service_info()(inpro_tes/app.py) logs a warning whileidororganizationstill hold the placeholders, naming the fields to set. This follows cloud-registry (feat: sequential execution of middleware #160).pro_tes/config.yaml.Light lane: this changes config defaults and docs, and the startup warning is a small check modeled on cloud-registry's. So the reviewer subagents were skipped.
I grepped the repository for references to the old
masterbranch (workflows, docs, badges, release config) and found none.How it was verified
pytest tests --ignore=tests/unitTest --ignore=tests/test_integrationon Python 3.10 and 3.12: 25 passed. That includes new parametrized tests for the warning: both fields, each field alone, and no warning once both are set.flake8 pro_tes setup.py: clean.pylint pro_tes: 10.00/10.mypy pro_tes: no issues.Declined review findings
None.
Open questions
None.
🤖 Generated with Claude Code
Summary by Sourcery
Use neutral service-info defaults and prompt deployments to configure their own service identity.
Bug Fixes:
Enhancements:
Documentation:
Tests: