Skip to content

Commit

Permalink
Update CI tests data
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaze committed Jan 21, 2025
1 parent b1ffad8 commit c9ff033
Show file tree
Hide file tree
Showing 7 changed files with 724 additions and 16 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /dac/aoml/13857/profiles/* was not found on this server.</p>
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /dac/coriolis/3902131/profiles/* was not found on this server.</p>
</body></html>

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions argopy/tests/test_data/httpmocked_uri_index.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
[
{
"uri": "https://data-argo.ifremer.fr/dac/aoml/13857/profiles",
"ext": "html",
"sha": "544c5df84f127374f13fb2a59021c0ddc9bedf1b2b907e18d6aefc700985e5a2",
"type": "text/html",
"ts": "2025-01-21 14:17:52"
},
{
"uri": "https://data-argo.ifremer.fr/dac/coriolis/3902131/profiles",
"ext": "html",
"sha": "d35e61aaf352b2f52b0e44d85870fe699c85fc95d1e352ccdb2fc6f24ea441c6",
"type": "text/html",
"ts": "2025-01-21 14:17:54"
},
{
"uri": "https://data-argo.ifremer.fr/dac/aoml/13857/profiles/*",
"ext": "html",
"sha": "8f1567bf9c0f6048c62e352e57cade754feff0d2045de01294cb6e1d81bd8687",
"type": "text/html",
"ts": "2025-01-21 13:47:23"
},
{
"uri": "https://data-argo.ifremer.fr/dac/coriolis/3902131/profiles/*",
"ext": "html",
"sha": "bb5a9fd818ef19db095fa517897eeef5e3819f21fccfdb57d4c662d951c8c84f",
"type": "text/html",
"ts": "2025-01-21 13:47:30"
},
{
"uri": "https://data-argo.ifremer.fr/dac/aoml/13857",
"ext": "html",
Expand Down
4 changes: 3 additions & 1 deletion cli/citests_httpdata_manager
Original file line number Diff line number Diff line change
Expand Up @@ -966,13 +966,15 @@ class Lister:
af = ArgoFloat(wmo, host='https')
this_URI.commit(self.dfile(af.path, "html"))

uri = af.host_sep.join([af.path, "profiles"])
this_URI.commit(self.dfile(uri, "html"))

for key, uri in af.list_dataset().items():
this_URI.commit(self.dfile(uri, "nc"))

for key, uri in af.api_point.items():
this_URI.commit(self.dfile(uri, "json"))


return self.respond(this_URI)


Expand Down
44 changes: 29 additions & 15 deletions cli/citests_httpdata_manager_argofloat.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,104 +4,118 @@
"ext": "html",
"sha": "d7acaf5803ffb65742b99b73ac298305caae3af24128a851578871d394cbdb4f",
"type": "text/html",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:52"
},
{
"uri": "https://data-argo.ifremer.fr/dac/aoml/13857/profiles",
"ext": "html",
"sha": "544c5df84f127374f13fb2a59021c0ddc9bedf1b2b907e18d6aefc700985e5a2",
"type": "text/html",
"ts": "2025-01-21 14:17:52"
},
{
"uri": "https://data-argo.ifremer.fr/dac/aoml/13857/13857_Rtraj.nc",
"ext": "nc",
"sha": "d1c110689797cd038cd0945393b4141c915560942904e0eb94e227c28a2a9404",
"type": "application/x-netcdf",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:53"
},
{
"uri": "https://data-argo.ifremer.fr/dac/aoml/13857/13857_meta.nc",
"ext": "nc",
"sha": "21b7a7ec279fb24d3c8c9aa190bc898b73e370075a7553d65733651a81b574af",
"type": "application/x-netcdf",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:53"
},
{
"uri": "https://data-argo.ifremer.fr/dac/aoml/13857/13857_prof.nc",
"ext": "nc",
"sha": "5baab8b80a58383f9f2a36c5f51282d3d5b673e9f2e3904c3dbb9ff600ceb230",
"type": "application/x-netcdf",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:53"
},
{
"uri": "https://data-argo.ifremer.fr/dac/aoml/13857/13857_tech.nc",
"ext": "nc",
"sha": "b637505d3747c02ac9545ee4d05b0bcc2c4debaa04a57577ba49976e6c2ab8a4",
"type": "application/x-netcdf",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:53"
},
{
"uri": "https://fleetmonitoring.euro-argo.eu/floats/13857",
"ext": "json",
"sha": "1f471549c84b8db67081b8d8c997590ce1331b24ea16583c2ccd0ddfe1c585bc",
"type": "application/json",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:53"
},
{
"uri": "https://fleetmonitoring.euro-argo.eu/technical-data/13857",
"ext": "json",
"sha": "0c67facbeddab9ddaaf05054a1295c1f15c860e790f0fad83d25a7dd56f9cd58",
"type": "application/json",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:53"
},
{
"uri": "https://data-argo.ifremer.fr/dac/coriolis/3902131",
"ext": "html",
"sha": "18681071592841fa62164a559a91a17c16477cf90d2c4691f6f20fa5a5e02eb7",
"type": "text/html",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:54"
},
{
"uri": "https://data-argo.ifremer.fr/dac/coriolis/3902131/profiles",
"ext": "html",
"sha": "d35e61aaf352b2f52b0e44d85870fe699c85fc95d1e352ccdb2fc6f24ea441c6",
"type": "text/html",
"ts": "2025-01-21 14:17:54"
},
{
"uri": "https://data-argo.ifremer.fr/dac/coriolis/3902131/3902131_Rtraj.nc",
"ext": "nc",
"sha": "e01267a37bd0c920e27f82ac22fea1205fd03dc394a51f4e080d767751480ac6",
"type": "application/x-netcdf",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:55"
},
{
"uri": "https://data-argo.ifremer.fr/dac/coriolis/3902131/3902131_Sprof.nc",
"ext": "nc",
"sha": "9ac344b346e765c2fd099bdc175e2473b69457657f13e0c145883d624c42125b",
"type": "application/x-netcdf",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:55"
},
{
"uri": "https://data-argo.ifremer.fr/dac/coriolis/3902131/3902131_meta.nc",
"ext": "nc",
"sha": "b3bb4cea2154595b78802f773418cc997b3d947f14dfcf0db3ebdcb5ca2ef57f",
"type": "application/x-netcdf",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:55"
},
{
"uri": "https://data-argo.ifremer.fr/dac/coriolis/3902131/3902131_prof.nc",
"ext": "nc",
"sha": "599048cf23aff02aa11ff30ed26204bb1cb0754fda914c7a936203289756c414",
"type": "application/x-netcdf",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:55"
},
{
"uri": "https://data-argo.ifremer.fr/dac/coriolis/3902131/3902131_tech.nc",
"ext": "nc",
"sha": "d1e615fa5d2e52b4e0442ff008775a5a141eae5ae31313df8d690569d0a8f66c",
"type": "application/x-netcdf",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:55"
},
{
"uri": "https://fleetmonitoring.euro-argo.eu/floats/3902131",
"ext": "json",
"sha": "8b63c8b6ff2237dd247aad286e488c3cfdbb61bda01dc484cfea3f75e30c4394",
"type": "application/json",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:55"
},
{
"uri": "https://fleetmonitoring.euro-argo.eu/technical-data/3902131",
"ext": "json",
"sha": "822b054a42bbcc46d2e05d0c94c019ca105cab470733eff36d62740abc130c02",
"type": "application/json",
"ts": "2025-01-20 15:28:52"
"ts": "2025-01-21 14:17:55"
}
]

0 comments on commit c9ff033

Please sign in to comment.