From 5d5b03c421e924244341c5ac061ed5d44ed0c75f Mon Sep 17 00:00:00 2001 From: "Zimin A.N." Date: Wed, 6 May 2026 18:11:23 +0300 Subject: [PATCH] =?UTF-8?q?fix(cuod-bundle):=20spacecraft=20seed=20records?= =?UTF-8?q?=20=E2=80=94=20=D0=BC=D0=B8=D0=B3=D1=80=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D1=81=D1=82=D0=B0=D1=82=D1=83=D1=81=D1=8B?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D0=BD=D0=BE=D0=B2=D1=8B=D0=B9=20FK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bundle v1.2.1 ввёл x-references на spacecraft_status, но seed records оставались со старыми enum-значениями (ACTIVE, DECAYED) которых нет в spacecraft_status.records.json. Migration: - ACTIVE (12 records) → OPERATIONAL (штатная целевая работа) - DECAYED (2 records) → LOST (аварийная потеря или внеплановый сход) Mapping выбран по семантике: ACTIVE = currently working = OPERATIONAL. DECAYED означает unplanned re-entry = LOST (DECOMMISSIONED это плановый вывод). После следующего bundle re-import (TRUNCATE+restart) seed будет проходить x-references validation. --- .../cuod/records/spacecraft.records.json | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/ordinis-cuod-bundle/src/main/resources/bundles/cuod/records/spacecraft.records.json b/ordinis-cuod-bundle/src/main/resources/bundles/cuod/records/spacecraft.records.json index 07cb66c..033dc9f 100644 --- a/ordinis-cuod-bundle/src/main/resources/bundles/cuod/records/spacecraft.records.json +++ b/ordinis-cuod-bundle/src/main/resources/bundles/cuod/records/spacecraft.records.json @@ -16,7 +16,7 @@ "satellite_type_code": "OPT_MIDRES_MS", "mass_kg": 4864, "launch_date": "1999-12-18", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "semimajor_axis_km": 7083, @@ -47,7 +47,7 @@ "satellite_type_code": "SAR_X_HIRES", "mass_kg": 2300, "launch_date": "2014-04-03", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "semimajor_axis_km": 7064, @@ -78,7 +78,7 @@ "satellite_type_code": "OPT_MIDRES_MS", "mass_kg": 1140, "launch_date": "2015-06-23", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "semimajor_axis_km": 7167, @@ -107,7 +107,7 @@ "satellite_type_code": "SAR_X_HIRES", "mass_kg": 1050, "launch_date": "2024-08-13", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "inclination_deg": 97.5 @@ -131,7 +131,7 @@ "mass_kg": 5920, "launch_date": "2013-06-25", "decay_date": "2021-12-19", - "status": "DECAYED", + "status": "LOST", "orbit": { "type": "SSO", "inclination_deg": 97.27 }, "spectrum_bands": ["VIS", "NIR"], "mission": { "ru-RU": "Высокодетальная оптическая съёмка", "en-US": "High-resolution optical imaging" } @@ -149,7 +149,7 @@ "mass_kg": 5920, "launch_date": "2014-12-26", "decay_date": "2022-04-13", - "status": "DECAYED", + "status": "LOST", "orbit": { "type": "SSO", "inclination_deg": 97.27 } } }, @@ -164,7 +164,7 @@ "satellite_type_code": "OPT_HIRES_VIS", "mass_kg": 5920, "launch_date": "2016-03-13", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "inclination_deg": 97.28 }, "spectrum_bands": ["VIS", "NIR"] } @@ -179,7 +179,7 @@ "satellite_type_code": "OPT_HIRES_VIS", "mass_kg": 5920, "launch_date": "2024-03-31", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "inclination_deg": 97.28 }, "spectrum_bands": ["VIS", "NIR"] } @@ -195,7 +195,7 @@ "satellite_type_code": "OPT_HIRES_VIS", "mass_kg": 473, "launch_date": "2012-07-22", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "inclination_deg": 97.43 }, "spectrum_bands": ["VIS", "NIR"] } @@ -210,7 +210,7 @@ "satellite_type_code": "OPT_HIRES_VIS", "mass_kg": 473, "launch_date": "2017-12-01", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "inclination_deg": 97.45 } } }, @@ -224,7 +224,7 @@ "satellite_type_code": "OPT_MIDRES_MS", "mass_kg": 2900, "launch_date": "2014-07-08", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "inclination_deg": 98.86 }, "spectrum_bands": ["VIS", "NIR", "SWIR", "TIR"] } @@ -239,7 +239,7 @@ "satellite_type_code": "OPT_MIDRES_MS", "mass_kg": 2900, "launch_date": "2019-07-05", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "SSO", "inclination_deg": 98.83 } } }, @@ -253,7 +253,7 @@ "satellite_type_code": "OPT_MIDRES_MS", "mass_kg": 1740, "launch_date": "2015-12-11", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "GEO" }, "spectrum_bands": ["VIS", "NIR", "MWIR", "TIR"] } @@ -268,7 +268,7 @@ "satellite_type_code": "OPT_MIDRES_MS", "mass_kg": 2200, "launch_date": "2021-02-28", - "status": "ACTIVE", + "status": "OPERATIONAL", "orbit": { "type": "HEO" }, "spectrum_bands": ["VIS", "NIR", "MWIR", "TIR"] }