You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Merge Storage-NIO library into this repository. #242
Currently have two repositories that must be merged into one library.
https://github.com/googleapis/java-storage-nio needs to be merged into this repository to unblock changes to the underlying internal only StorageRpc interface. Otherwise we can accidentally break users.
After discussing with @chingor13, the more likely approach is to separate out testing related code used by the Storage-Nio library into a separate artifact called google-cloud-storage-testing instead of merging Storage-NIO library into this repository.
@frankyn, I this is about exporting FakeStorageRpc for the sake of testing I can take care of this issue to move it on. googleapis/google-cloud-java#12653 and #179 are currently blocked by this issue.
Suggested fix #345 creates a copy of FakeStorageRpc from Storage-Nio in Storage. Because the main storage artifact already includes a testing package (com.google.cloud.storage.testing) the new class is placed there. No extra artifact is required.
I verified, Storage-Nio could switch to the new FakeStorageRpc class without adding extra dependencies.
FakeStorageRpc from #345 is very NIO specific, unlikely it will be used by anyone else. #351 provides a more generic approach: StorageRpcTestBase class implementing StorageRpc. FakeStorageRpc can extend StorageRpcTestBase.
Activity
[-]Merge Storage-NIO library into Storage repository.[/-][+]Merge Storage-NIO library into this repository.[/+]frankyn commentedon Apr 20, 2020
After discussing with @chingor13, the more likely approach is to separate out testing related code used by the Storage-Nio library into a separate artifact called google-cloud-storage-testing instead of merging Storage-NIO library into this repository.
dmitry-fa commentedon May 20, 2020
@frankyn, I this is about exporting FakeStorageRpc for the sake of testing I can take care of this issue to move it on. googleapis/google-cloud-java#12653 and #179 are currently blocked by this issue.
dmitry-fa commentedon Jun 2, 2020
Suggested fix #345 creates a copy of
FakeStorageRpcfrom Storage-Nio in Storage. Because the main storage artifact already includes a testing package (com.google.cloud.storage.testing) the new class is placed there. No extra artifact is required.I verified, Storage-Nio could switch to the new
FakeStorageRpcclass without adding extra dependencies.dmitry-fa commentedon Jun 8, 2020
FakeStorageRpcfrom #345 is very NIO specific, unlikely it will be used by anyone else. #351 provides a more generic approach:StorageRpcTestBaseclass implementingStorageRpc.FakeStorageRpccan extendStorageRpcTestBase.cc: @frankyn