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

   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
   `ComputeResourceDescriptionSerializer`, `StorageResourceSerializer`, 
`BatchQueueSerializer`, and the nested 
`JobSubmissionInterface`/`DataMovementInterface` serializers now read the gRPC 
protobuf directly.
   
   - New `ProtoFileSystemsMapField` bridges the proto `file_systems` 
`map<int32,string>` (key = proto FileSystems value) to the `{Thrift FileSystems 
int (as string): path}` dict the old i32-keyed Thrift map produced (proto 
HOME=1 → Thrift 0).
   - Protocol enums render as Thrift ints via the shared protocol-field helpers 
(divergent JSP_CLOUD/LOCAL via name_map).
   - Repoint `ComputeResourceViewSet` (instance/queues), 
`StorageResourceViewSet` (instance), `ApplicationDeploymentViewSet.queues` (now 
mutates proto batch-queue fields), and `FullExperimentViewSet`'s nested compute 
resource — drops the `grpc_adapters` resource funcs + the Thrift imports.
   
   ## Validation
   - Byte-for-byte (storage resource w/ data-movement interface; the deep 
compute resource w/ batch queues + fileSystems int-keyed map + both interface 
lists; batch queue) 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