Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: d03d66f9 by Tony Chemit at 2024-04-30T10:15:06+02:00 Suppression des valeurs balise pays et bateau si l'appartenance à désactiver ces champs - Closes #2879 - - - - - 603ddcb9 by Tony Chemit at 2024-04-30T10:15:06+02:00 update pom - - - - - 8 changed files: - core/persistence/migration/src/main/java/fr/ird/observe/spi/migration/v9/DataSourceMigrationForVersion_9_3.java - − core/persistence/migration/src/main/resources/db/migration/v9/9.3/01_issue-2044-common.sql - + core/persistence/migration/src/main/resources/db/migration/v9/9.3/01_issue-2879-common.sql - core/persistence/test/src/test/resources/fixtures/persistence/table_count/referential.properties - core/services/test/src/main/resources/fixtures/fr/ird/observe/services/service/ValidateService-referentialResult-common.json - core/services/test/src/main/resources/fixtures/fr/ird/observe/services/service/ValidateService-referentialResult-ps.json - model/src/main/resources/fixtures/global.properties - pom.xml Changes: ===================================== core/persistence/migration/src/main/java/fr/ird/observe/spi/migration/v9/DataSourceMigrationForVersion_9_3.java ===================================== @@ -40,7 +40,7 @@ public class DataSourceMigrationForVersion_9_3 extends ByMajorMigrationVersionRe public DataSourceMigrationForVersion_9_3() { super(Version.valueOf("9.3"), false); - createResourceScriptVariables(this, "2024-04-29", "2023-12-01 00:00:00.000000"); + createResourceScriptVariables(this, "2024-05-01", "2024-05-01 00:00:00.000000"); } @Override @@ -48,7 +48,7 @@ public class DataSourceMigrationForVersion_9_3 extends ByMajorMigrationVersionRe boolean withIds = executor.findSingleResult(SqlQuery.wrap("SELECT COUNT (*) FROM common.person", r -> r.getInt(1) > 0)); if (withIds) { // See https://gitlab.com/ultreiaio/ird-observe/-/issues/2044 - executor.addScript("01", "issue-2044"); + executor.addScript("01", "issue-2879"); // See https://gitlab.com/ultreiaio/ird-observe/-/issues/2857 executor.addScript("02", "issue-2857"); // See https://gitlab.com/ultreiaio/ird-observe/-/issues/2869 ===================================== core/persistence/migration/src/main/resources/db/migration/v9/9.3/01_issue-2044-common.sql deleted ===================================== @@ -1,27 +0,0 @@ ---- --- #%L --- ObServe Core :: Persistence :: Migration --- %% --- Copyright (C) 2008 - 2023 IRD, Ultreia.io --- %% --- This program is free software: you can redistribute it and/or modify --- it under the terms of the GNU General Public License as --- published by the Free Software Foundation, either version 3 of the --- License, or (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public --- License along with this program. If not, see --- <http://www.gnu.org/licenses/gpl-3.0.html>. --- #L% ---- --- Unknown vessel → no vessel -UPDATE ps_observation.TransmittingBuoy SET vessel = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0'; -UPDATE ps_logbook.TransmittingBuoy SET vessel = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0'; --- This vessel → no country, nor vessel -UPDATE ps_observation.TransmittingBuoy SET country = NULL, vessel = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3'; -UPDATE ps_logbook.TransmittingBuoy SET country = NULL, vessel = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3'; ===================================== core/persistence/migration/src/main/resources/db/migration/v9/9.3/01_issue-2879-common.sql ===================================== @@ -0,0 +1,52 @@ +--- +-- #%L +-- ObServe Core :: Persistence :: Migration +-- %% +-- Copyright (C) 2008 - 2023 IRD, Ultreia.io +-- %% +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public +-- License along with this program. If not, see +-- <http://www.gnu.org/licenses/gpl-3.0.html>. +-- #L% +--- +INSERT INTO ps_common.TransmittingBuoyOwnership (topiaId, topiaVersion, topiaCreateDate, lastUpdateDate, code, uri, homeid, needComment, status, label1, label2, label3, label4, label5, label6, label7, label8) VALUES ('fr.ird.referential.ps.common.TransmittingBuoyOwnership#${REFERENTIAL_PREFIX}5', 0, ${CURRENT_DATE}, ${CURRENT_TIMESTAMP}, '5', null, null, false, 1, 'Other vessel, company not precised', 'A un autre bateau, armement non précisé', 'Barco ajeno, armador no especificado', null, null, null, null, null); +UPDATE common.LastUpdateDate SET lastUpdateDate = ${CURRENT_TIMESTAMP} WHERE type ='fr.ird.observe.entities.referential.ps.common.TransmittingBuoyOwnership'; + +-- This vessel +UPDATE ps_observation.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL, vessel = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel IS NOT NULL AND (SELECT t.vessel FROM ps_common.Trip t JOIN ps_observation.Route r ON r.trip = t.topiaId JOIN ps_observation.Activity a ON a.route = r.topiaId JOIN ps_observation.FloatingObject f ON f.activity = a.topiaId JOIN ps_observation.TransmittingBuoy tb ON tb.floatingObject = f.topiaId ) = vessel; +UPDATE ps_logbook.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL, vessel = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel IS NOT NULL AND (SELECT t.vessel FROM ps_common.Trip t JOIN ps_logbook.Route r ON r.trip = t.topiaId JOIN ps_logbook.Activity a ON a.route = r.topiaId JOIN ps_logbook.FloatingObject f ON f.activity = a.topiaId JOIN ps_logbook.TransmittingBuoy tb ON tb.floatingObject = f.topiaId ) = vessel; + +UPDATE ps_observation.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel = NULL; +UPDATE ps_logbook.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel = NULL; + +UPDATE ps_observation.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, vessel = NULL, transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0' WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel IS NOT NULL AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) >= 993 AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) <= 1000 AND (SELECT t.code FROM ps_common.TransmittingBuoyOperation t WHERE t.topiaId = transmittingBuoyOperation) IN ('1', '2', '99'); +UPDATE ps_logbook.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, vessel = NULL, transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0' WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel IS NOT NULL AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) >= 993 AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) <= 1000 AND (SELECT t.code FROM ps_common.TransmittingBuoyOperation t WHERE t.topiaId = transmittingBuoyOperation) IN ('1', '2', '99'); + +UPDATE ps_observation.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, vessel = NULL, country = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel IS NOT NULL AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) >= 993 AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) <= 1000 AND (SELECT t.code FROM ps_common.TransmittingBuoyOperation t WHERE t.topiaId = transmittingBuoyOperation) IN ('3', '4', '5'); +UPDATE ps_logbook.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, vessel = NULL, country = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel IS NOT NULL AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) >= 993 AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) <= 1000 AND (SELECT t.code FROM ps_common.TransmittingBuoyOperation t WHERE t.topiaId = transmittingBuoyOperation) IN ('3', '4', '5'); + +UPDATE ps_observation.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL, transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#${REFERENTIAL_PREFIX}5' WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel IS NOT NULL AND (SELECT t.vessel FROM ps_common.Trip t JOIN ps_observation.Route r ON r.trip = t.topiaId JOIN ps_observation.Activity a ON a.route = r.topiaId JOIN ps_observation.FloatingObject f ON f.activity = a.topiaId JOIN ps_observation.TransmittingBuoy tb ON tb.floatingObject = f.topiaId ) != vessel; +UPDATE ps_logbook.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL, transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#${REFERENTIAL_PREFIX}5' WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' AND vessel IS NOT NULL AND (SELECT t.vessel FROM ps_common.Trip t JOIN ps_logbook.Route r ON r.trip = t.topiaId JOIN ps_logbook.Activity a ON a.route = r.topiaId JOIN ps_logbook.FloatingObject f ON f.activity = a.topiaId JOIN ps_logbook.TransmittingBuoy tb ON tb.floatingObject = f.topiaId ) != vessel; + +-- Unknown vessel +UPDATE ps_observation.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL, vessel = NULL, transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0' AND vessel IS NOT NULL AND (SELECT t.vessel FROM ps_common.Trip t JOIN ps_observation.Route r ON r.trip = t.topiaId JOIN ps_observation.Activity a ON a.route = r.topiaId JOIN ps_observation.FloatingObject f ON f.activity = a.topiaId JOIN ps_observation.TransmittingBuoy tb ON tb.floatingObject = f.topiaId ) = vessel; +UPDATE ps_logbook.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL, vessel = NULL, transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#3' WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0' AND vessel IS NOT NULL AND (SELECT t.vessel FROM ps_common.Trip t JOIN ps_logbook.Route r ON r.trip = t.topiaId JOIN ps_logbook.Activity a ON a.route = r.topiaId JOIN ps_logbook.FloatingObject f ON f.activity = a.topiaId JOIN ps_logbook.TransmittingBuoy tb ON tb.floatingObject = f.topiaId ) = vessel; + +UPDATE ps_observation.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, vessel = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0' AND vessel IS NOT NULL AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) >= 993 AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) <= 1000; +UPDATE ps_logbook.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, vessel = NULL WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0' AND vessel IS NOT NULL AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) >= 993 AND (SELECT v.code FROM common.Vessel v WHERE v.topiaId = vessel) <= 1000; + +UPDATE ps_observation.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL, transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#${REFERENTIAL_PREFIX}5' WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0' AND vessel IS NOT NULL AND (SELECT t.vessel FROM ps_common.Trip t JOIN ps_observation.Route r ON r.trip = t.topiaId JOIN ps_observation.Activity a ON a.route = r.topiaId JOIN ps_observation.FloatingObject f ON f.activity = a.topiaId JOIN ps_observation.TransmittingBuoy tb ON tb.floatingObject = f.topiaId ) != vessel; +UPDATE ps_logbook.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL, transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#${REFERENTIAL_PREFIX}5' WHERE transmittingBuoyOwnership = 'fr.ird.referential.ps.common.TransmittingBuoyOwnership#0#0' AND vessel IS NOT NULL AND (SELECT t.vessel FROM ps_common.Trip t JOIN ps_logbook.Route r ON r.trip = t.topiaId JOIN ps_logbook.Activity a ON a.route = r.topiaId JOIN ps_logbook.FloatingObject f ON f.activity = a.topiaId JOIN ps_logbook.TransmittingBuoy tb ON tb.floatingObject = f.topiaId ) != vessel; + +UPDATE ps_observation.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL WHERE country != NULL AND vessel != NULL; +UPDATE ps_logbook.TransmittingBuoy SET lastUpdateDate = ${CURRENT_TIMESTAMP}, topiaVersion = topiaVersion + 1, country = NULL WHERE country != NULL AND vessel != NULL; ===================================== core/persistence/test/src/test/resources/fixtures/persistence/table_count/referential.properties ===================================== @@ -88,7 +88,7 @@ ps_common.sampleType=6 ps_common.schoolType=4 ps_common.speciesFate=15 ps_common.transmittingBuoyOperation=6 -ps_common.transmittingBuoyOwnership=5 +ps_common.transmittingBuoyOwnership=6 ps_common.transmittingBuoyType=62 ps_common.vesselActivity=39 ps_common.weightCategory=137 ===================================== core/services/test/src/main/resources/fixtures/fr/ird/observe/services/service/ValidateService-referentialResult-common.json ===================================== @@ -90400,7 +90400,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675737#0.43324169605639407", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90431,7 +90431,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1308149641588#0.8724092935671164", "topiaVersion": 6, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90462,7 +90462,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675737#0.3189669579867931", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90493,7 +90493,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675737#0.03138158577140615", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90524,7 +90524,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1308149718650#0.791946073811996", "topiaVersion": 6, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90555,7 +90555,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1464000000000#0.16", "topiaVersion": 1, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90576,7 +90576,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1464000000000#0.17", "topiaVersion": 1, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90597,7 +90597,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675734#0.24685054061673772", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90628,7 +90628,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1308149674400#0.8030832839591066", "topiaVersion": 6, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90654,7 +90654,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675734#0.4191950326431938", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90680,7 +90680,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675735#0.7380146830307519", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90711,7 +90711,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675735#0.9086075071905084", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90737,7 +90737,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675735#0.307197212385357", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90763,7 +90763,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675736#0.8708229847859869", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90789,7 +90789,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832686137#0.1", "topiaVersion": 3, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90815,7 +90815,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1464000000000#0.14", "topiaVersion": 1, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90831,7 +90831,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1464000000000#0.15", "topiaVersion": 1, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { @@ -90847,7 +90847,7 @@ "type": "fr.ird.observe.dto.referential.common.VesselTypeDto", "id": "fr.ird.referential.common.VesselType#1239832675735#0.044156847891821505", "topiaVersion": 15, - "lastUpdateDate": "2023-12-01T00:00:00.000Z" + "lastUpdateDate": "2024-05-01T00:00:00.000Z" }, "messages": [ { ===================================== core/services/test/src/main/resources/fixtures/fr/ird/observe/services/service/ValidateService-referentialResult-ps.json ===================================== @@ -6322,6 +6322,22 @@ } ] }, + { + "datum": { + "text": "5##A un autre bateau, armement non précisé", + "type": "fr.ird.observe.dto.referential.ps.common.TransmittingBuoyOwnershipDto", + "id": "fr.ird.referential.ps.common.TransmittingBuoyOwnership#1464000000000#5", + "topiaVersion": 0, + "lastUpdateDate": "2024-05-01T00:00:00.000Z" + }, + "messages": [ + { + "fieldName": "uri", + "scope": "WARNING", + "message": "Le champ n'est pas renseigné." + } + ] + }, { "datum": { "text": "1##Radiogoniomètre##[0-9]{1,10}", ===================================== model/src/main/resources/fixtures/global.properties ===================================== @@ -25,4 +25,4 @@ REFERENCE_DATA_COUNT=68 ENTITIES_LIMIT_SIZE=100 # fr.ird.observe.services.service.referential.ReferentialService # fr.ird.observe.services.local.service.referential.DifferentialModelTest -REFERENTIAL_COUNT=4368 +REFERENTIAL_COUNT=4369 ===================================== pom.xml ===================================== @@ -23,7 +23,7 @@ <parent> <groupId>io.ultreia.maven</groupId> <artifactId>pom</artifactId> - <version>2024.22</version> + <version>2024.23</version> </parent> <groupId>fr.ird.observe</groupId> <artifactId>ird-observe</artifactId> View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/74b1a777eed4041b10c03ed02... -- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/74b1a777eed4041b10c03ed02... You're receiving this email because of your account on gitlab.com.