CS-SI / eodag

Earth Observation Data Access Gateway
https://eodag.readthedocs.io
Apache License 2.0
326 stars 44 forks source link

fix(providers): remove two_passes_id_search config param #1298

Closed jlahovnik closed 1 week ago

jlahovnik commented 3 months ago

Removes two_passes_id_search (old wekeo configuration parameter) from the providers.yml file because it is not used anymore

github-actions[bot] commented 3 months ago

Test Results

    4 files  ±0      4 suites  ±0   5m 54s ⏱️ ±0s   571 tests ±0    568 ✅ ±0   3 💤 ±0  0 ❌ ±0  2 284 runs  ±0  2 188 ✅ ±0  96 💤 ±0  0 ❌ ±0 

Results for commit e3cbae2f. ± Comparison against base commit 10923f00.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 3 months ago

badge

Code Coverage (Ubuntu)

``` Filename Stmts Miss Cover Missing ----------------------------------------- ------- ------ ------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- __init__.py 8 0 100.00% cli.py 312 70 77.56% 551-571, 655-714, 816-867, 871 config.py 366 31 91.53% 82-84, 93, 101, 105-107, 175, 186, 451-453, 513-516, 559-560, 569-570, 640-647, 675, 738-743, 745 crunch.py 5 5 0.00% 20-24 api/__init__.py 0 0 100.00% api/core.py 772 149 80.70% 635, 679-682, 720, 764, 798, 851-856, 882, 973, 1041, 1065, 1179, 1262-1274, 1310, 1312, 1338-1340, 1344-1387, 1445-1513, 1536-1609, 1623-1630, 1684-1694, 1702, 1716, 1725, 1771, 1839, 1868, 1914-1915, 1944, 1956, 1975-1981, 2225-2226, 2232, 2236-2239, 2250-2252, 2284 api/search_result.py 51 4 92.16% 73, 82, 89, 103 api/product/__init__.py 6 0 100.00% api/product/_assets.py 48 16 66.67% 66-81, 147, 155, 158-162 api/product/_product.py 187 20 89.30% 70-72, 237-238, 313, 342, 399, 413-416, 429, 453-456, 499-505 api/product/metadata_mapping.py 675 86 87.26% 129-131, 226, 258-259, 305-306, 316-328, 330, 341, 347-359, 404-405, 432-434, 442, 456, 463-466, 489, 497-498, 574-575, 599-600, 606-609, 624-625, 774, 820, 991-996, 1123, 1137-1157, 1177, 1182, 1186, 1289, 1311, 1325, 1338-1357, 1396, 1448, 1480-1484, 1499 api/product/drivers/__init__.py 6 0 100.00% api/product/drivers/base.py 6 1 83.33% 38 plugins/__init__.py 0 0 100.00% plugins/base.py 21 2 90.48% 48, 55 plugins/manager.py 130 21 83.85% 104-109, 150-155, 159, 197, 219, 223, 242-247, 281-282, 308-309 plugins/apis/__init__.py 0 0 100.00% plugins/apis/base.py 4 0 100.00% plugins/apis/ecmwf.py 91 63 30.77% 88, 99-125, 134-153, 165-242, 257, 269 plugins/apis/usgs.py 180 31 82.78% 132, 234, 268, 303-305, 310, 336-337, 342, 372-379, 390-395, 417-423, 425-431, 454 plugins/authentication/__init__.py 6 1 83.33% 31 plugins/authentication/aws_auth.py 19 0 100.00% plugins/authentication/base.py 17 2 88.24% 34, 47 plugins/authentication/generic.py 14 2 85.71% 40, 50 plugins/authentication/header.py 19 0 100.00% plugins/authentication/keycloak.py 48 4 91.67% 134, 160-165 plugins/authentication/oauth.py 13 7 46.15% 32-34, 38-41 plugins/authentication/openid_connect.py 187 17 90.91% 119, 133-158, 166, 320-323, 349 plugins/authentication/qsauth.py 34 1 97.06% 83 plugins/authentication/sas_auth.py 47 1 97.87% 76 plugins/authentication/token.py 89 16 82.02% 79, 107, 109, 132-145, 201-205 plugins/authentication/token_exchange.py 36 20 44.44% 74-80, 92-122 plugins/crunch/__init__.py 0 0 100.00% plugins/crunch/base.py 10 1 90.00% 40 plugins/crunch/filter_date.py 59 14 76.27% 49-54, 66, 75, 84, 87, 99-101, 110-112, 119 plugins/crunch/filter_latest_intersect.py 47 8 82.98% 51-52, 68, 77-80, 82, 89-92 plugins/crunch/filter_latest_tpl_name.py 31 2 93.55% 49, 83 plugins/crunch/filter_overlap.py 66 18 72.73% 28-30, 68-71, 78-81, 87, 95, 106-122 plugins/crunch/filter_property.py 30 7 76.67% 54-59, 62-63, 79-83 plugins/download/__init__.py 0 0 100.00% plugins/download/aws.py 489 297 39.26% 262-386, 404-418, 426-457, 475-503, 517-572, 591-614, 618-620, 654-728, 746-807, 818-823, 835-848, 863-893, 903-911, 918-934, 942-973, 980-992, 1003-1019, 1030, 1056, 1101-1103, 1323 plugins/download/base.py 253 51 79.84% 136, 164, 296-297, 314-320, 351-355, 361-362, 404, 407-421, 433, 437, 501-505, 535-536, 544-561, 568-576, 578-582, 625, 647, 669, 677 plugins/download/creodias_s3.py 17 10 41.18% 34, 44-58 plugins/download/http.py 534 390 26.97% 151-210, 221-247, 270-537, 555, 585-601, 623, 649-663, 670-678, 708, 722-728, 757-821, 839, 872-881, 903-904, 912, 918, 931-936, 942, 945, 961, 978-979, 1008-1120, 1138-1240, 1246-1262, 1271-1336 plugins/download/s3rest.py 116 97 16.38% 85-86, 112-334 plugins/search/__init__.py 22 0 100.00% plugins/search/base.py 128 20 84.38% 102, 106, 117, 225, 240-245, 255, 274-275, 289, 331-332, 352, 355-363 plugins/search/build_search_result.py 181 23 87.29% 95, 136-137, 143, 154, 288-291, 320, 373-390, 450, 453, 463, 480, 508, 510 plugins/search/cop_marine.py 197 47 76.14% 55, 63-65, 71-72, 88, 90, 93, 128-130, 142-143, 183-192, 196, 199, 203, 221, 249, 253, 268, 272, 276, 280, 284-288, 294-297, 300-314, 331, 354, 357, 363 plugins/search/creodias_s3.py 55 3 94.55% 53, 71, 105 plugins/search/csw.py 105 81 22.86% 58-59, 63-64, 72-120, 126-139, 147-179, 197-238 plugins/search/data_request_search.py 200 67 66.50% 90-93, 109, 120, 124-125, 136, 141, 146, 153, 166-169, 223-224, 228, 238-244, 249, 275-278, 286-297, 314, 316, 323-324, 326-327, 345-349, 382, 392, 403, 416, 422-437, 442 plugins/search/qssearch.py 682 93 86.36% 388, 392-398, 406-407, 513-525, 569, 585, 595, 614-629, 666-669, 740-741, 789, 808, 815, 827, 884, 905, 908-909, 918-919, 928-929, 938-939, 966, 1037-1042, 1046-1055, 1089, 1111, 1171, 1220, 1294-1298, 1358, 1361, 1367-1368, 1389, 1416-1428, 1435, 1467-1469, 1479-1485, 1515, 1538, 1553, 1575, 1658-1661, 1666-1669, 1696-1697, 1712 plugins/search/static_stac_search.py 72 10 86.11% 98-125, 141, 154 rest/__init__.py 4 2 50.00% 21-22 rest/cache.py 33 7 78.79% 35-37, 53-55, 59, 68 rest/config.py 26 0 100.00% rest/constants.py 7 0 100.00% rest/core.py 234 40 82.91% 110-115, 127-130, 269, 355, 456, 644, 653, 659-667, 671-672, 679-727 rest/server.py 283 53 81.27% 108, 131-133, 246-248, 304-305, 317-333, 425-430, 458, 623-630, 659, 703-704, 727, 798-800, 817-822, 851, 853, 857-858, 862-863 rest/stac.py 473 121 74.42% 318, 340, 392-395, 422-449, 454-460, 480-482, 505, 537-538, 566, 579, 620-660, 682-698, 772-785, 792, 846-847, 908, 973-975, 1179, 1187-1199, 1210-1232, 1243-1288, 1447-1448 rest/types/__init__.py 0 0 100.00% rest/types/collections_search.py 13 13 0.00% 18-44 rest/types/eodag_search.py 179 5 97.21% 232-236, 289, 292, 360 rest/types/queryables.py 56 1 98.21% 164 rest/types/stac_search.py 126 7 94.44% 129, 175, 190-192, 200, 204 rest/utils/__init__.py 93 16 82.80% 106-109, 128-130, 154, 167, 182, 192-206 rest/utils/cql_evaluate.py 48 5 89.58% 69, 76, 90, 97, 105 rest/utils/rfc3339.py 23 3 86.96% 48, 60, 62 types/__init__.py 114 14 87.72% 53, 70, 129-132, 199, 213-222, 232, 253, 266 types/bbox.py 43 19 55.81% 46-61, 72-74, 85-87, 99-101, 113-115, 123 types/download_args.py 9 0 100.00% types/queryables.py 81 0 100.00% types/search_args.py 70 18 74.29% 60-64, 71-88, 103 types/whoosh.py 15 0 100.00% utils/__init__.py 500 53 89.40% 85, 90, 194-195, 204-231, 234, 248, 328-332, 406-410, 429-431, 510, 525, 561-562, 926-929, 937-938, 976-977, 1074-1077, 1090-1091, 1098-1109, 1148 utils/constraints.py 119 37 68.91% 89-98, 139, 144, 148, 159, 182-184, 194, 208-224, 233-244 utils/exceptions.py 35 1 97.14% 93 utils/import_system.py 28 19 32.14% 64-78, 89-99 utils/logging.py 28 1 96.43% 41 utils/notebook.py 44 23 47.73% 25-29, 36-41, 58-62, 72-78, 83-87 utils/repr.py 30 8 73.33% 36, 38, 42, 76, 94-101 utils/requests.py 55 11 80.00% 64, 88, 90, 92, 94, 96, 112, 120-122, 130 utils/rest.py 36 20 44.44% 44-63, 69-80 utils/stac_reader.py 111 45 59.46% 56-57, 63-85, 95-97, 101, 137, 153-156, 203-212, 222-252 TOTAL 9607 2351 75.53% ```

