yasithdev opened a new pull request, #196: URL: https://github.com/apache/airavata-portals/pull/196
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 `BaseExperimentSummarySerializer`, `ExperimentSummarySerializer`, and `ExperimentStatisticsSerializer` now read the gRPC `ExperimentSummaryModel` / `ExperimentStatistics` protobuf directly. - Preserves a pre-existing quirk byte-for-byte: the experiment-search subclass renders `creationTime`/`statusUpdateTime` as raw epoch-millis ints (the old Thrift metaclass regenerated them as `IntegerField` on the subclass, shadowing the base's ISO field), while the base used by the statistics summary lists renders ISO. New `ProtoIntOrNoneField` (raw int, proto-0 → None) backs the subclass. - Repoint `ExperimentSearchViewSet` + `ExperimentStatisticsView` to pass protobuf through — drops `grpc_adapters.experiment_summary` / `experiment_statistics` + the Thrift imports. ## Validation - Byte-for-byte (search full/min, base, statistics) 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]
