Skip to content

docs: future client - #8872

Merged
aldbr merged 3 commits into
DIRACGrid:integrationfrom
AcquaDiGiorgio:doc-FutureClient
Nov 4, 2026
Merged

aldbr merged 3 commits into
DIRACGrid:integrationfrom
AcquaDiGiorgio:doc-FutureClient

Conversation

@AcquaDiGiorgio

Copy link
Copy Markdown
Contributor

FutureClient how-to documentation.

@AcquaDiGiorgio
AcquaDiGiorgio force-pushed the doc-FutureClient branch 3 times, most recently from c899c18 to dc37631 Compare November 4, 2026 15:04
aldbr added 2 commits November 4, 2026 18:04
stripValueIfOK was only defined in the JobStateUpdateClient FutureClient,
but it is the convention for every FutureClient write method. Move it to
DIRAC.Core.Security.DiracX so other FutureClients (and the developer
guide example) can import it from the same place as addRPCStub.

Assisted-by: Claude:claude-opus-5-5
- Fix the toctree entry indentation that broke the docs build.
- Use the real CS option /DiracX/FutureClientEnabled/<System>/<Service>
  (opt-in, yes = DiracX) in a new "Enable the FutureClient" step.
- Router example: add the access policy check and map JobNotFoundError
  to 404.
- Logic example: check all job IDs before writing, one insert.
- Explain addRPCStub and stripValueIfOK, and the DiracX release chain
  (regenerate client, release, bump pin, server version).
- Show the legacy Client change with emphasize-lines instead of a
  duplicated file; reflow prose to 120 columns.

Assisted-by: Claude:claude-opus-5-5
@aldbr
aldbr merged commit fb7d33f into DIRACGrid:integration Nov 4, 2026
25 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep:ignore Prevent sweeping from being ran for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants