Commit b4ffd99
authored
Fix FilesExt should fallback when Presigned URL is not available (#1093)
## What changes are proposed in this pull request?
Provide the readers and reviewers with the information they need to
understand
this PR in a comprehensive manner.
Specifically, try to answer the two following questions:
- **WHAT**
- Fix `FilesExt`'s upload and download should fallback when Presigned
URLs are not available in certain compute types.
- **WHY**
- In some newer compute clusters (e.g. model serving clusters), creating
presigned URL through Files API is not possible yet. Client should
fallback in such circumstances to not using Presigned URL. Or else the
customer wouldn't be able to upload or download data using w.files.
## How is this tested?
It is tested using unit tests.1 parent 1c012fe commit b4ffd99
3 files changed
Lines changed: 106 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
1650 | 1650 | | |
1651 | 1651 | | |
1652 | 1652 | | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
1653 | 1660 | | |
1654 | 1661 | | |
1655 | 1662 | | |
| |||
1760 | 1767 | | |
1761 | 1768 | | |
1762 | 1769 | | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
1763 | 1777 | | |
1764 | 1778 | | |
1765 | 1779 | | |
| |||
1917 | 1931 | | |
1918 | 1932 | | |
1919 | 1933 | | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
1920 | 1941 | | |
1921 | 1942 | | |
1922 | 1943 | | |
| |||
1966 | 1987 | | |
1967 | 1988 | | |
1968 | 1989 | | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
1969 | 1997 | | |
1970 | 1998 | | |
1971 | 1999 | | |
| |||
2350 | 2378 | | |
2351 | 2379 | | |
2352 | 2380 | | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
2353 | 2386 | | |
2354 | 2387 | | |
2355 | 2388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
799 | 818 | | |
800 | 819 | | |
801 | 820 | | |
| |||
1098 | 1117 | | |
1099 | 1118 | | |
1100 | 1119 | | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1101 | 1130 | | |
1102 | 1131 | | |
1103 | 1132 | | |
| |||
1496 | 1525 | | |
1497 | 1526 | | |
1498 | 1527 | | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
1499 | 1547 | | |
1500 | 1548 | | |
1501 | 1549 | | |
| |||
1963 | 2011 | | |
1964 | 2012 | | |
1965 | 2013 | | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
1966 | 2026 | | |
1967 | 2027 | | |
1968 | 2028 | | |
| |||
2502 | 2562 | | |
2503 | 2563 | | |
2504 | 2564 | | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
2505 | 2576 | | |
2506 | 2577 | | |
2507 | 2578 | | |
| |||
0 commit comments