yasithdev opened a new pull request, #195: URL: https://github.com/apache/airavata-portals/pull/195
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 `CredentialSummarySerializer` now reads the gRPC `CredentialSummary` protobuf directly and emits the same Thrift-named JSON keys. - Repoint `CredentialSummaryViewSet` (list/instance/ssh/password/create_ssh/create_password/destroy) to pass protobuf through and dispatch on the proto `SummaryType` — drops the `grpc_adapters.credential_summary` roundtrip + `proto_summary_type`. - New reusable `ProtoEnumNameField` (+ `proto_enum_name_field` factory) renders a proto enum field as the member name (matching the old `ThriftEnumField`); the factory snapshots the descriptor into plain dicts so the field is deep-copyable when DRF binds it. - Remove `grpc_adapters.credential_summary` / `proto_summary_type` + the Thrift `CredentialSummary`/`SummaryType` imports. ## Validation - Byte-for-byte (ssh / password / minimal — incl. the proto-0 `persistedTime` rendering as the epoch, not null) 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]