Diff against develop

Filename                                    Stmts    Miss  Cover
----------------------------------------  -------  ------  -------
config.py                                      -1      -7  +1.88%
api/core.py                                     0     -53  +6.87%
api/product/metadata_mapping.py                 0      -2  +0.30%
plugins/apis/usgs.py                            0     -90  +50.00%
plugins/authentication/header.py                0      -2  +10.53%
plugins/authentication/keycloak.py              0     -10  +20.84%
plugins/authentication/openid_connect.py        0      -9  +4.81%
plugins/download/base.py                        0     -28  +11.07%
plugins/download/http.py                        0     -31  +5.81%
plugins/download/s3rest.py                      0     +73  -62.93%
plugins/search/build_search_result.py           0      -4  +2.21%
plugins/search/qssearch.py                      0     -17  +2.49%
utils/__init__.py                               0      -4  +0.80%
TOTAL                                          -1    -184  +1.91%

Results for commit: 7f67641916292cd70adbde9f26b35659c28ce478

Minimum allowed coverage is 70%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 3 months ago

badge

Code Coverage (Windows)

``` Filename Stmts Miss Cover Missing ----------------------------------------- ------- ------ ------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- __init__.py 8 0 100.00% cli.py 312 70 77.56% 551-571, 655-714, 816-867, 871 config.py 366 32 91.26% 82-84, 93, 101, 105-107, 175, 186, 451-453, 513-516, 559-560, 569-570, 640-647, 675, 706, 738-743, 745 crunch.py 5 5 0.00% 20-24 api/__init__.py 0 0 100.00% api/core.py 772 250 67.62% 615, 635, 679-682, 720, 760, 764, 798, 801-820, 847, 851-856, 882, 934, 947-951, 973, 1038, 1041, 1065, 1179, 1204, 1212, 1252-1274, 1292-1387, 1445-1513, 1536-1609, 1619-1635, 1684-1694, 1702, 1712, 1714, 1716, 1721, 1725, 1771, 1839, 1859, 1868, 1907, 1911-1915, 1930-1966, 1975-1981, 1993-2002, 2063-2064, 2076-2078, 2097-2106, 2140-2169, 2227-2232, 2235-2239, 2250-2252, 2284 api/search_result.py 51 4 92.16% 73, 82, 89, 103 api/product/__init__.py 6 0 100.00% api/product/_assets.py 48 16 66.67% 66-81, 147, 155, 158-162 api/product/_product.py 187 20 89.30% 70-72, 237-238, 313, 342, 399, 413-416, 429, 453-456, 499-505 api/product/metadata_mapping.py 675 88 86.96% 129-131, 226, 258-259, 305-306, 316-328, 330, 341, 347-359, 404-405, 432-434, 442, 456, 463-466, 489, 497-498, 574-575, 599-600, 606-609, 624-625, 774, 820, 947-948, 991-996, 1123, 1137-1157, 1177, 1182, 1186, 1289, 1311, 1325, 1338-1357, 1396, 1448, 1480-1484, 1499 api/product/drivers/__init__.py 6 0 100.00% api/product/drivers/base.py 6 1 83.33% 38 plugins/__init__.py 0 0 100.00% plugins/base.py 21 3 85.71% 48, 55, 68 plugins/manager.py 130 24 81.54% 104-109, 127-131, 150-155, 159, 197, 219, 223, 242-247, 281-282, 308-309 plugins/apis/__init__.py 0 0 100.00% plugins/apis/base.py 4 0 100.00% plugins/apis/ecmwf.py 91 63 30.77% 88, 99-125, 134-153, 165-242, 257, 269 plugins/apis/usgs.py 180 36 80.00% 128, 132, 234, 254-259, 268, 303-305, 310, 336-337, 342, 372-379, 390-395, 417-423, 425-431, 454 plugins/authentication/__init__.py 6 1 83.33% 31 plugins/authentication/aws_auth.py 19 0 100.00% plugins/authentication/base.py 17 2 88.24% 34, 47 plugins/authentication/generic.py 14 2 85.71% 40, 50 plugins/authentication/header.py 19 2 89.47% 106-107 plugins/authentication/keycloak.py 48 4 91.67% 134, 160-165 plugins/authentication/oauth.py 13 7 46.15% 32-34, 38-41 plugins/authentication/openid_connect.py 187 17 90.91% 119, 133-158, 166, 320-323, 349 plugins/authentication/qsauth.py 34 1 97.06% 83 plugins/authentication/sas_auth.py 47 1 97.87% 76 plugins/authentication/token.py 89 16 82.02% 79, 107, 109, 132-145, 201-205 plugins/authentication/token_exchange.py 36 20 44.44% 74-80, 92-122 plugins/crunch/__init__.py 0 0 100.00% plugins/crunch/base.py 10 1 90.00% 40 plugins/crunch/filter_date.py 59 45 23.73% 49-54, 64-123 plugins/crunch/filter_latest_intersect.py 47 33 29.79% 48-53, 66-111 plugins/crunch/filter_latest_tpl_name.py 31 20 35.48% 46-54, 64-95 plugins/crunch/filter_overlap.py 66 56 15.15% 28-30, 62-169 plugins/crunch/filter_property.py 30 7 76.67% 54-59, 62-63, 79-83 plugins/download/__init__.py 0 0 100.00% plugins/download/aws.py 489 163 66.67% 265, 278, 345-348, 362-366, 408-410, 414, 446-447, 453-457, 486, 518, 522, 529, 559-567, 571, 603-611, 618-620, 654-728, 746-807, 818-823, 835-848, 873, 888-890, 893, 903-911, 919-932, 942-973, 980-992, 1030, 1056, 1101-1103, 1323 plugins/download/base.py 253 63 75.10% 136, 164, 231-233, 296-297, 314-320, 351-355, 361-362, 404, 407-421, 433, 437, 501-505, 524-532, 535-536, 544-586, 625, 647, 669, 677 plugins/download/creodias_s3.py 17 9 47.06% 44-58 plugins/download/http.py 534 391 26.78% 151-210, 221-247, 270-537, 555, 585-601, 623, 649-663, 670-678, 708, 722-728, 757-821, 839, 872-881, 903-904, 912, 918, 931-936, 942, 945, 961, 978-979, 992, 1008-1120, 1138-1240, 1246-1262, 1271-1336 plugins/download/s3rest.py 116 97 16.38% 85-86, 112-334 plugins/search/__init__.py 22 0 100.00% plugins/search/base.py 128 22 82.81% 102, 106, 117, 180, 225, 240-245, 255, 274-275, 289, 331-332, 352, 355-363, 365 plugins/search/build_search_result.py 181 38 79.01% 95, 110-118, 136-137, 143, 154, 189, 208, 215, 288-291, 320, 373-390, 450, 453, 463, 480, 500-515 plugins/search/cop_marine.py 197 47 76.14% 55, 63-65, 71-72, 88, 90, 93, 128-130, 142-143, 183-192, 196, 199, 203, 221, 249, 253, 268, 272, 276, 280, 284-288, 294-297, 300-314, 331, 354, 357, 363 plugins/search/creodias_s3.py 55 3 94.55% 53, 71, 105 plugins/search/csw.py 105 81 22.86% 58-59, 63-64, 72-120, 126-139, 147-179, 197-238 plugins/search/data_request_search.py 200 173 13.50% 69-113, 120, 124-125, 135-252, 259-283, 286-297, 300-330, 335-349, 359-409, 412-417, 422-437, 441-444 plugins/search/qssearch.py 682 132 80.65% 379, 388, 392-398, 406-407, 513-525, 569, 572, 585, 595, 614-629, 666-669, 740-741, 789, 808, 815, 827, 884, 905, 908-909, 918-919, 928-929, 938-939, 966, 1037-1042, 1046-1055, 1089, 1099, 1111, 1126, 1166-1178, 1220, 1294-1298, 1358, 1361, 1367-1368, 1389, 1416-1428, 1435, 1467-1469, 1479-1485, 1515, 1531, 1538, 1553, 1575, 1641-1741, 1756 plugins/search/static_stac_search.py 72 39 45.83% 91, 98-125, 135-219 rest/__init__.py 4 2 50.00% 21-22 rest/cache.py 33 22 33.33% 35-37, 44-70 rest/config.py 26 4 84.62% 34-36, 68 rest/constants.py 7 0 100.00% rest/core.py 234 177 24.36% 110-115, 127-130, 160-241, 260-314, 327-365, 375, 396-430, 445-461, 479-490, 499-535, 544, 552, 563-578, 594-633, 644, 651-674, 679-727 rest/server.py 283 283 0.00% 18-874 rest/stac.py 473 405 14.38% 114-117, 138-144, 151-176, 190-198, 202-207, 234, 251-378, 388-461, 476-515, 528-581, 589-612, 620-660, 682-698, 708, 722-725, 741-811, 827-863, 886-911, 918-934, 941-946, 955-982, 991-993, 1000-1002, 1014-1016, 1028-1045, 1053-1074, 1082-1104, 1111-1128, 1147-1170, 1179, 1187-1199, 1210-1232, 1243-1288, 1295-1312, 1320-1478 rest/types/__init__.py 0 0 100.00% rest/types/collections_search.py 13 13 0.00% 18-44 rest/types/eodag_search.py 179 15 91.62% 122, 232-236, 269-271, 289, 292, 298, 302, 360, 372-375 rest/types/queryables.py 56 13 76.79% 51-52, 59-60, 67-68, 94-99, 108-109, 164 rest/types/stac_search.py 126 18 85.71% 127-129, 153-154, 159-160, 175, 190-192, 200, 204, 251-256 rest/utils/__init__.py 93 50 46.24% 79-85, 97-99, 104-109, 128-130, 140-168, 175-183, 190-211 rest/utils/cql_evaluate.py 48 5 89.58% 69, 76, 90, 97, 105 rest/utils/rfc3339.py 23 6 73.91% 40, 43-44, 48, 60, 62 types/__init__.py 114 39 65.79% 53, 66-70, 81-93, 120-122, 129-132, 172, 199, 209-225, 230, 232, 253, 258, 266, 276 types/bbox.py 43 19 55.81% 46-61, 72-74, 85-87, 99-101, 113-115, 123 types/download_args.py 9 0 100.00% types/queryables.py 81 0 100.00% types/search_args.py 70 33 52.86% 60-64, 71-88, 102-133 types/whoosh.py 15 0 100.00% utils/__init__.py 500 61 87.80% 85, 90, 170-177, 194-195, 204-231, 234, 248, 328-332, 406-410, 429-431, 510, 525, 561-562, 868, 926-929, 937-938, 963, 976-977, 1006, 1074-1077, 1090-1091, 1098-1109, 1148, 1309 utils/constraints.py 119 37 68.91% 89-98, 139, 144, 148, 159, 182-184, 194, 208-224, 233-244 utils/exceptions.py 35 4 88.57% 91-94 utils/import_system.py 28 19 32.14% 64-78, 89-99 utils/logging.py 28 1 96.43% 41 utils/notebook.py 44 23 47.73% 25-29, 36-41, 58-62, 72-78, 83-87 utils/repr.py 30 8 73.33% 36, 38, 42, 76, 94-101 utils/requests.py 55 11 80.00% 64, 88, 90, 92, 94, 96, 112, 120-122, 130 utils/rest.py 36 20 44.44% 44-63, 69-80 utils/stac_reader.py 111 45 59.46% 56-57, 63-85, 95-97, 101, 137, 153-156, 203-212, 222-252 TOTAL 9607 3438 64.21% ```

