-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v8.0] feat (TS): add getTransformationFilesAsJsonString #7840
Conversation
src/DIRAC/TransformationSystem/Service/TransformationManagerHandler.py
Outdated
Show resolved
Hide resolved
@@ -603,6 +603,7 @@ def getTransformationFiles( | |||
offset=None, | |||
connection=False, | |||
columns=None, | |||
include_web_records=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would reverse this flag, and make a tiny WebApp patch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We suspect it isn't used at all. The idea would be to switch it back in v9 but it's a nasty backwards incompatible change in a patch release if anyone does happen to be using it.
DEncode cannot cope with nested structures of multiple millions items. | ||
Encode everything as a json string, that DEncode cna then transmit faster. | ||
|
||
This will be the default as of v9.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then you should add a deprecation notice for export_getTransformationFiles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were thinking we would keep getTransformationFiles
and deprecate getTransformationFilesAsJson
in v9.
Sweep summary Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/11384174344 Successful:
|
BEGINRELEASENOTES
*Core
FIX: Returning DISET responses with >100000000 bytes
*Transformation
NEW: Use getTransformationFilesAsJsonString for faster getTransformationFiles
ENDRELEASENOTES