Skip to content

feat: add RSS read adapter - #8733

Draft
Loxeris wants to merge 1 commit into
DIRACGrid:integrationfrom
Loxeris:read-adapter-rss
Draft

feat: add RSS read adapter#8733
Loxeris wants to merge 1 commit into
DIRACGrid:integrationfrom
Loxeris:read-adapter-rss

Conversation

@Loxeris

@Loxeris Loxeris commented Aug 5, 2026

Copy link
Copy Markdown
Member

closes #8685

  • new self-contained module dedicated to the rss read adapter.

BEGINRELEASENOTES
*RssReadAdapter
NEW: add RssReadAdapter module
ENDRELEASENOTES

@Loxeris

Loxeris commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

A few points/issues about the current state:

  • ResourceStatus expects VO in the data it uses to refresh the cache, but it's not provided by the RSS API, should I use a default value (currently None) or make changes to the RSS API output data ?
  • There is currently no way to specify we want all the VOs from the RSS API as it is inferred from the credentials.
  • There's probably a lot to change in the tests.

@fstagni fstagni 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.

Regarding your questions: I would suggest expanding/modifying DIRAC"s RSS to match DiracX way of doing things.

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.

There is some code de-duplication that can be achieved in this module, at the same time maybe reducing readability. Up to you.



def get_fts_status() -> list[tuple]:
"""Get merged FTS server status from all VOs.

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.

Why "merged"?

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.

Read adapter: diracx RSS calls + response translation

2 participants