Diff against develop

Filename                                    Stmts    Miss  Cover
----------------------------------------  -------  ------  -------
cli.py                                          0     -24  +7.69%
config.py                                      -1     -32  +8.70%
api/core.py                                     0    -138  +17.88%
api/product/_product.py                         0      -2  +1.06%
api/product/metadata_mapping.py                 0     -82  +12.15%
plugins/manager.py                              0      -3  +2.31%
plugins/apis/usgs.py                            0    -116  +64.44%
plugins/authentication/aws_auth.py              0     -12  +63.16%
plugins/authentication/header.py                0      -7  +36.84%
plugins/authentication/keycloak.py              0     -27  +56.25%
plugins/authentication/openid_connect.py        0     -14  +7.49%
plugins/authentication/qsauth.py                0     -19  +55.88%
plugins/authentication/sas_auth.py              0     -30  +63.83%
plugins/download/aws.py                         0    -258  +52.76%
plugins/download/base.py                        0     -37  +14.63%
plugins/download/creodias_s3.py                 0      -1  +5.88%
plugins/download/http.py                        0     -31  +5.81%
plugins/search/base.py                          0     -31  +24.22%
plugins/search/build_search_result.py           0     -92  +50.83%
plugins/search/cop_marine.py                    0    -117  +59.39%
plugins/search/creodias_s3.py                   0     -31  +56.37%
plugins/search/qssearch.py                      0    -222  +32.56%
rest/types/stac_search.py                       0     -50  +39.68%
rest/utils/cql_evaluate.py                      0     -22  +45.83%
rest/utils/rfc3339.py                           0     -13  +56.52%
types/__init__.py                               0     -39  +34.21%
utils/__init__.py                               0      -9  +1.80%
utils/constraints.py                            0     -10  +8.41%
utils/exceptions.py                             0      -2  +5.71%
utils/logging.py                                0     -13  +46.43%
utils/notebook.py                               0      -2  +4.55%
utils/rest.py                                   0      -1  +2.77%
utils/stac_reader.py                            0     -42  +37.84%
TOTAL                                          -1   -1529  +15.91%

