Upgrade Cesium runtime with versioned assets and verified cache-safe rollback
This commit is contained in:
@@ -117,7 +117,7 @@ def test_runtime_config_exposes_only_same_origin_contract_and_hides_internal_ori
|
||||
lambda request: httpx.Response(
|
||||
200,
|
||||
headers={"content-type": "application/json"},
|
||||
json={"ok": True, "rendererVersion": "1.143.0"},
|
||||
json={"ok": True, "rendererVersion": "1.147.0"},
|
||||
)
|
||||
)
|
||||
router = build_map_router(service)
|
||||
@@ -130,7 +130,7 @@ def test_runtime_config_exposes_only_same_origin_contract_and_hides_internal_ori
|
||||
document = json.loads(_response_body(response))
|
||||
assert document["schema_version"] == "missioncore.map-runtime/v1"
|
||||
assert document["map_page_version"] == "0.1.0"
|
||||
assert document["renderer"] == {"id": "cesium", "version": "1.143.0"}
|
||||
assert document["renderer"] == {"id": "cesium", "version": "1.147.0"}
|
||||
assert document["gateway"]["cache_proxy_prefix"].startswith("/api/v1/map/")
|
||||
assert document["assets"] == {
|
||||
"imagery": 2,
|
||||
|
||||
Reference in New Issue
Block a user