Commit 26201f0
committed
Refactor Iceberg GCS vending tests and remove encryption key mechanism
- Rewrite TestIcebergGcsVendingRestCatalog as TestIcebergGcsVendingRestCatalogConnectorSmokeTest
extending BaseIcebergConnectorSmokeTest with real GCS credentials
- Create IcebergGcsRestCatalogBackendContainer for GCS-specific REST catalog backend
- Rename IcebergRestCatalogBackendContainer to IcebergS3RestCatalogBackendContainer
- Remove old test class and GcsCredentialVendingCatalogAdapter
- Remove default encryption/decryption key mechanism from GcsFileSystem and GcsFileSystemFactory
to align with S3FileSystem and AzureFileSystem (only per-call newEncrypted* methods)
- Remove encryption key constants from GcsFileSystemConstants
- Remove encryption key mapping from IcebergRestCatalogFileSystemFactory
- Add new GCS vending test to cloud-tests profile in pom.xml1 parent b4492a9 commit 26201f0
File tree
12 files changed
+393
-529
lines changed- lib
- trino-filesystem-gcs/src/main/java/io/trino/filesystem/gcs
- trino-filesystem/src/main/java/io/trino/filesystem/gcs
- plugin/trino-iceberg
- src
- main/java/io/trino/plugin/iceberg/catalog/rest
- test/java
- io/trino/plugin/iceberg/catalog/rest
- org/apache/iceberg/rest
- testing/trino-testing-containers/src/main/java/io/trino/testing/containers
12 files changed
+393
-529
lines changedLines changed: 4 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | 79 | | |
82 | 80 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 81 | | |
97 | 82 | | |
98 | 83 | | |
99 | 84 | | |
100 | 85 | | |
101 | 86 | | |
102 | 87 | | |
103 | | - | |
104 | | - | |
105 | 88 | | |
106 | 89 | | |
107 | 90 | | |
108 | 91 | | |
109 | 92 | | |
110 | 93 | | |
111 | 94 | | |
112 | | - | |
| 95 | + | |
113 | 96 | | |
114 | 97 | | |
115 | 98 | | |
| |||
125 | 108 | | |
126 | 109 | | |
127 | 110 | | |
128 | | - | |
| 111 | + | |
129 | 112 | | |
130 | 113 | | |
131 | 114 | | |
| |||
141 | 124 | | |
142 | 125 | | |
143 | 126 | | |
144 | | - | |
| 127 | + | |
145 | 128 | | |
146 | 129 | | |
147 | 130 | | |
| |||
157 | 140 | | |
158 | 141 | | |
159 | 142 | | |
160 | | - | |
| 143 | + | |
161 | 144 | | |
162 | 145 | | |
163 | 146 | | |
| |||
Lines changed: 1 addition & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 23 | | |
28 | 24 | | |
29 | | - | |
30 | | - | |
31 | 25 | | |
32 | 26 | | |
33 | 27 | | |
| |||
62 | 56 | | |
63 | 57 | | |
64 | 58 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 59 | + | |
78 | 60 | | |
79 | 61 | | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
| 848 | + | |
848 | 849 | | |
849 | 850 | | |
850 | 851 | | |
| |||
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
52 | | - | |
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
| |||
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | 91 | | |
99 | 92 | | |
100 | 93 | | |
| |||
114 | 107 | | |
115 | 108 | | |
116 | 109 | | |
117 | | - | |
118 | | - | |
119 | | - | |
| 110 | + | |
120 | 111 | | |
121 | 112 | | |
122 | 113 | | |
| |||
0 commit comments