Commit 4b24045
authored
GCS client library migration in Java SDK - part 1 (#36876)
* Make a copy of GcsUtil.java as GcsUtilLegacy.java
* Change references from GcsUtil to GcsUtilLegacy in GcsUtilLegacy.java
* Change public apis in GcsUtil.java to call the GcsUtilLegacy.java
* Add mocking GcsUtilLegacy for tests and remove unnecessary references of gcsio in GcsUtil
* Possible breaking change: removed unused public functions.
* Get rid of the last bit (read option) gcsio references in GcsUtil.java.
* Route the code path of open reading files to include api count metric.
* Spotless check
* Remove BatchInterface and RewriteOp from GcsUtil.java. Simplify some functions.
* Rename GcsUtilLegacy to GcsUtilV1
* Make GcsUtilV1 package private
* Import ExperimentalOptions
* Move GcsReadOptionsFactory from GcsUtilV1 to GcsOptions
* Fix a failed test
* Add comments to SupressWarnings
* Fix test1 parent 27ae93b commit 4b24045
File tree
6 files changed
+1700
-1233
lines changed- sdks/java/extensions/google-cloud-platform-core/src
- main/java/org/apache/beam/sdk/extensions/gcp
- options
- util
- test/java/org/apache/beam/sdk/extensions/gcp
- util
6 files changed
+1700
-1233
lines changedLines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
49 | 57 | | |
50 | 58 | | |
51 | 59 | | |
52 | | - | |
| 60 | + | |
53 | 61 | | |
| 62 | + | |
54 | 63 | | |
55 | 64 | | |
| 65 | + | |
| 66 | + | |
56 | 67 | | |
57 | 68 | | |
58 | 69 | | |
| |||
0 commit comments