Results for commit: 7f67641916292cd70adbde9f26b35659c28ce478

Minimum allowed coverage is 70%

:recycle: This comment has been updated with latest results

jlahovnik commented 3 months ago

query_params_key is still present in config.py

https://github.com/CS-SI/eodag/blob/0abfd6f953f3e3054cd7cf5550660eb0809d889e/eodag/config.py#L317

Is the intention of this PR to remove it only from providers.yml?

Good point. I remove it from config.py too.

NOTE: failing tests are not related to changes on this branch but to a general problem with shapely and python 3.12

github-actions[bot] commented 3 weeks ago

badge

Code Coverage (Ubuntu)

``` Filename Stmts Miss Cover Missing ----------------------------------------- ------- ------ ------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- __init__.py 8 0 100.00% cli.py 314 59 81.21% 657-716, 818-869, 873 config.py 425 27 93.65% 83-85, 94, 102, 106-108, 179, 190, 684-686, 799-802, 845-846, 855-856, 961, 1024-1029, 1031 crunch.py 5 5 0.00% 20-24 api/__init__.py 0 0 100.00% api/core.py 767 69 91.00% 374, 664, 708-711, 749, 793, 827, 872-877, 903, 994, 1062, 1200, 1285-1297, 1333, 1335, 1363, 1367-1378, 1391-1397, 1480-1483, 1516-1536, 1588, 1605-1609, 1621-1624, 1980, 2004-2010, 2261, 2265-2269, 2278-2280, 2312 api/search_result.py 58 4 93.10% 92, 101, 108, 122 api/product/__init__.py 6 0 100.00% api/product/_assets.py 48 5 89.58% 75, 147, 155, 158-162 api/product/_product.py 187 20 89.30% 70-72, 237-238, 313, 342, 399, 413-416, 429, 453-456, 499-505 api/product/metadata_mapping.py 680 68 90.00% 130-132, 227, 259-260, 306-307, 317-329, 331, 342, 348-360, 405-406, 443, 464-467, 490, 498-499, 575-576, 600-601, 607-610, 625-626, 775, 821, 992-997, 1124, 1138-1158, 1178, 1183, 1312, 1326, 1397, 1449, 1489-1493, 1508 api/product/drivers/__init__.py 6 0 100.00% api/product/drivers/base.py 6 1 83.33% 38 plugins/__init__.py 0 0 100.00% plugins/base.py 21 2 90.48% 48, 55 plugins/manager.py 172 15 91.28% 116-121, 171, 209, 231, 235, 259, 281, 399-402, 414-415 plugins/apis/__init__.py 0 0 100.00% plugins/apis/base.py 4 0 100.00% plugins/apis/ecmwf.py 91 8 91.21% 159-161, 208-209, 235-237 plugins/apis/usgs.py 180 31 82.78% 155, 257, 291, 326-328, 333, 359-360, 365, 395-402, 413-418, 440-446, 448-454, 477 plugins/authentication/__init__.py 6 1 83.33% 31 plugins/authentication/aws_auth.py 19 0 100.00% plugins/authentication/base.py 17 2 88.24% 43, 56 plugins/authentication/generic.py 14 2 85.71% 51, 61 plugins/authentication/header.py 19 0 100.00% plugins/authentication/keycloak.py 48 4 91.67% 153, 179-184 plugins/authentication/oauth.py 13 7 46.15% 42-44, 48-51 plugins/authentication/openid_connect.py 187 17 90.91% 118, 132-158, 166, 300-303, 329 plugins/authentication/qsauth.py 34 1 97.06% 91 plugins/authentication/sas_auth.py 47 1 97.87% 76 plugins/authentication/token.py 89 16 82.02% 101, 130, 132, 155-168, 224-228 plugins/authentication/token_exchange.py 36 20 44.44% 72-78, 90-120 plugins/crunch/__init__.py 0 0 100.00% plugins/crunch/base.py 10 1 90.00% 43 plugins/crunch/filter_date.py 59 14 76.27% 52-57, 69, 78, 87, 90, 102-104, 113-115, 122 plugins/crunch/filter_latest_intersect.py 47 8 82.98% 52-53, 69, 78-81, 83, 90-93 plugins/crunch/filter_latest_tpl_name.py 31 1 96.77% 83 plugins/crunch/filter_overlap.py 66 18 72.73% 28-30, 66-69, 76-79, 85, 93, 104-120 plugins/crunch/filter_property.py 30 7 76.67% 55-60, 63-64, 80-84 plugins/download/__init__.py 0 0 100.00% plugins/download/aws.py 491 163 66.80% 282, 295, 362-365, 379-383, 425-427, 431, 463-464, 470-474, 503, 535, 539, 546, 576-584, 588, 620-628, 639-641, 672-746, 764-824, 835-840, 852-865, 890, 905-907, 910, 920-928, 936-949, 959-990, 997-1009, 1047, 1073, 1118-1120, 1340 plugins/download/base.py 253 51 79.84% 136, 164, 296-297, 314-320, 351-355, 361-362, 404, 407-421, 433, 437, 501-505, 535-536, 544-561, 568-576, 578-582, 625, 647, 669, 677 plugins/download/creodias_s3.py 17 9 47.06% 53-67 plugins/download/http.py 534 120 77.53% 234, 330-333, 335-336, 343-348, 366-381, 398-400, 412, 460, 467-473, 491, 505, 519, 527-529, 545-550, 561, 579, 621-625, 647, 687, 732, 746-752, 781-845, 863, 893-902, 924-925, 954-959, 965, 968, 985, 1002-1003, 1033-1034, 1041, 1102-1108, 1163-1164, 1170, 1180, 1216, 1252, 1270-1283, 1309-1311 plugins/download/s3rest.py 116 24 79.31% 118, 154, 161, 196, 223-230, 233-235, 239, 250-256, 264-265, 268-272, 295, 316-319 plugins/search/__init__.py 22 0 100.00% plugins/search/base.py 132 13 90.15% 100, 104, 115, 274, 294, 350-351, 371, 374-382 plugins/search/build_search_result.py 188 24 87.23% 100, 141-142, 148, 159, 292-295, 324, 359-376, 425, 454, 457, 467, 484, 512, 514 plugins/search/cop_marine.py 239 47 80.33% 55, 63-65, 75-76, 81, 86-87, 103, 105, 108, 174-175, 217, 223, 227, 231, 244, 255-256, 264, 292, 296, 311, 315, 319, 323, 327-331, 337-340, 343-357, 374, 423-427, 432, 444 plugins/search/creodias_s3.py 55 3 94.55% 58, 76, 110 plugins/search/csw.py 105 81 22.86% 98-99, 103-104, 112-160, 166-179, 187-219, 237-278 plugins/search/data_request_search.py 202 69 65.84% 188-191, 207, 218, 222-223, 234, 239, 244, 251, 264-267, 321-322, 326, 336-342, 347, 373-376, 384-395, 412, 414, 421-424, 426-427, 445-449, 482, 492, 503, 516, 522-537, 542 plugins/search/qssearch.py 762 103 86.48% 444, 502, 516, 520-526, 554-558, 650-662, 706, 722, 732, 751-766, 803-806, 877-878, 926, 945, 952, 964, 1021, 1042, 1045-1046, 1055-1056, 1065-1066, 1075-1076, 1103, 1174-1179, 1183-1192, 1226, 1248, 1308, 1398, 1485, 1488-1489, 1571-1575, 1637, 1640, 1646-1647, 1668, 1695-1707, 1714, 1746-1748, 1758-1764, 1794, 1817, 1822-1823, 1838, 1854, 1939-1942, 1947-1950, 1959, 1979-1980, 1989-1993, 1999 plugins/search/static_stac_search.py 75 13 82.67% 98-124, 140, 153 rest/__init__.py 4 2 50.00% 21-22 rest/cache.py 33 7 78.79% 35-37, 53-55, 59, 68 rest/config.py 25 0 100.00% rest/constants.py 6 0 100.00% rest/core.py 251 63 74.90% 216-217, 273, 281, 299-316, 331-369, 460, 502-533, 680, 687-735 rest/errors.py 69 5 92.75% 106, 116, 127, 143-144 rest/server.py 188 24 87.23% 89, 112-114, 277-282, 310, 495-497, 514-519, 548, 550, 554-555, 559-560 rest/stac.py 319 63 80.25% 306, 328, 380-383, 410-437, 468-470, 493, 525-526, 608-648, 670-686, 778-782, 789, 843-844, 905, 995-997 rest/types/__init__.py 0 0 100.00% rest/types/collections_search.py 13 13 0.00% 18-44 rest/types/eodag_search.py 176 5 97.16% 225-229, 282, 285, 353 rest/types/queryables.py 55 1 98.18% 163 rest/types/stac_search.py 125 7 94.40% 138, 184, 199-201, 209, 213 rest/utils/__init__.py 93 12 87.10% 108-109, 128-130, 182, 192-206 rest/utils/cql_evaluate.py 48 5 89.58% 69, 76, 90, 97, 105 rest/utils/rfc3339.py 23 3 86.96% 48, 60, 62 types/__init__.py 114 14 87.72% 65, 82, 141-144, 211, 225-234, 244, 265, 278 types/bbox.py 43 19 55.81% 46-61, 72-74, 85-87, 99-101, 113-115, 123 types/download_args.py 9 0 100.00% types/queryables.py 80 0 100.00% types/search_args.py 70 18 74.29% 60-64, 71-88, 103 types/whoosh.py 15 0 100.00% utils/__init__.py 499 36 92.79% 85, 189-190, 199-226, 229, 244, 324-328, 401-405, 424-426, 505, 520, 560-561, 925-928, 936-937, 975-976, 1147 utils/constraints.py 119 38 68.07% 62, 89-98, 139, 144, 148, 159, 182-184, 194, 208-224, 233-244 utils/exceptions.py 41 0 100.00% utils/import_system.py 28 19 32.14% 64-78, 89-99 utils/logging.py 28 1 96.43% 41 utils/notebook.py 44 23 47.73% 25-29, 36-41, 58-62, 72-78, 83-87 utils/repr.py 30 8 73.33% 36, 38, 42, 76, 94-101 utils/requests.py 55 11 80.00% 64, 86, 88, 90, 92, 94, 110, 118-120, 128 utils/rest.py 36 1 97.22% 55 utils/stac_reader.py 111 45 59.46% 56-57, 63-85, 95-97, 101, 137, 153-156, 203-212, 222-252 TOTAL 9691 1597 83.52% ```

