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

   ## Summary
   Migrate four write families from the Thrift client to the gRPC facades:
   - `ManageNotificationViewSet` create/update/destroy → 
`research.create_/update_/delete_notification`
   - `ParserViewSet` create/update → `research.save_parser`
   - `CurrentGatewayResourceProfile.put` → 
`compute.update_gateway_resource_profile`
   - `StoragePreferenceViewSet` create/update/destroy → 
`compute.{add,update,delete}_gateway_storage_preference`
   
   New `grpc_requests` reverse adapters: `notification`, `parser` 
(+ParserInput/Output `IOType`), `storage_preference`, 
`gateway_resource_profile` (+`ComputeResourcePreference`). The two protocol 
enums on `ComputeResourcePreference` have proto/Thrift **name divergence** 
(Thrift `CLOUD`↔proto `JSP_CLOUD`, Thrift `LOCAL`↔proto 
`DATA_MOVEMENT_PROTOCOL_LOCAL`) → explicit inverse name maps 
(`_proto_enum_rev`). Also fixes `_proto_enum` to re-apply a proto member prefix 
**only when it yields a valid member** (proto3 prefixes only the zero 
`*_UNKNOWN` sentinel for these enums).
   
   ## Test plan
   - `manage.py check` clean.
   - Live notification CRUD: POST 201, PUT 200, DELETE 204.
   - Offline `thrift→proto→thrift` round-trips confirm all four reverse 
adapters preserve fields and enums (including the divergent protocol enums).


-- 
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