Skip to content

feat: support global OS prefix#922

Draft
chaen wants to merge 1 commit into
DIRACGrid:mainfrom
chaen:feat_global_os_prefix
Draft

feat: support global OS prefix#922
chaen wants to merge 1 commit into
DIRACGrid:mainfrom
chaen:feat_global_os_prefix

Conversation

@chaen

@chaen chaen commented May 29, 2026

Copy link
Copy Markdown
Contributor

Needs #925

Closes DIRACGrid/DIRAC#8489

@chaen chaen force-pushed the feat_global_os_prefix branch from dbfa5bb to cbad469 Compare June 30, 2026 14:01
@read-the-docs-community

read-the-docs-community Bot commented Jun 30, 2026

Copy link
Copy Markdown

@chaen chaen force-pushed the feat_global_os_prefix branch 2 times, most recently from 9d80250 to 7ec3022 Compare July 7, 2026 09:08
@chaen chaen marked this pull request as ready for review July 7, 2026 09:09
@aldbr aldbr force-pushed the feat_global_os_prefix branch from 7ec3022 to f997635 Compare July 7, 2026 14:37
Comment thread toto

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.

This file seems unexpected 🥲

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.

How complex would it be to add a unit test against the mock OS DB?

)

# --- OS databases ---
os_global_prefix = FactorySettings().os_global_prefix

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.

I guess you can create a variable to encapsulate a FactorySettings instance so that you can reuse it with config_backend_url.

)
"""The url for the redis server to manage tasks"""

os_global_prefix: str = Field(

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.

From what I understand, the prefix must be lower case.

@DIRACGridBot DIRACGridBot marked this pull request as draft July 7, 2026 15:03
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.

[Feature] Introduce the concept of a global prefix for OpenSearch indexes

2 participants