Diff against develop

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: e3cbae2f979183a6967d666bd470f1c263d4c4a0

Minimum allowed coverage is 70%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 3 weeks ago

badge

Code Coverage (Windows)

``` Filename Stmts Miss Cover Missing ----------------------------------------- ------- ------ ------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- __init__.py 8 0 100.00% cli.py 314 59 81.21% 657-716, 818-869, 873 config.py 425 28 93.41% 83-85, 94, 102, 106-108, 179, 190, 684-686, 799-802, 845-846, 855-856, 961, 992, 1024-1029, 1031 crunch.py 5 5 0.00% 20-24 api/__init__.py 0 0 100.00% api/core.py 767 69 91.00% 374, 664, 708-711, 749, 793, 827, 872-877, 903, 994, 1062, 1200, 1285-1297, 1333, 1335, 1363, 1367-1378, 1391-1397, 1480-1483, 1516-1536, 1588, 1605-1609, 1621-1624, 1980, 2004-2010, 2261, 2265-2269, 2278-2280, 2312 api/search_result.py 58 4 93.10% 92, 101, 108, 122 api/product/__init__.py 6 0 100.00% api/product/_assets.py 48 5 89.58% 75, 147, 155, 158-162 api/product/_product.py 187 20 89.30% 70-72, 237-238, 313, 342, 399, 413-416, 429, 453-456, 499-505 api/product/metadata_mapping.py 680 68 90.00% 130-132, 227, 259-260, 306-307, 317-329, 331, 342, 348-360, 405-406, 443, 464-467, 490, 498-499, 575-576, 600-601, 607-610, 625-626, 775, 821, 992-997, 1124, 1138-1158, 1178, 1183, 1312, 1326, 1397, 1449, 1489-1493, 1508 api/product/drivers/__init__.py 6 0 100.00% api/product/drivers/base.py 6 1 83.33% 38 plugins/__init__.py 0 0 100.00% plugins/base.py 21 3 85.71% 48, 55, 68 plugins/manager.py 172 15 91.28% 116-121, 171, 209, 231, 235, 259, 281, 399-402, 414-415 plugins/apis/__init__.py 0 0 100.00% plugins/apis/base.py 4 0 100.00% plugins/apis/ecmwf.py 91 8 91.21% 159-161, 208-209, 235-237 plugins/apis/usgs.py 180 31 82.78% 155, 257, 291, 326-328, 333, 359-360, 365, 395-402, 413-418, 440-446, 448-454, 477 plugins/authentication/__init__.py 6 1 83.33% 31 plugins/authentication/aws_auth.py 19 0 100.00% plugins/authentication/base.py 17 2 88.24% 43, 56 plugins/authentication/generic.py 14 2 85.71% 51, 61 plugins/authentication/header.py 19 0 100.00% plugins/authentication/keycloak.py 48 4 91.67% 153, 179-184 plugins/authentication/oauth.py 13 7 46.15% 42-44, 48-51 plugins/authentication/openid_connect.py 187 17 90.91% 118, 132-158, 166, 300-303, 329 plugins/authentication/qsauth.py 34 1 97.06% 91 plugins/authentication/sas_auth.py 47 1 97.87% 76 plugins/authentication/token.py 89 16 82.02% 101, 130, 132, 155-168, 224-228 plugins/authentication/token_exchange.py 36 20 44.44% 72-78, 90-120 plugins/crunch/__init__.py 0 0 100.00% plugins/crunch/base.py 10 1 90.00% 43 plugins/crunch/filter_date.py 59 14 76.27% 52-57, 69, 78, 87, 90, 102-104, 113-115, 122 plugins/crunch/filter_latest_intersect.py 47 33 29.79% 49-54, 67-112 plugins/crunch/filter_latest_tpl_name.py 31 1 96.77% 83 plugins/crunch/filter_overlap.py 66 18 72.73% 28-30, 66-69, 76-79, 85, 93, 104-120 plugins/crunch/filter_property.py 30 7 76.67% 55-60, 63-64, 80-84 plugins/download/__init__.py 0 0 100.00% plugins/download/aws.py 491 163 66.80% 282, 295, 362-365, 379-383, 425-427, 431, 463-464, 470-474, 503, 535, 539, 546, 576-584, 588, 620-628, 639-641, 672-746, 764-824, 835-840, 852-865, 890, 905-907, 910, 920-928, 936-949, 959-990, 997-1009, 1047, 1073, 1118-1120, 1340 plugins/download/base.py 253 53 79.05% 136, 164, 231-233, 296-297, 314-320, 351-355, 361-362, 404, 407-421, 433, 437, 501-505, 535-536, 544-561, 568-576, 578-582, 625, 647, 669, 677 plugins/download/creodias_s3.py 17 9 47.06% 53-67 plugins/download/http.py 534 121 77.34% 234, 330-333, 335-336, 343-348, 366-381, 398-400, 412, 460, 467-473, 491, 505, 519, 527-529, 545-550, 561, 579, 621-625, 647, 687, 732, 746-752, 781-845, 863, 893-902, 924-925, 954-959, 965, 968, 985, 1002-1003, 1016, 1033-1034, 1041, 1102-1108, 1163-1164, 1170, 1180, 1216, 1252, 1270-1283, 1309-1311 plugins/download/s3rest.py 116 24 79.31% 118, 154, 161, 196, 223-230, 233-235, 239, 250-256, 264-265, 268-272, 295, 316-319 plugins/search/__init__.py 22 0 100.00% plugins/search/base.py 132 14 89.39% 100, 104, 115, 274, 294, 350-351, 371, 374-382, 384 plugins/search/build_search_result.py 188 31 83.51% 100, 141-142, 148, 159, 292-295, 324, 359-376, 425, 454, 457, 467, 484, 504-519 plugins/search/cop_marine.py 239 47 80.33% 55, 63-65, 75-76, 81, 86-87, 103, 105, 108, 174-175, 217, 223, 227, 231, 244, 255-256, 264, 292, 296, 311, 315, 319, 323, 327-331, 337-340, 343-357, 374, 423-427, 432, 444 plugins/search/creodias_s3.py 55 3 94.55% 58, 76, 110 plugins/search/csw.py 105 81 22.86% 98-99, 103-104, 112-160, 166-179, 187-219, 237-278 plugins/search/data_request_search.py 202 69 65.84% 188-191, 207, 218, 222-223, 234, 239, 244, 251, 264-267, 321-322, 326, 336-342, 347, 373-376, 384-395, 412, 414, 421-424, 426-427, 445-449, 482, 492, 503, 516, 522-537, 542 plugins/search/qssearch.py 762 135 82.28% 444, 502, 516, 520-526, 554-558, 650-662, 706, 709, 722, 732, 751-766, 803-806, 877-878, 926, 945, 952, 964, 1021, 1042, 1045-1046, 1055-1056, 1065-1066, 1075-1076, 1103, 1174-1179, 1183-1192, 1226, 1248, 1308, 1398, 1485, 1488-1489, 1571-1575, 1637, 1640, 1646-1647, 1668, 1695-1707, 1714, 1746-1748, 1758-1764, 1794, 1817, 1822-1823, 1838, 1854, 1922-2028 plugins/search/static_stac_search.py 75 13 82.67% 98-124, 140, 153 rest/__init__.py 4 2 50.00% 21-22 rest/cache.py 33 22 33.33% 35-37, 44-70 rest/config.py 25 1 96.00% 35 rest/constants.py 6 0 100.00% rest/core.py 251 139 44.62% 162, 164, 166, 169-170, 184-194, 206-207, 209-210, 216-217, 220, 223, 264-318, 331-369, 400-434, 449-465, 481-490, 502-533, 550, 592-641, 680, 687-735 rest/errors.py 69 49 28.99% 60, 65-100, 105-108, 115-118, 126-147, 155-160, 175-181 rest/server.py 188 188 0.00% 18-573 rest/stac.py 319 68 78.68% 240, 306, 328, 380-383, 410-437, 468-470, 493, 525-526, 608-648, 670-686, 713, 778-782, 789, 843-844, 850, 905, 943, 976, 995-997 rest/types/__init__.py 0 0 100.00% rest/types/collections_search.py 13 13 0.00% 18-44 rest/types/eodag_search.py 176 16 90.91% 225-229, 262-264, 282, 285, 291, 295, 353, 370-380 rest/types/queryables.py 55 13 76.36% 50-51, 58-59, 66-67, 93-98, 107-108, 163 rest/types/stac_search.py 125 11 91.20% 136-138, 184, 199-201, 209, 213, 261, 264 rest/utils/__init__.py 93 30 67.74% 79-85, 105, 108-109, 128-130, 143, 150, 175-183, 190-211 rest/utils/cql_evaluate.py 48 5 89.58% 69, 76, 90, 97, 105 rest/utils/rfc3339.py 23 5 78.26% 43-44, 48, 60, 62 types/__init__.py 114 39 65.79% 65, 78-82, 93-105, 132-134, 141-144, 184, 211, 221-237, 242, 244, 265, 270, 278, 288 types/bbox.py 43 19 55.81% 46-61, 72-74, 85-87, 99-101, 113-115, 123 types/download_args.py 9 0 100.00% types/queryables.py 80 0 100.00% types/search_args.py 70 18 74.29% 60-64, 71-88, 103 types/whoosh.py 15 0 100.00% utils/__init__.py 499 36 92.79% 85, 189-190, 199-226, 229, 244, 324-328, 401-405, 424-426, 505, 520, 560-561, 925-928, 936-937, 975-976, 1147 utils/constraints.py 119 38 68.07% 62, 89-98, 139, 144, 148, 159, 182-184, 194, 208-224, 233-244 utils/exceptions.py 41 0 100.00% utils/import_system.py 28 19 32.14% 64-78, 89-99 utils/logging.py 28 1 96.43% 41 utils/notebook.py 44 23 47.73% 25-29, 36-41, 58-62, 72-78, 83-87 utils/repr.py 30 8 73.33% 36, 38, 42, 76, 94-101 utils/requests.py 55 11 80.00% 64, 86, 88, 90, 92, 94, 110, 118-120, 128 utils/rest.py 36 1 97.22% 55 utils/stac_reader.py 111 45 59.46% 56-57, 63-85, 95-97, 101, 137, 153-156, 203-212, 222-252 TOTAL 9691 2044 78.91% ```

Diff against develop

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: e3cbae2f979183a6967d666bd470f1c263d4c4a0

Minimum allowed coverage is 70%

:recycle: This comment has been updated with latest results