This repository was archived by the owner on Mar 3, 2026. It is now read-only.
Commit 21f173e
feat: add functionality for passing preconditions at the function level (#1993)
* test: updated conformance tests for precondition updates
* fixed typo
* updated functions to pass preconditions
* removed IAM and HMAC test changes
* implemented local preconditions for bucketmakeprivate
* added preconditions to enableLogging
* linted files
* implemented more preconditions
* general cleanup
* implemented precondition on combine
* added preconditions for copy and move
* rename
* removed tests for instance precondition where instance precondition is not supported
* support preconditions for rotateencryptionkey
* support set storage class
* linted files
* fixed tests
* deleteLabels and setLabels
* more precondition implementations
* minor progress
* fix(refactor): Simplify logic around disabling autoretry for setmetadata
* setcorsconfiguration
* set retention period
* bucketSetStorageClass
* fileMakePrivate
* file set metadata
* bucket set metadata
* file delete
* more precondition updates
* precondition refactor
* removed log statement
* change delete labels signature
* fix delete labels
* fixed save multipart
* put docker code back
* linted files
* docs and cleanup
* refactored conformance tests
* remove iam test from being in the conformance tests
* linted files
* put docker commands back
* fixed combine retries
* added comments
* fix: implement setMetadata in HmacKey and fix associated tests (#2009)
* fix: implement setMetadata in HmacKey and fix associated tests
* fix merge problem, check idempotency strategy
* retry based on idempotency strategy
* linted file
* Revert "retry based on idempotency strategy"
This reverts commit 80909b5.
* don't retry acl adds
* changed HEAD request to GET request
* fix(refactor): Add a call from file.delete to the parent class delete (#2014)
* fix(refactor): Add a call from file.delete to the parent class delete
* add delete to checked methods for conditionally idempotent file ops
* fix: fix noResponseRetries so it respects reqOpts.maxRetries (#2015)
* fix: fix noResponseRetries so it respects reqOpts.maxRetries
* fix situation where err.code is actually a string during connection resets
* log error type
* removed passing functions
* restored retryInvocationMap
* added instance precondition back to insert
* restored scenario 2
* restored all scenarios
* linted files
* Revert "linted files"
This reverts commit d2cb27b.
* removed logs
Co-authored-by: Sameena Shaffeeullah <shaffeeullah@google.com>
* fix: pass appropriate preconditions from enableLogging to setMetadata (#2018)
* tests: remove callback waterfall from make bucket private system test (#2020)
* tests: remove callback waterfall from make bucket private system test
* cleaner implementation
* moved done()
* removed precondition from policyoptions
* added retries for setPolicy
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* removed unused import
Co-authored-by: Denis DelGrosso <ddelgrosso@google.com>
Co-authored-by: Denis DelGrosso <85250797+ddelgrosso1@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>1 parent 020c0eb commit 21f173e
17 files changed
Lines changed: 1646 additions & 1069 deletions
File tree
- conformance-test
- test-data
- src
- nodejs-common
- system-test
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
105 | 118 | | |
106 | 119 | | |
107 | 120 | | |
| |||
121 | 134 | | |
122 | 135 | | |
123 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
124 | 147 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 148 | + | |
134 | 149 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 150 | + | |
147 | 151 | | |
148 | 152 | | |
149 | 153 | | |
| |||
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
161 | | - | |
| 165 | + | |
162 | 166 | | |
163 | 167 | | |
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
169 | | - | |
| 173 | + | |
170 | 174 | | |
171 | 175 | | |
172 | 176 | | |
| |||
177 | 181 | | |
178 | 182 | | |
179 | 183 | | |
180 | | - | |
| 184 | + | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
187 | | - | |
| 191 | + | |
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
| |||
0 commit comments