yasithdev opened a new pull request, #203:
URL: https://github.com/apache/airavata-portals/pull/203

   Part of the Track D proto-native serializer rewrite (retire the interim 
Thrift-type adapter layer, family by family, REST contract byte-for-byte 
preserved).
   
   ## What
   `DataProductSerializer` + `DataReplicaLocationSerializer` now read the gRPC 
`DataProductModel` / `DataReplicaLocationModel` protobuf directly.
   
   - `dataProductType` / `replicaLocationCategory` / `replicaPersistentType` 
render as Thrift ints via the prefix-aligned enum helpers; the serializer's 
extra `modifiedTime` maps to proto `last_modified_time` alongside 
`lastModifiedTime`; optional proto strings → null; method fields (downloadURL / 
isInputFileUpload / filesize / userHasWriteAccess) read proto fields.
   - Repoint every data-product consumer (DataProductView get/put, 
download/delete endpoints, FullExperimentViewSet input/output data products, 
output_views, workspace.create_experiment, 
view_utils.DataProductSharedDirPermission).
   - Move `data_product_file_path` to view_utils (proto-reading); remove the 
`grpc_adapters` data-product funcs + the now-unused Thrift imports.
   
   ## Validation
   - Byte-for-byte (full data product w/ replica, empty) vs the old 
adapter+serializer `.data`.
   - `manage.py check` green; api test failures unchanged vs `origin/main`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to