-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
complete Google Cloud storage implementation (and tests) #14
Comments
@mziccard assigning this one to you, if you don't mind. Lets make sure we get a good coverage for both API and SPI layer. |
I had a look around and there seem to be no fake/local-service for Storage as the one we use for the Datastore. In the appengine-gcs-client they save files locally when the application in run in the development server. But they do that at the library level, so no emulator is used. In gcloud-node they use the actual Cloud Storage to run system tests. They require two environment variables to be set (GCLOUD_TESTS_PROJECT_ID and GCLOUD_TESTS_KEY) and run tests against that project. |
Using production GCS is probably OK for integration tests that we can make Travis run (until gcloud emulators provides support for GCS. |
Yes sure I already started :) |
@mziccard as part of this issue effort can you also go over the storage related open issues and lets Issue #109 - My preference, which I feel consistent with the spirit of the JDK and guava, is that anything that can be serializable (especially plain data models/containers) should be as such, but when not a of plain data models (such as BlobInfo, BucketInfo,...) I don't feel strongly about it. Issue #107 - My preference to wait for Java 8, but I don't mind to change the signUrl signature to accept Issue #62 - I am not in the camp of providing a "key" like reference to Blobs, as I didn't see a true need for this in this API (as oppose to Datastore which we have one) but I don't feel as strongly about it as I feel against using a true URI (as originally proposed). In any case, because this may significantly effect Issue #60 - This is also a big one and therefore marked as "Needed for public announcement". We need Also: There was a proposal to change signUrl to return a URI instead of a URL but I didn't see a dedicated issue for it. and some of the //todo comments in the code could be removed now (e.g. in StorageImpl "todo: configure timeouts"... |
Sure! I started going through the issues and //todos, On the signURL/signURI matter it was discussed in this PR #93. Seems that using
|
I am fine with keeping it as is then. |
@mziccard so what else is pending before we can close this issue? I consider these as dependencies: Anything else? |
I think blockers are only: I don't think #193 should be a blocker. I would add support for selected fields to all gets (through vararg of field enums?) rather than adding exists to the RPC layers (it seems to me as a more complete solution) |
Closing this issue as all associated issues are closed. |
Bumping version to 0.0.1-SNAPSHOT
🤖 I have created a release *beep* *boop* --- ## [0.1.1](googleapis/java-beyondcorp-clientconnectorservices@v0.1.0...v0.1.1) (2022-09-09) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#13](googleapis/java-beyondcorp-clientconnectorservices#13)) ([5cee61d](googleapis/java-beyondcorp-clientconnectorservices@5cee61d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…1575) (#14) Source-Link: googleapis/synthtool@2e9ac19 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
No description provided.
The text was updated successfully, but these errors were encountered: