This repository was archived by the owner on Jun 2, 2021. It is now read-only.
Commit 2dbf62c
committed
v3(services): Only update expected binding fields when creating a
binding
OSBAPI spec outlines the broker expected response for a create binding
and indicates that any other field return by brokers should be ignored.
v2 has this behaviour but was missing in v3 and was causing failures
when the broker response includes attributes that are not part of the CC
DB. This is so we don't try to update any other fields.
[#175662475](https://www.pivotaltracker.com/story/show/175662475)1 parent ce3d1a0 commit 2dbf62c
3 files changed
Lines changed: 35 additions & 6 deletions
File tree
- app/actions
- spec
- request
- unit/actions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | | - | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1382 | 1382 | | |
1383 | 1383 | | |
1384 | 1384 | | |
1385 | | - | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
1386 | 1397 | | |
1387 | 1398 | | |
1388 | 1399 | | |
| |||
1409 | 1420 | | |
1410 | 1421 | | |
1411 | 1422 | | |
1412 | | - | |
| 1423 | + | |
1413 | 1424 | | |
1414 | 1425 | | |
1415 | 1426 | | |
1416 | 1427 | | |
| 1428 | + | |
1417 | 1429 | | |
1418 | 1430 | | |
1419 | 1431 | | |
| |||
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
263 | 276 | | |
264 | | - | |
| 277 | + | |
265 | 278 | | |
266 | 279 | | |
267 | 280 | | |
| |||
302 | 315 | | |
303 | 316 | | |
304 | 317 | | |
305 | | - | |
| 318 | + | |
306 | 319 | | |
307 | 320 | | |
308 | 321 | | |
309 | 322 | | |
310 | 323 | | |
311 | 324 | | |
312 | 325 | | |
| 326 | + | |
| 327 | + | |
313 | 328 | | |
314 | 329 | | |
315 | 330 | | |
| |||
0 commit comments