Strip LDP standards fields #13

Closed
opened 2022-10-03 21:18:23 +00:00 by free_zed · 8 comments
free_zed commented 2022-10-03 21:18:23 +00:00 (Migrated from gitlab.com)

Currently data are cleaned after request, based on demo stream fields: strip_demo_entries
To fit every streams, clean the response with the common LDP fields: 'X-OVH-CONTENT-SIZE', 'X-OVH-DELIVERY-DATE', 'X-OVH-INPUT', 'gl2_source_input', 'gl2_source_node', 'source', 'streams', 'timestamp'

Second step: improve perf and server load by sending the fields not needed with the query payload (related to #12).

Currently data are cleaned after request, based on _demo_ stream fields: [`strip_demo_entries`](https://gitlab.com/forga/tool/ovh/ldpy/-/blob/645fd3a5da32e33b222d96e09f4a30007c659f30/ldpy.py#L139) To fit every streams, clean the response with the common LDP fields: `'X-OVH-CONTENT-SIZE', 'X-OVH-DELIVERY-DATE', 'X-OVH-INPUT', 'gl2_source_input', 'gl2_source_node', 'source', 'streams', 'timestamp'` _Second step:_ improve perf and server load by sending the fields not needed with the query payload (related to #12).
free_zed commented 2022-10-03 21:19:01 +00:00 (Migrated from gitlab.com)

marked this issue as related to #12

marked this issue as related to #12
free_zed commented 2022-10-03 21:19:30 +00:00 (Migrated from gitlab.com)

mentioned in issue #12

mentioned in issue #12
free_zed commented 2022-10-04 22:05:38 +00:00 (Migrated from gitlab.com)

created branch 13-std-fields to address this issue

created branch [`13-std-fields`](/forga/tool/ovh/ldpy/-/compare/stable...13-std-fields) to address this issue
free_zed commented 2022-10-04 22:05:47 +00:00 (Migrated from gitlab.com)

mentioned in merge request !4

mentioned in merge request !4
free_zed commented 2022-10-05 23:52:43 +00:00 (Migrated from gitlab.com)

mentioned in commit bd94948108c14f58a562fc4a83198c7ce31d1312

mentioned in commit bd94948108c14f58a562fc4a83198c7ce31d1312
free_zed commented 2022-10-05 23:56:44 +00:00 (Migrated from gitlab.com)

mentioned in commit d1b19fa491

mentioned in commit d1b19fa491e49c5acbcb48f64c8b27a21ac501e6
free_zed commented 2022-10-05 23:57:33 +00:00 (Migrated from gitlab.com)

mentioned in commit 4e01b8a5c7

mentioned in commit 4e01b8a5c71ebac2a9f3406d45780e405e5b1d6e
free_zed commented 2022-10-05 23:57:51 +00:00 (Migrated from gitlab.com)

assigned to @free_zed

assigned to @free_zed
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fcode/LDPy#13
No description provided.