| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
cool!
Sorry, something went wrong.
| @@ -0,0 +1,21 @@ | |||
| /* | |||
| * Copyright 2016 Google LLC | |||
|
Close this PR since the function is implemented in separate PRs. |
Sorry, something went wrong.
Co-authored-by: Phong Chuong <147636638+PhongChuong@users.noreply.github.com>
* feat: Add Routine DataGovernanceType This also: - fix an issue where RoutineInfo unit test was being skipped - fix an issue where ImportLibaries were not being exported in the toPb method * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix: Add DataGovernanceType to clirr ignored difference --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Phong Chuong <147636638+PhongChuong@users.noreply.github.com>
…ble writes and read channels When upgrading gRPC to v1.83.0 (and Gson to 2.14.0), Gson PR #3006 added strict duplicate key detection in MapTypeAdapterFactory.Adapter.read ('if (map.containsKey(key)) throw ...'). Because com.google.api.services.storage.model.StorageObject extends com.google.api.client.util.GenericData (which implements java.util.Map), raw Gson selects MapTypeAdapterFactory when serializing and deserializing StorageObject. However, GenericData.containsKey returns true for all @key annotated fields even before they are set, causing raw Gson.fromJson to throw JsonSyntaxException ('duplicate key') when deserializing StorageObject. This replaces raw Gson serialization and deserialization of StorageObject in ApiaryReadRequest and JsonResumableWrite with Google API Client's official JSON parser/serializer via JsonUtils (backed by JsonObjectParser / GsonFactory), resolving the duplicate key deserialization failure in SerializationTest.
…ble writes and read channels (#13976) Found when upgradeing gRPC to v1.83.0 (as consequently Gson to v2.14.0) from #13967 Error: ``` 18:19:21:843 [ERROR] Errors: 18:19:21:843 [ERROR] SerializationTest>BaseSerializationTest.testRestorableObjects:67->BaseSerializationTest.serializeAndDeserialize:82 » JsonSyntax duplicate key: bucket ``` Seems to stem from Gson PR [#3006](google/gson#3006) which added strict duplicate key detection in MapTypeAdapterFactory.Adapter.read ('if (map.containsKey(key)) throw ...'). Possible Fix: Since com.google.api.services.storage.model.StorageObject extends com.google.api.client.util.GenericData (which implements java.util.Map), raw Gson selects MapTypeAdapterFactory when serializing and deserializing StorageObject. However, GenericData.containsKey returns true for all @key annotated fields even before they are set, causing raw Gson.fromJson to throw JsonSyntaxException ('duplicate key') when deserializing StorageObject. PR to replaces raw Gson serialization and deserialization of StorageObject in ApiaryReadRequest and JsonResumableWrite with Google API Client's official JSON parser/serializer via JsonUtils (backed by JsonObjectParser / GsonFactory), resolving the duplicate key deserialization failure in SerializationTest. Co-authored-by: Dhriti07 <56169283+Dhriti07@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Redesign autogenerated smoke test so that it has a "test entry point" and an "app entry point". Therefore, each smoke test can be run separately as a sample app (say, for debugging purpose). Or, all smoke tests can be run using mvn. ("mvn verify -P smoke-test"). For clients that require project-id, project-id can be detected through system property or environment variable. If app entry point is used, one can also pass project id through command line.