Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
d82501c5
by Tony Chemit at 2023-02-02T17:02:25+01:00
-
94b41c7c
by Tony Chemit at 2023-02-02T17:02:25+01:00
-
25701f5c
by Tony Chemit at 2023-02-02T17:02:25+01:00
-
7e1b4cad
by Tony Chemit at 2023-02-02T17:02:25+01:00
-
f8f52841
by Tony Chemit at 2023-02-02T17:02:25+01:00
-
51530561
by Tony Chemit at 2023-02-02T17:08:02+01:00
15 changed files:
- core/api/dto/src/main/i18n/getters/java-enumeration.getter
- core/api/dto/src/main/java/fr/ird/observe/dto/data/ps/TypeTransmittingBuoyOperation.java
- core/persistence/avdth/src/main/java/fr/ird/observe/persistence/avdth/data/logbook/FloatingObjectReader.java
- core/persistence/migration/src/main/java/fr/ird/observe/spi/migration/v9/DataSourceMigrationForVersion_9_1.java
- + core/persistence/migration/src/main/resources/db/migration/v9/9.1/05_add_referential_ps_common_TransmittingBuoyOperation_99-common.sql
- + core/persistence/migration/src/main/resources/db/migration/v9/9.1/05_add_referential_ps_common_TransmittingBuoyOperation_finalize-common.sql
- + core/persistence/migration/src/main/resources/db/migration/v9/9.1/05_add_referential_ps_landing_Destination_28-common.sql
- + core/persistence/migration/src/main/resources/db/migration/v9/9.1/05_add_referential_ps_landing_Destination_29-common.sql
- + core/persistence/migration/src/main/resources/db/migration/v9/9.1/05_add_referential_ps_landing_Destination_finalize-common.sql
- core/persistence/test/src/test/resources/fixtures/persistence/table_count/referential.properties
- core/services/i18n/src/main/i18n/translations/services_en_GB.properties
- core/services/i18n/src/main/i18n/translations/services_es_ES.properties
- core/services/i18n/src/main/i18n/translations/services_fr_FR.properties
- core/services/test/src/main/resources/fixtures/fr/ird/observe/services/service/ValidateService-referentialResult.json
- model/src/main/resources/fixtures/global.properties
Changes:
| ... | ... | @@ -45,4 +45,5 @@ observe.constant.TypeTransmittingBuoyOperation.grabAndChange |
| 45 | 45 | observe.constant.TypeTransmittingBuoyOperation.lost
|
| 46 | 46 | observe.constant.TypeTransmittingBuoyOperation.noBuoy
|
| 47 | 47 | observe.constant.TypeTransmittingBuoyOperation.posing
|
| 48 | +observe.constant.TypeTransmittingBuoyOperation.unknown
|
|
| 48 | 49 | observe.constant.TypeTransmittingBuoyOperation.visit |
| ... | ... | @@ -40,6 +40,7 @@ public enum TypeTransmittingBuoyOperation { |
| 40 | 40 | grab(false, "2"),
|
| 41 | 41 | posing(false, "3"),
|
| 42 | 42 | lost(true, "4"),
|
| 43 | + unknown(false, "99"),
|
|
| 43 | 44 | endOfUse(true, "5"),
|
| 44 | 45 | |
| 45 | 46 | // two buoy
|
| ... | ... | @@ -77,8 +77,8 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { |
| 77 | 77 | .put("1", "99")
|
| 78 | 78 | .put("2", "99")
|
| 79 | 79 | |
| 80 | - .put("3", "2")
|
|
| 81 | - .put("4", "2")
|
|
| 80 | + .put("3", "99")
|
|
| 81 | + .put("4", "99")
|
|
| 82 | 82 | .put("5", "1")
|
| 83 | 83 | .put("6", "4")
|
| 84 | 84 | |
| ... | ... | @@ -112,21 +112,23 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { |
| 112 | 112 | * If for a given {@code ACTIVITE.C_OPERA}, no value is found here, this means that there is no buoy to create.
|
| 113 | 113 | */
|
| 114 | 114 | public static final Map<String, String> TRANSMITTING_BUOY_OPERATION_CODE_MAPPING = ImmutableMap.<String, String>builder()
|
| 115 | - .put("3", "1") // Visite | Visite
|
|
| 116 | - .put("4", "1") // Visite | Visite
|
|
| 115 | + .put("0", "99") // Inconnu | Inconnu
|
|
| 116 | + .put("1", "99") // Inconnu | Inconnu
|
|
| 117 | + .put("2", "99") // Inconnu | Inconnu
|
|
| 118 | + .put("3", "99") // Inconnu | Inconnu
|
|
| 119 | + .put("4", "99") // Inconnu | Inconnu
|
|
| 117 | 120 | .put("5", "3") // Mise à l'eau | null ou 3 Mise à l'eau
|
| 118 | 121 | .put("6", "2") // Retrait | null ou 2 Récupération
|
| 119 | - .put("7", "1") // Visite | Visite
|
|
| 120 | - .put("10", "1")// Visite | Visite
|
|
| 121 | - .put("12", "1")// Visite | Visite
|
|
| 122 | - .put("13", "1")// Visite | Visite
|
|
| 123 | - .put("14", "1")// Visite | Visite
|
|
| 124 | - .put("15", "1")// Visite | Visite
|
|
| 122 | + |
|
| 123 | + .put("14", "99")// Inconnu | Inconnu
|
|
| 124 | + .put("22", "99") // Normalement il ne devrait pas y avoir de balise
|
|
| 125 | 125 | .put("23", "3") // Mise à l'eau | 3 Mise à l'eau
|
| 126 | 126 | .put("24", "2") // Retrait | 2 Récupération
|
| 127 | 127 | .put("25", "3") // Visite | 3 Mise à l'eau
|
| 128 | 128 | .put("26", "2") // Visite | 2 Récupération
|
| 129 | 129 | .put("29", "1") // Visite | 1 Visite
|
| 130 | + .put("30", "99") // Inconnu | Inconnu
|
|
| 131 | + .put("31", "99") // Modif ou renfor| Inconnu
|
|
| 130 | 132 | .put("32", "3") // Modif ou renfor | 3 Mise à l'eau
|
| 131 | 133 | .put("33", "4") // Perte | 4 Perte signal
|
| 132 | 134 | .put("34", "2") // Retrait | 2 Récupération
|
| ... | ... | @@ -226,7 +228,7 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { |
| 226 | 228 | /**
|
| 227 | 229 | * To get associated observedSystem code from avdth ACTIVITE.C_TYP_OBJET code.
|
| 228 | 230 | */
|
| 229 | - public static final Map<String, String> OBSERVED_SYSTEM_CODE_MAPPING = ImmutableMap.<String, String>builder()
|
|
| 231 | + public static final Map<String, String> OBSERVED_SYSTEM_FROM_OBJECT_OPERATION_CODE_MAPPING = ImmutableMap.<String, String>builder()
|
|
| 230 | 232 | .put("1", "20")
|
| 231 | 233 | .put("2", "20")
|
| 232 | 234 | .put("3", "20")
|
| ... | ... | @@ -286,9 +288,19 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { |
| 286 | 288 | // Is floating object exists in avdth?
|
| 287 | 289 | boolean floatingObjectExistsInAvdth = !objectTypeCode.equals("999");
|
| 288 | 290 | |
| 289 | - if (!floatingObjectExistsInAvdth && !floatingObjectCreatedByObservedSystem) {
|
|
| 290 | - // If Floating object does not exist in avdth, neither need to be created by observed system,
|
|
| 291 | - // Do not create the floating object (no log is required here)
|
|
| 291 | + String buoyTypeCode = resultSet.getString(31);
|
|
| 292 | + if (buoyTypeCode == null) {
|
|
| 293 | + // If null, then consider it as not found in avdth
|
|
| 294 | + buoyTypeCode = "999";
|
|
| 295 | + }
|
|
| 296 | + // IS buoy exists in avdth?
|
|
| 297 | + boolean buoyExistsInAvdth = !"999".equals(buoyTypeCode);
|
|
| 298 | + |
|
| 299 | + if (!floatingObjectExistsInAvdth && !buoyExistsInAvdth && !floatingObjectCreatedByObservedSystem) {
|
|
| 300 | + // If Floating object does not exist in avdth,
|
|
| 301 | + // neither the buoy exist in avdth,
|
|
| 302 | + // neither need to be created by observed system,
|
|
| 303 | + // Do not create the floating object (no log is required here: we are on an activity with no floating object)
|
|
| 292 | 304 | reset(dataContext);
|
| 293 | 305 | return null;
|
| 294 | 306 | }
|
| ... | ... | @@ -299,37 +311,41 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { |
| 299 | 311 | String realObserveVesselActivityCode = CHANGED_VESSEL_ACTIVITY_CODE_BY_FLOATING_OBJECT.get(observeVesselActivityCode);
|
| 300 | 312 | if (realObserveVesselActivityCode == null) {
|
| 301 | 313 | |
| 302 | - // If ObServe veseel activity does not support Floating object, reject import
|
|
| 314 | + // No extra mapping found for vessel activity, we will not import the floating object
|
|
| 315 | + |
|
| 303 | 316 | List<Object> activityPrimaryKey = ActivityReader.getActivityPk(resultSet);
|
| 304 | 317 | String activityPk = Query.primaryKeyString(activityPrimaryKey);
|
| 305 | - String message = String.format("For AVDTH activity %s (ACTIVITE.C_OPERA %s), the ObServe vessel activity (code: %s, label: %s) does not allow FAD, we still import it... (floatingObjectExistsInAvdth? %b, floatingObjectCreatedByObservedSystem? %b).",
|
|
| 318 | + String message = String.format("For AVDTH activity %s (ACTIVITE.C_OPERA %s), the ObServe vessel activity (code: %s, label: %s) does not allow FAD, we will not import it... (floatingObjectExistsInAvdth? %b, buoyExistsInAvdth? %b, floatingObjectCreatedByObservedSystem? %b).",
|
|
| 306 | 319 | activityPk,
|
| 307 | 320 | vesselActivityCode,
|
| 308 | 321 | vesselActivity.getCode(),
|
| 309 | 322 | vesselActivity.getLabel1(),
|
| 310 | 323 | floatingObjectExistsInAvdth,
|
| 324 | + buoyExistsInAvdth,
|
|
| 311 | 325 | floatingObjectCreatedByObservedSystem);
|
| 312 | 326 | log.warn(message);
|
| 313 | - badVesselActivityCodes.computeIfAbsent(vesselActivityCode, MutableInt::new).increment();
|
|
| 314 | - |
|
| 315 | -// // do not create the floating object
|
|
| 316 | -// reset(dataContext);
|
|
| 317 | -// return null;
|
|
| 318 | - |
|
| 319 | - } else {
|
|
| 320 | - // See https://gitlab.com/ultreiaio/ird-observe/-/issues/2612
|
|
| 321 | - switch (realObserveVesselActivityCode) {
|
|
| 322 | - case "101":
|
|
| 323 | - // Use vessel activity 101
|
|
| 324 | - activity.setVesselActivity(dataContext.getVesselActivity101());
|
|
| 325 | - break;
|
|
| 326 | - case "102":
|
|
| 327 | - // Use vessel activity 102
|
|
| 328 | - activity.setVesselActivity(dataContext.getVesselActivity102());
|
|
| 329 | - break;
|
|
| 327 | + if (floatingObjectExistsInAvdth || buoyExistsInAvdth) {
|
|
| 328 | + // this will reject import (except if force import option is set on)
|
|
| 329 | + addMessage(message);
|
|
| 330 | + badVesselActivityCodes.computeIfAbsent(vesselActivityCode, MutableInt::new).increment();
|
|
| 330 | 331 | }
|
| 332 | + |
|
| 333 | + // do not create the floating object
|
|
| 334 | + reset(dataContext);
|
|
| 335 | + return null;
|
|
| 331 | 336 | }
|
| 332 | 337 | |
| 338 | + // See https://gitlab.com/ultreiaio/ird-observe/-/issues/2612
|
|
| 339 | + switch (realObserveVesselActivityCode) {
|
|
| 340 | + case "101":
|
|
| 341 | + // Use vessel activity 101
|
|
| 342 | + activity.setVesselActivity(dataContext.getVesselActivity101());
|
|
| 343 | + break;
|
|
| 344 | + case "102":
|
|
| 345 | + // Use vessel activity 102
|
|
| 346 | + activity.setVesselActivity(dataContext.getVesselActivity102());
|
|
| 347 | + break;
|
|
| 348 | + }
|
|
| 333 | 349 | }
|
| 334 | 350 | |
| 335 | 351 | FloatingObject entity = newEntity(FloatingObject.SPI);
|
| ... | ... | @@ -338,15 +354,7 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { |
| 338 | 354 | ObjectOperation objectOperation = getObjectOperationByVesselActivityCode(dataContext, vesselActivityCode);
|
| 339 | 355 | entity.setObjectOperation(Objects.requireNonNull(objectOperation, String.format("No mapping for FloatingObject.objectOperation from ACTIVITE.C_OPERA: %s", vesselActivityCode)));
|
| 340 | 356 | |
| 341 | - String buoyTypeCode = resultSet.getString(31);
|
|
| 342 | - if (buoyTypeCode == null) {
|
|
| 343 | - // If null, then consider it as not found in avdth
|
|
| 344 | - buoyTypeCode = "999";
|
|
| 345 | - }
|
|
| 346 | - // IS buoy exists in avdth?
|
|
| 347 | - boolean buoyExistsInAvdth = !"999".equals(buoyTypeCode);
|
|
| 348 | - |
|
| 349 | - ObservedSystem observedSystem = getObservedSystem(dataContext, objectTypeCode, floatingObjectExistsInAvdth, buoyExistsInAvdth);
|
|
| 357 | + ObservedSystem observedSystem = getObservedSystem(dataContext, objectOperation, objectTypeCode, floatingObjectExistsInAvdth, buoyExistsInAvdth);
|
|
| 350 | 358 | if (observedSystem != null) {
|
| 351 | 359 | activity.addObservedSystem(observedSystem);
|
| 352 | 360 | }
|
| ... | ... | @@ -445,25 +453,29 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { |
| 445 | 453 | }
|
| 446 | 454 | |
| 447 | 455 | private TransmittingBuoy getBuoyFromAvdthActivity(ImportDataContext dataContext, ResultSet resultSet, String buoyTypeCode, String vesselActivityCode, ObjectOperation objectOperation, Activity activity) throws SQLException {
|
| 448 | - boolean addCoordinate = "11".equals(objectOperation.getCode());
|
|
| 449 | - TransmittingBuoyType transmittingBuoyType = getTransmittingBuoyTypeByBuoyTypeCode(dataContext, buoyTypeCode);
|
|
| 450 | 456 | TransmittingBuoyOperation transmittingBuoyOperation = getTransmittingBuoyOperationByVesselActivityCode(dataContext, vesselActivityCode);
|
| 451 | - if (transmittingBuoyOperation != null) {
|
|
| 452 | - String buoyOwnershipCode = resultSet.getString(30);
|
|
| 453 | - String buoyId = resultSet.getString(32);
|
|
| 454 | - TransmittingBuoy transmittingBuoy = newEntity(TransmittingBuoy.SPI, transmittingBuoyCount);
|
|
| 455 | - transmittingBuoy.setTransmittingBuoyOperation(transmittingBuoyOperation);
|
|
| 456 | - transmittingBuoy.setTransmittingBuoyType(transmittingBuoyType);
|
|
| 457 | - transmittingBuoy.setCode(buoyId);
|
|
| 458 | - if (addCoordinate) {
|
|
| 459 | - transmittingBuoy.setLatitude(activity.getLatitude());
|
|
| 460 | - transmittingBuoy.setLongitude(activity.getLongitude());
|
|
| 461 | - }
|
|
| 462 | - TransmittingBuoyOwnership transmittingBuoyOwnership = getTransmittingBuoyOwnership(dataContext, buoyOwnershipCode);
|
|
| 463 | - transmittingBuoy.setTransmittingBuoyOwnership(transmittingBuoyOwnership);
|
|
| 464 | - return transmittingBuoy;
|
|
| 457 | + if (transmittingBuoyOperation == null) {
|
|
| 458 | + List<Object> activityPrimaryKey = ActivityReader.getActivityPk(resultSet);
|
|
| 459 | + String activityPk = Query.primaryKeyString(activityPrimaryKey);
|
|
| 460 | + // Reject import, since we can not find the buoy operation from ACTIVITE.C_OPERA
|
|
| 461 | + addMessage(String.format("For AVDTH activity: %s, could not find transmittingBuoyOperation from ACTIVITE.C_OPERA: %s", activityPk, vesselActivityCode));
|
|
| 462 | + return null;
|
|
| 465 | 463 | }
|
| 466 | - return null;
|
|
| 464 | + TransmittingBuoyType transmittingBuoyType = getTransmittingBuoyTypeByBuoyTypeCode(dataContext, buoyTypeCode);
|
|
| 465 | + String buoyOwnershipCode = resultSet.getString(30);
|
|
| 466 | + String buoyId = resultSet.getString(32);
|
|
| 467 | + TransmittingBuoy transmittingBuoy = newEntity(TransmittingBuoy.SPI, transmittingBuoyCount);
|
|
| 468 | + transmittingBuoy.setTransmittingBuoyOperation(transmittingBuoyOperation);
|
|
| 469 | + transmittingBuoy.setTransmittingBuoyType(transmittingBuoyType);
|
|
| 470 | + transmittingBuoy.setCode(buoyId);
|
|
| 471 | + boolean addCoordinate = "11".equals(objectOperation.getCode());
|
|
| 472 | + if (addCoordinate) {
|
|
| 473 | + transmittingBuoy.setLatitude(activity.getLatitude());
|
|
| 474 | + transmittingBuoy.setLongitude(activity.getLongitude());
|
|
| 475 | + }
|
|
| 476 | + TransmittingBuoyOwnership transmittingBuoyOwnership = getTransmittingBuoyOwnership(dataContext, buoyOwnershipCode);
|
|
| 477 | + transmittingBuoy.setTransmittingBuoyOwnership(transmittingBuoyOwnership);
|
|
| 478 | + return transmittingBuoy;
|
|
| 467 | 479 | }
|
| 468 | 480 | |
| 469 | 481 | private TransmittingBuoy getBuoyFromObservedSystem(ImportDataContext dataContext) {
|
| ... | ... | @@ -514,14 +526,18 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { |
| 514 | 526 | return dataContext.getObjectOperation(Objects.requireNonNull(objectOperationCode, String.format("Can't find objectOperation with ACTIVITE.C_OPERA: %s", vesselActivityCode)));
|
| 515 | 527 | }
|
| 516 | 528 | |
| 517 | - private ObservedSystem getObservedSystem(ImportDataContext dataContext, String objectTypeCode, boolean floatingObjectExistsInAvdth, boolean buoyExistsInAvdth) {
|
|
| 529 | + private ObservedSystem getObservedSystem(ImportDataContext dataContext,
|
|
| 530 | + ObjectOperation objectOperation,
|
|
| 531 | + String objectTypeCode,
|
|
| 532 | + boolean floatingObjectExistsInAvdth,
|
|
| 533 | + boolean buoyExistsInAvdth) {
|
|
| 518 | 534 | if (!floatingObjectExistsInAvdth) {
|
| 519 | - if (!buoyExistsInAvdth) {
|
|
| 520 | - return dataContext.getObservedSystem0();
|
|
| 535 | + if (buoyExistsInAvdth && !objectOperation.getCode().equals("1")) {
|
|
| 536 | + return dataContext.getObservedSystem20();
|
|
| 521 | 537 | }
|
| 522 | - return dataContext.getObservedSystem20();
|
|
| 538 | + return null;
|
|
| 523 | 539 | }
|
| 524 | - String observedSystemCode = OBSERVED_SYSTEM_CODE_MAPPING.get(objectTypeCode);
|
|
| 540 | + String observedSystemCode = OBSERVED_SYSTEM_FROM_OBJECT_OPERATION_CODE_MAPPING.get(objectTypeCode);
|
|
| 525 | 541 | return dataContext.getObservedSystem(observedSystemCode, false);
|
| 526 | 542 | }
|
| 527 | 543 |
| ... | ... | @@ -89,7 +89,7 @@ public class DataSourceMigrationForVersion_9_1 extends ByMajorMigrationVersionRe |
| 89 | 89 | public DataSourceMigrationForVersion_9_1() {
|
| 90 | 90 | super(Version.valueOf("9.1"), true);
|
| 91 | 91 | ByMajorMigrationVersionResource.createResourceScriptVariables(this, "2022-09-14", "2022-09-14 00:00:00.000000");
|
| 92 | - idFactory = new TopiaIdFactoryForBulkSupport(LocalDateTime.of(2022, 9, 14,0,0).toInstant(ZoneOffset.UTC).toEpochMilli());
|
|
| 92 | + idFactory = new TopiaIdFactoryForBulkSupport(LocalDateTime.of(2022, 9, 14, 0, 0).toInstant(ZoneOffset.UTC).toEpochMilli());
|
|
| 93 | 93 | }
|
| 94 | 94 | |
| 95 | 95 | static class WellPlanStructure {
|
| ... | ... | @@ -276,6 +276,8 @@ public class DataSourceMigrationForVersion_9_1 extends ByMajorMigrationVersionRe |
| 276 | 276 | |
| 277 | 277 | if (withIds) {
|
| 278 | 278 | addVesselActivities(executor);
|
| 279 | + addTransmittingBuoyOperation(executor);
|
|
| 280 | + addDestination(executor);
|
|
| 279 | 281 | }
|
| 280 | 282 | // See https://gitlab.com/ultreiaio/ird-observe/-/issues/2435
|
| 281 | 283 | addNewTable(executor, withIds, "06", "table-common_sizemeasuremethod");
|
| ... | ... | @@ -295,6 +297,34 @@ public class DataSourceMigrationForVersion_9_1 extends ByMajorMigrationVersionRe |
| 295 | 297 | }
|
| 296 | 298 | }
|
| 297 | 299 | |
| 300 | + private void addTransmittingBuoyOperation(MigrationVersionResourceExecutor executor) {
|
|
| 301 | + Set<String> existingCodes = executor.findMultipleResultAstSet(SqlQuery.wrap("SELECT CODE FROM ps_common.TransmittingBuoyOperation", resultSet -> resultSet.getString(1)));
|
|
| 302 | + Set<String> newCodes = new LinkedHashSet<>();
|
|
| 303 | + Stream.of("99").forEach(code -> {
|
|
| 304 | + if (!existingCodes.contains(code)) {
|
|
| 305 | + executor.addScript("05", "add_referential_ps_common_TransmittingBuoyOperation_" + code);
|
|
| 306 | + newCodes.add(code);
|
|
| 307 | + }
|
|
| 308 | + });
|
|
| 309 | + if (!newCodes.isEmpty()) {
|
|
| 310 | + executor.addScript("05", "add_referential_ps_common_TransmittingBuoyOperation_finalize");
|
|
| 311 | + }
|
|
| 312 | + }
|
|
| 313 | + |
|
| 314 | + private void addDestination(MigrationVersionResourceExecutor executor) {
|
|
| 315 | + Set<String> existingCodes = executor.findMultipleResultAstSet(SqlQuery.wrap("SELECT CODE FROM ps_landing.Destination", resultSet -> resultSet.getString(1)));
|
|
| 316 | + Set<String> newCodes = new LinkedHashSet<>();
|
|
| 317 | + Stream.of("28", "29").forEach(code -> {
|
|
| 318 | + if (!existingCodes.contains(code)) {
|
|
| 319 | + executor.addScript("05", "add_referential_ps_landing_Destination_" + code);
|
|
| 320 | + newCodes.add(code);
|
|
| 321 | + }
|
|
| 322 | + });
|
|
| 323 | + if (!newCodes.isEmpty()) {
|
|
| 324 | + executor.addScript("05", "add_referential_ps_landing_Destination_finalize");
|
|
| 325 | + }
|
|
| 326 | + }
|
|
| 327 | + |
|
| 298 | 328 | private Map<String, List<WellPlanStructure>> splitByTrip(List<WellPlanStructure> existingWellPlan) {
|
| 299 | 329 | String tripId = null;
|
| 300 | 330 | List<WellPlanStructure> forTrip = null;
|
| 1 | +---
|
|
| 2 | +-- #%L
|
|
| 3 | +-- ObServe Core :: Persistence :: Migration
|
|
| 4 | +-- %%
|
|
| 5 | +-- Copyright (C) 2008 - 2023 IRD, Ultreia.io
|
|
| 6 | +-- %%
|
|
| 7 | +-- This program is free software: you can redistribute it and/or modify
|
|
| 8 | +-- it under the terms of the GNU General Public License as
|
|
| 9 | +-- published by the Free Software Foundation, either version 3 of the
|
|
| 10 | +-- License, or (at your option) any later version.
|
|
| 11 | +--
|
|
| 12 | +-- This program is distributed in the hope that it will be useful,
|
|
| 13 | +-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 14 | +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 15 | +-- GNU General Public License for more details.
|
|
| 16 | +--
|
|
| 17 | +-- You should have received a copy of the GNU General Public
|
|
| 18 | +-- License along with this program. If not, see
|
|
| 19 | +-- <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 20 | +-- #L%
|
|
| 21 | +---
|
|
| 22 | +INSERT INTO ps_common.TransmittingBuoyOperation(topiaid, topiaversion, topiacreatedate, lastupdatedate, code, uri, homeid, needcomment, status, label1, label2, label3, label4, label5, label6, label7, label8) VALUES ('fr.ird.referential.ps.common.TransmittingBuoyOperation#${REFERENTIAL_PREFIX}99', 0, ${CURRENT_DATE}, ${CURRENT_TIMESTAMP}, '99', null, null, FALSE, 0, 'Unknown', 'Inconnue', 'Unknown TODO', null, null, null, null, null); |
| 1 | +---
|
|
| 2 | +-- #%L
|
|
| 3 | +-- ObServe Core :: Persistence :: Migration
|
|
| 4 | +-- %%
|
|
| 5 | +-- Copyright (C) 2008 - 2023 IRD, Ultreia.io
|
|
| 6 | +-- %%
|
|
| 7 | +-- This program is free software: you can redistribute it and/or modify
|
|
| 8 | +-- it under the terms of the GNU General Public License as
|
|
| 9 | +-- published by the Free Software Foundation, either version 3 of the
|
|
| 10 | +-- License, or (at your option) any later version.
|
|
| 11 | +--
|
|
| 12 | +-- This program is distributed in the hope that it will be useful,
|
|
| 13 | +-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 14 | +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 15 | +-- GNU General Public License for more details.
|
|
| 16 | +--
|
|
| 17 | +-- You should have received a copy of the GNU General Public
|
|
| 18 | +-- License along with this program. If not, see
|
|
| 19 | +-- <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 20 | +-- #L%
|
|
| 21 | +---
|
|
| 22 | +UPDATE common.LastUpdateDate SET lastUpdateDate = ${CURRENT_TIMESTAMP} WHERE type ='fr.ird.observe.entities.referential.ps.common.TransmittingBuoyOperation'; |
| 1 | +---
|
|
| 2 | +-- #%L
|
|
| 3 | +-- ObServe Core :: Persistence :: Migration
|
|
| 4 | +-- %%
|
|
| 5 | +-- Copyright (C) 2008 - 2023 IRD, Ultreia.io
|
|
| 6 | +-- %%
|
|
| 7 | +-- This program is free software: you can redistribute it and/or modify
|
|
| 8 | +-- it under the terms of the GNU General Public License as
|
|
| 9 | +-- published by the Free Software Foundation, either version 3 of the
|
|
| 10 | +-- License, or (at your option) any later version.
|
|
| 11 | +--
|
|
| 12 | +-- This program is distributed in the hope that it will be useful,
|
|
| 13 | +-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 14 | +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 15 | +-- GNU General Public License for more details.
|
|
| 16 | +--
|
|
| 17 | +-- You should have received a copy of the GNU General Public
|
|
| 18 | +-- License along with this program. If not, see
|
|
| 19 | +-- <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 20 | +-- #L%
|
|
| 21 | +---
|
|
| 22 | +INSERT INTO ps_landing.Destination(topiaid, topiaversion, topiacreatedate, lastUpdateDate, needComment, status, code, label1, label2, label3) VALUES ('fr.ird.referential.ps.landing.Destination#${REFERENTIAL_PREFIX}28', 0, ${CURRENT_DATE}, ${CURRENT_TIMESTAMP}, FALSE, 1, '28' , 'Local market', 'Marché local', 'Local market TODO'); |
|
| \ No newline at end of file |
| 1 | +---
|
|
| 2 | +-- #%L
|
|
| 3 | +-- ObServe Core :: Persistence :: Migration
|
|
| 4 | +-- %%
|
|
| 5 | +-- Copyright (C) 2008 - 2023 IRD, Ultreia.io
|
|
| 6 | +-- %%
|
|
| 7 | +-- This program is free software: you can redistribute it and/or modify
|
|
| 8 | +-- it under the terms of the GNU General Public License as
|
|
| 9 | +-- published by the Free Software Foundation, either version 3 of the
|
|
| 10 | +-- License, or (at your option) any later version.
|
|
| 11 | +--
|
|
| 12 | +-- This program is distributed in the hope that it will be useful,
|
|
| 13 | +-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 14 | +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 15 | +-- GNU General Public License for more details.
|
|
| 16 | +--
|
|
| 17 | +-- You should have received a copy of the GNU General Public
|
|
| 18 | +-- License along with this program. If not, see
|
|
| 19 | +-- <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 20 | +-- #L%
|
|
| 21 | +---
|
|
| 22 | +INSERT INTO ps_landing.Destination(topiaid, topiaversion, topiacreatedate, lastUpdateDate, needComment, status, code, label1, label2, label3) VALUES ('fr.ird.referential.ps.landing.Destination#${REFERENTIAL_PREFIX}29', 0, ${CURRENT_DATE}, ${CURRENT_TIMESTAMP}, FALSE, 1, '29' , 'CCCS (Central Common Cold Store)', 'CCCS (Central Common Cold Store)', 'CCCS (Central Common Cold Store)'); |
|
| \ No newline at end of file |
| 1 | +---
|
|
| 2 | +-- #%L
|
|
| 3 | +-- ObServe Core :: Persistence :: Migration
|
|
| 4 | +-- %%
|
|
| 5 | +-- Copyright (C) 2008 - 2023 IRD, Ultreia.io
|
|
| 6 | +-- %%
|
|
| 7 | +-- This program is free software: you can redistribute it and/or modify
|
|
| 8 | +-- it under the terms of the GNU General Public License as
|
|
| 9 | +-- published by the Free Software Foundation, either version 3 of the
|
|
| 10 | +-- License, or (at your option) any later version.
|
|
| 11 | +--
|
|
| 12 | +-- This program is distributed in the hope that it will be useful,
|
|
| 13 | +-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 14 | +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 15 | +-- GNU General Public License for more details.
|
|
| 16 | +--
|
|
| 17 | +-- You should have received a copy of the GNU General Public
|
|
| 18 | +-- License along with this program. If not, see
|
|
| 19 | +-- <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 20 | +-- #L%
|
|
| 21 | +---
|
|
| 22 | +UPDATE common.LastUpdateDate SET lastUpdateDate = ${CURRENT_TIMESTAMP} WHERE type ='fr.ird.observe.entities.referential.ps.landing.Destination'; |
| ... | ... | @@ -86,12 +86,12 @@ ps_common.reasonForNullSet=10 |
| 86 | 86 | ps_common.sampleType=6
|
| 87 | 87 | ps_common.schoolType=4
|
| 88 | 88 | ps_common.speciesFate=15
|
| 89 | -ps_common.transmittingBuoyOperation=5
|
|
| 89 | +ps_common.transmittingBuoyOperation=6
|
|
| 90 | 90 | ps_common.transmittingBuoyOwnership=5
|
| 91 | 91 | ps_common.transmittingBuoyType=62
|
| 92 | 92 | ps_common.vesselActivity=39
|
| 93 | 93 | ps_common.weightCategory=137
|
| 94 | -ps_landing.destination=28
|
|
| 94 | +ps_landing.destination=30
|
|
| 95 | 95 | ps_landing.fate=2
|
| 96 | 96 | ps_localmarket.batchComposition=3
|
| 97 | 97 | ps_localmarket.batchWeightType=4
|
| ... | ... | @@ -457,6 +457,7 @@ observe.constant.TypeTransmittingBuoyOperation.grabAndChange=Grab and change |
| 457 | 457 | observe.constant.TypeTransmittingBuoyOperation.lost=Lost
|
| 458 | 458 | observe.constant.TypeTransmittingBuoyOperation.noBuoy=No Beacon
|
| 459 | 459 | observe.constant.TypeTransmittingBuoyOperation.posing=Posing
|
| 460 | +observe.constant.TypeTransmittingBuoyOperation.unknown=Unknown
|
|
| 460 | 461 | observe.constant.TypeTransmittingBuoyOperation.visit=Visit
|
| 461 | 462 | observe.data.Activity.comment2=Only activity of type %s and %s allows you to fill DCPs.
|
| 462 | 463 | observe.data.Activity.validation.duplicated.number=There is already another activity with this number.
|
| ... | ... | @@ -457,6 +457,7 @@ observe.constant.TypeTransmittingBuoyOperation.grabAndChange=Recuperación y col |
| 457 | 457 | observe.constant.TypeTransmittingBuoyOperation.lost=Lost
|
| 458 | 458 | observe.constant.TypeTransmittingBuoyOperation.noBuoy=DCP sin baliza
|
| 459 | 459 | observe.constant.TypeTransmittingBuoyOperation.posing=Colocación de nueva baliza
|
| 460 | +observe.constant.TypeTransmittingBuoyOperation.unknown=Desconocido
|
|
| 460 | 461 | observe.constant.TypeTransmittingBuoyOperation.visit=Visita a la baliza
|
| 461 | 462 | observe.data.Activity.comment2=Solo la actividad %1$s or %2$s permite introducir un DCPs.
|
| 462 | 463 | observe.data.Activity.validation.duplicated.number=There is already another activity with this number. \#TODO
|
| ... | ... | @@ -457,6 +457,7 @@ observe.constant.TypeTransmittingBuoyOperation.grabAndChange=Récupération et p |
| 457 | 457 | observe.constant.TypeTransmittingBuoyOperation.lost=Perte / fin de transmission
|
| 458 | 458 | observe.constant.TypeTransmittingBuoyOperation.noBuoy=Pas de balise liée au DCP
|
| 459 | 459 | observe.constant.TypeTransmittingBuoyOperation.posing=Pose d'une nouvelle balise
|
| 460 | +observe.constant.TypeTransmittingBuoyOperation.unknown=Inconnu
|
|
| 460 | 461 | observe.constant.TypeTransmittingBuoyOperation.visit=Simple visite de la balise
|
| 461 | 462 | observe.data.Activity.comment2=Seule l'activité %1$s ou %2$s permet de saisir des objets flottants.
|
| 462 | 463 | observe.data.Activity.validation.duplicated.number=Il existe déjà une autre activité avec ce numéro.
|
| ... | ... | @@ -10394,114 +10394,6 @@ |
| 10394 | 10394 | }
|
| 10395 | 10395 | ]
|
| 10396 | 10396 | },
|
| 10397 | - {
|
|
| 10398 | - "reference": {
|
|
| 10399 | - "type": "fr.ird.observe.dto.referential.common.SizeMeasureMethodReference",
|
|
| 10400 | - "content": {
|
|
| 10401 | - "code": "1",
|
|
| 10402 | - "label": "Pied à coulisse",
|
|
| 10403 | - "needComment": false,
|
|
| 10404 | - "enabled": true,
|
|
| 10405 | - "id": "fr.ird.referential.common.SizeMeasureMethod#666#01",
|
|
| 10406 | - "lastUpdateDate": "2021-09-17T00:00:00.000Z",
|
|
| 10407 | - "topiaVersion": 1,
|
|
| 10408 | - "topiaCreateDate": "2020-10-01T00:00:00.000Z"
|
|
| 10409 | - }
|
|
| 10410 | - },
|
|
| 10411 | - "messages": [
|
|
| 10412 | - {
|
|
| 10413 | - "fieldName": "label3",
|
|
| 10414 | - "scope": "WARNING",
|
|
| 10415 | - "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 10416 | - },
|
|
| 10417 | - {
|
|
| 10418 | - "fieldName": "uri",
|
|
| 10419 | - "scope": "WARNING",
|
|
| 10420 | - "message": "Le champ n\u0027est pas renseigné."
|
|
| 10421 | - }
|
|
| 10422 | - ]
|
|
| 10423 | - },
|
|
| 10424 | - {
|
|
| 10425 | - "reference": {
|
|
| 10426 | - "type": "fr.ird.observe.dto.referential.common.SizeMeasureMethodReference",
|
|
| 10427 | - "content": {
|
|
| 10428 | - "code": "2",
|
|
| 10429 | - "label": "Règle",
|
|
| 10430 | - "needComment": false,
|
|
| 10431 | - "enabled": true,
|
|
| 10432 | - "id": "fr.ird.referential.common.SizeMeasureMethod#666#02",
|
|
| 10433 | - "lastUpdateDate": "2021-09-17T00:00:00.000Z",
|
|
| 10434 | - "topiaVersion": 1,
|
|
| 10435 | - "topiaCreateDate": "2020-10-01T00:00:00.000Z"
|
|
| 10436 | - }
|
|
| 10437 | - },
|
|
| 10438 | - "messages": [
|
|
| 10439 | - {
|
|
| 10440 | - "fieldName": "label3",
|
|
| 10441 | - "scope": "WARNING",
|
|
| 10442 | - "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 10443 | - },
|
|
| 10444 | - {
|
|
| 10445 | - "fieldName": "uri",
|
|
| 10446 | - "scope": "WARNING",
|
|
| 10447 | - "message": "Le champ n\u0027est pas renseigné."
|
|
| 10448 | - }
|
|
| 10449 | - ]
|
|
| 10450 | - },
|
|
| 10451 | - {
|
|
| 10452 | - "reference": {
|
|
| 10453 | - "type": "fr.ird.observe.dto.referential.common.SizeMeasureMethodReference",
|
|
| 10454 | - "content": {
|
|
| 10455 | - "code": "3",
|
|
| 10456 | - "label": "Mètre ruban",
|
|
| 10457 | - "needComment": false,
|
|
| 10458 | - "enabled": true,
|
|
| 10459 | - "id": "fr.ird.referential.common.SizeMeasureMethod#666#03",
|
|
| 10460 | - "lastUpdateDate": "2021-09-17T00:00:00.000Z",
|
|
| 10461 | - "topiaVersion": 1,
|
|
| 10462 | - "topiaCreateDate": "2020-10-01T00:00:00.000Z"
|
|
| 10463 | - }
|
|
| 10464 | - },
|
|
| 10465 | - "messages": [
|
|
| 10466 | - {
|
|
| 10467 | - "fieldName": "label3",
|
|
| 10468 | - "scope": "WARNING",
|
|
| 10469 | - "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 10470 | - },
|
|
| 10471 | - {
|
|
| 10472 | - "fieldName": "uri",
|
|
| 10473 | - "scope": "WARNING",
|
|
| 10474 | - "message": "Le champ n\u0027est pas renseigné."
|
|
| 10475 | - }
|
|
| 10476 | - ]
|
|
| 10477 | - },
|
|
| 10478 | - {
|
|
| 10479 | - "reference": {
|
|
| 10480 | - "type": "fr.ird.observe.dto.referential.common.SizeMeasureMethodReference",
|
|
| 10481 | - "content": {
|
|
| 10482 | - "code": "4",
|
|
| 10483 | - "label": "Estimation visuelle",
|
|
| 10484 | - "needComment": false,
|
|
| 10485 | - "enabled": true,
|
|
| 10486 | - "id": "fr.ird.referential.common.SizeMeasureMethod#666#04",
|
|
| 10487 | - "lastUpdateDate": "2021-09-17T00:00:00.000Z",
|
|
| 10488 | - "topiaVersion": 1,
|
|
| 10489 | - "topiaCreateDate": "2020-10-01T00:00:00.000Z"
|
|
| 10490 | - }
|
|
| 10491 | - },
|
|
| 10492 | - "messages": [
|
|
| 10493 | - {
|
|
| 10494 | - "fieldName": "label3",
|
|
| 10495 | - "scope": "WARNING",
|
|
| 10496 | - "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 10497 | - },
|
|
| 10498 | - {
|
|
| 10499 | - "fieldName": "uri",
|
|
| 10500 | - "scope": "WARNING",
|
|
| 10501 | - "message": "Le champ n\u0027est pas renseigné."
|
|
| 10502 | - }
|
|
| 10503 | - ]
|
|
| 10504 | - },
|
|
| 10505 | 10397 | {
|
| 10506 | 10398 | "reference": {
|
| 10507 | 10399 | "type": "fr.ird.observe.dto.referential.common.LengthWeightParameterReference",
|
| ... | ... | @@ -55337,6 +55229,114 @@ |
| 55337 | 55229 | }
|
| 55338 | 55230 | ]
|
| 55339 | 55231 | },
|
| 55232 | + {
|
|
| 55233 | + "reference": {
|
|
| 55234 | + "type": "fr.ird.observe.dto.referential.common.SizeMeasureMethodReference",
|
|
| 55235 | + "content": {
|
|
| 55236 | + "code": "1",
|
|
| 55237 | + "label": "Pied à coulisse",
|
|
| 55238 | + "needComment": false,
|
|
| 55239 | + "enabled": true,
|
|
| 55240 | + "id": "fr.ird.referential.common.SizeMeasureMethod#666#01",
|
|
| 55241 | + "lastUpdateDate": "2021-09-17T00:00:00.000Z",
|
|
| 55242 | + "topiaVersion": 1,
|
|
| 55243 | + "topiaCreateDate": "2020-10-01T00:00:00.000Z"
|
|
| 55244 | + }
|
|
| 55245 | + },
|
|
| 55246 | + "messages": [
|
|
| 55247 | + {
|
|
| 55248 | + "fieldName": "label3",
|
|
| 55249 | + "scope": "WARNING",
|
|
| 55250 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 55251 | + },
|
|
| 55252 | + {
|
|
| 55253 | + "fieldName": "uri",
|
|
| 55254 | + "scope": "WARNING",
|
|
| 55255 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 55256 | + }
|
|
| 55257 | + ]
|
|
| 55258 | + },
|
|
| 55259 | + {
|
|
| 55260 | + "reference": {
|
|
| 55261 | + "type": "fr.ird.observe.dto.referential.common.SizeMeasureMethodReference",
|
|
| 55262 | + "content": {
|
|
| 55263 | + "code": "2",
|
|
| 55264 | + "label": "Règle",
|
|
| 55265 | + "needComment": false,
|
|
| 55266 | + "enabled": true,
|
|
| 55267 | + "id": "fr.ird.referential.common.SizeMeasureMethod#666#02",
|
|
| 55268 | + "lastUpdateDate": "2021-09-17T00:00:00.000Z",
|
|
| 55269 | + "topiaVersion": 1,
|
|
| 55270 | + "topiaCreateDate": "2020-10-01T00:00:00.000Z"
|
|
| 55271 | + }
|
|
| 55272 | + },
|
|
| 55273 | + "messages": [
|
|
| 55274 | + {
|
|
| 55275 | + "fieldName": "label3",
|
|
| 55276 | + "scope": "WARNING",
|
|
| 55277 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 55278 | + },
|
|
| 55279 | + {
|
|
| 55280 | + "fieldName": "uri",
|
|
| 55281 | + "scope": "WARNING",
|
|
| 55282 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 55283 | + }
|
|
| 55284 | + ]
|
|
| 55285 | + },
|
|
| 55286 | + {
|
|
| 55287 | + "reference": {
|
|
| 55288 | + "type": "fr.ird.observe.dto.referential.common.SizeMeasureMethodReference",
|
|
| 55289 | + "content": {
|
|
| 55290 | + "code": "3",
|
|
| 55291 | + "label": "Mètre ruban",
|
|
| 55292 | + "needComment": false,
|
|
| 55293 | + "enabled": true,
|
|
| 55294 | + "id": "fr.ird.referential.common.SizeMeasureMethod#666#03",
|
|
| 55295 | + "lastUpdateDate": "2021-09-17T00:00:00.000Z",
|
|
| 55296 | + "topiaVersion": 1,
|
|
| 55297 | + "topiaCreateDate": "2020-10-01T00:00:00.000Z"
|
|
| 55298 | + }
|
|
| 55299 | + },
|
|
| 55300 | + "messages": [
|
|
| 55301 | + {
|
|
| 55302 | + "fieldName": "label3",
|
|
| 55303 | + "scope": "WARNING",
|
|
| 55304 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 55305 | + },
|
|
| 55306 | + {
|
|
| 55307 | + "fieldName": "uri",
|
|
| 55308 | + "scope": "WARNING",
|
|
| 55309 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 55310 | + }
|
|
| 55311 | + ]
|
|
| 55312 | + },
|
|
| 55313 | + {
|
|
| 55314 | + "reference": {
|
|
| 55315 | + "type": "fr.ird.observe.dto.referential.common.SizeMeasureMethodReference",
|
|
| 55316 | + "content": {
|
|
| 55317 | + "code": "4",
|
|
| 55318 | + "label": "Estimation visuelle",
|
|
| 55319 | + "needComment": false,
|
|
| 55320 | + "enabled": true,
|
|
| 55321 | + "id": "fr.ird.referential.common.SizeMeasureMethod#666#04",
|
|
| 55322 | + "lastUpdateDate": "2021-09-17T00:00:00.000Z",
|
|
| 55323 | + "topiaVersion": 1,
|
|
| 55324 | + "topiaCreateDate": "2020-10-01T00:00:00.000Z"
|
|
| 55325 | + }
|
|
| 55326 | + },
|
|
| 55327 | + "messages": [
|
|
| 55328 | + {
|
|
| 55329 | + "fieldName": "label3",
|
|
| 55330 | + "scope": "WARNING",
|
|
| 55331 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 55332 | + },
|
|
| 55333 | + {
|
|
| 55334 | + "fieldName": "uri",
|
|
| 55335 | + "scope": "WARNING",
|
|
| 55336 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 55337 | + }
|
|
| 55338 | + ]
|
|
| 55339 | + },
|
|
| 55340 | 55340 | {
|
| 55341 | 55341 | "reference": {
|
| 55342 | 55342 | "type": "fr.ird.observe.dto.referential.common.SizeMeasureTypeReference",
|
| ... | ... | @@ -68503,22 +68503,22 @@ |
| 68503 | 68503 | {
|
| 68504 | 68504 | "fieldName": "species",
|
| 68505 | 68505 | "scope": "ERROR",
|
| 68506 | - "message": "Le référentiel sélectionné «LKY - Lepidochelys kempii - Tortue de Kemp» (à la position 120) est désactivé."
|
|
| 68506 | + "message": "Le référentiel sélectionné «1BUM - Makaira mazara - Makaire bleu indo-pacifique» (à la position 208) est désactivé."
|
|
| 68507 | 68507 | },
|
| 68508 | 68508 | {
|
| 68509 | 68509 | "fieldName": "species",
|
| 68510 | 68510 | "scope": "ERROR",
|
| 68511 | - "message": "Le référentiel sélectionné «RAV* - Ravil - Ravil» (à la position 193) est désactivé."
|
|
| 68511 | + "message": "Le référentiel sélectionné «SPY - Sphyrnidae - Famille Sphyrnidae» (à la position 24) est désactivé."
|
|
| 68512 | 68512 | },
|
| 68513 | 68513 | {
|
| 68514 | 68514 | "fieldName": "species",
|
| 68515 | 68515 | "scope": "ERROR",
|
| 68516 | - "message": "Le référentiel sélectionné «1BUM - Makaira mazara - Makaire bleu indo-pacifique» (à la position 208) est désactivé."
|
|
| 68516 | + "message": "Le référentiel sélectionné «LKY - Lepidochelys kempii - Tortue de Kemp» (à la position 120) est désactivé."
|
|
| 68517 | 68517 | },
|
| 68518 | 68518 | {
|
| 68519 | 68519 | "fieldName": "species",
|
| 68520 | 68520 | "scope": "ERROR",
|
| 68521 | - "message": "Le référentiel sélectionné «SPY - Sphyrnidae - Famille Sphyrnidae» (à la position 24) est désactivé."
|
|
| 68521 | + "message": "Le référentiel sélectionné «RAV* - Ravil - Ravil» (à la position 193) est désactivé."
|
|
| 68522 | 68522 | },
|
| 68523 | 68523 | {
|
| 68524 | 68524 | "fieldName": "uri",
|
| ... | ... | @@ -197125,6 +197125,38 @@ |
| 197125 | 197125 | }
|
| 197126 | 197126 | ]
|
| 197127 | 197127 | },
|
| 197128 | + {
|
|
| 197129 | + "reference": {
|
|
| 197130 | + "type": "fr.ird.observe.dto.referential.ps.common.TransmittingBuoyOperationReference",
|
|
| 197131 | + "content": {
|
|
| 197132 | + "code": "99",
|
|
| 197133 | + "label": "Inconnue",
|
|
| 197134 | + "needComment": false,
|
|
| 197135 | + "enabled": false,
|
|
| 197136 | + "id": "fr.ird.referential.ps.common.TransmittingBuoyOperation#1464000000000#99",
|
|
| 197137 | + "lastUpdateDate": "2022-09-14T00:00:00.000Z",
|
|
| 197138 | + "topiaVersion": 0,
|
|
| 197139 | + "topiaCreateDate": "2022-09-14T00:00:00.000Z"
|
|
| 197140 | + }
|
|
| 197141 | + },
|
|
| 197142 | + "messages": [
|
|
| 197143 | + {
|
|
| 197144 | + "fieldName": "label3",
|
|
| 197145 | + "scope": "WARNING",
|
|
| 197146 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 197147 | + },
|
|
| 197148 | + {
|
|
| 197149 | + "fieldName": "status",
|
|
| 197150 | + "scope": "WARNING",
|
|
| 197151 | + "message": "L\u0027objet est désactivé (il ne pourra plus être utilisée dans de données observées ou de nouveaux référentiels)."
|
|
| 197152 | + },
|
|
| 197153 | + {
|
|
| 197154 | + "fieldName": "uri",
|
|
| 197155 | + "scope": "WARNING",
|
|
| 197156 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 197157 | + }
|
|
| 197158 | + ]
|
|
| 197159 | + },
|
|
| 197128 | 197160 | {
|
| 197129 | 197161 | "reference": {
|
| 197130 | 197162 | "type": "fr.ird.observe.dto.referential.ps.common.TransmittingBuoyOwnershipReference",
|
| ... | ... | @@ -199529,6 +199561,72 @@ |
| 199529 | 199561 | }
|
| 199530 | 199562 | ]
|
| 199531 | 199563 | },
|
| 199564 | + {
|
|
| 199565 | + "reference": {
|
|
| 199566 | + "type": "fr.ird.observe.dto.referential.ps.common.VesselActivityReference",
|
|
| 199567 | + "content": {
|
|
| 199568 | + "code": "101",
|
|
| 199569 | + "label": "[deprecated] Transit (steaming without searching)",
|
|
| 199570 | + "allowFad": true,
|
|
| 199571 | + "needComment": false,
|
|
| 199572 | + "enabled": false,
|
|
| 199573 | + "id": "fr.ird.referential.ps.common.VesselActivity#1464000000000#101",
|
|
| 199574 | + "lastUpdateDate": "2022-09-14T00:00:00.000Z",
|
|
| 199575 | + "topiaVersion": 0,
|
|
| 199576 | + "topiaCreateDate": "2022-09-14T00:00:00.000Z"
|
|
| 199577 | + }
|
|
| 199578 | + },
|
|
| 199579 | + "messages": [
|
|
| 199580 | + {
|
|
| 199581 | + "fieldName": "label3",
|
|
| 199582 | + "scope": "WARNING",
|
|
| 199583 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 199584 | + },
|
|
| 199585 | + {
|
|
| 199586 | + "fieldName": "status",
|
|
| 199587 | + "scope": "WARNING",
|
|
| 199588 | + "message": "L\u0027objet est désactivé (il ne pourra plus être utilisée dans de données observées ou de nouveaux référentiels)."
|
|
| 199589 | + },
|
|
| 199590 | + {
|
|
| 199591 | + "fieldName": "uri",
|
|
| 199592 | + "scope": "WARNING",
|
|
| 199593 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 199594 | + }
|
|
| 199595 | + ]
|
|
| 199596 | + },
|
|
| 199597 | + {
|
|
| 199598 | + "reference": {
|
|
| 199599 | + "type": "fr.ird.observe.dto.referential.ps.common.VesselActivityReference",
|
|
| 199600 | + "content": {
|
|
| 199601 | + "code": "102",
|
|
| 199602 | + "label": "[déprécié] Recherche (général)",
|
|
| 199603 | + "allowFad": true,
|
|
| 199604 | + "needComment": false,
|
|
| 199605 | + "enabled": false,
|
|
| 199606 | + "id": "fr.ird.referential.ps.common.VesselActivity#1464000000000#102",
|
|
| 199607 | + "lastUpdateDate": "2022-09-14T00:00:00.000Z",
|
|
| 199608 | + "topiaVersion": 0,
|
|
| 199609 | + "topiaCreateDate": "2022-09-14T00:00:00.000Z"
|
|
| 199610 | + }
|
|
| 199611 | + },
|
|
| 199612 | + "messages": [
|
|
| 199613 | + {
|
|
| 199614 | + "fieldName": "label3",
|
|
| 199615 | + "scope": "WARNING",
|
|
| 199616 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 199617 | + },
|
|
| 199618 | + {
|
|
| 199619 | + "fieldName": "status",
|
|
| 199620 | + "scope": "WARNING",
|
|
| 199621 | + "message": "L\u0027objet est désactivé (il ne pourra plus être utilisée dans de données observées ou de nouveaux référentiels)."
|
|
| 199622 | + },
|
|
| 199623 | + {
|
|
| 199624 | + "fieldName": "uri",
|
|
| 199625 | + "scope": "WARNING",
|
|
| 199626 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 199627 | + }
|
|
| 199628 | + ]
|
|
| 199629 | + },
|
|
| 199532 | 199630 | {
|
| 199533 | 199631 | "reference": {
|
| 199534 | 199632 | "type": "fr.ird.observe.dto.referential.ps.common.VesselActivityReference",
|
| ... | ... | @@ -199809,6 +199907,34 @@ |
| 199809 | 199907 | }
|
| 199810 | 199908 | ]
|
| 199811 | 199909 | },
|
| 199910 | + {
|
|
| 199911 | + "reference": {
|
|
| 199912 | + "type": "fr.ird.observe.dto.referential.ps.common.VesselActivityReference",
|
|
| 199913 | + "content": {
|
|
| 199914 | + "code": "36",
|
|
| 199915 | + "label": "Ravitaillement en carburant",
|
|
| 199916 | + "allowFad": false,
|
|
| 199917 | + "needComment": false,
|
|
| 199918 | + "enabled": true,
|
|
| 199919 | + "id": "fr.ird.referential.ps.common.VesselActivity#1464000000000#36",
|
|
| 199920 | + "lastUpdateDate": "2022-09-14T00:00:00.000Z",
|
|
| 199921 | + "topiaVersion": 0,
|
|
| 199922 | + "topiaCreateDate": "2022-09-14T00:00:00.000Z"
|
|
| 199923 | + }
|
|
| 199924 | + },
|
|
| 199925 | + "messages": [
|
|
| 199926 | + {
|
|
| 199927 | + "fieldName": "label3",
|
|
| 199928 | + "scope": "WARNING",
|
|
| 199929 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 199930 | + },
|
|
| 199931 | + {
|
|
| 199932 | + "fieldName": "uri",
|
|
| 199933 | + "scope": "WARNING",
|
|
| 199934 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 199935 | + }
|
|
| 199936 | + ]
|
|
| 199937 | + },
|
|
| 199812 | 199938 | {
|
| 199813 | 199939 | "reference": {
|
| 199814 | 199940 | "type": "fr.ird.observe.dto.referential.ps.common.VesselActivityReference",
|
| ... | ... | @@ -209010,6 +209136,65 @@ |
| 209010 | 209136 | }
|
| 209011 | 209137 | ]
|
| 209012 | 209138 | },
|
| 209139 | + {
|
|
| 209140 | + "reference": {
|
|
| 209141 | + "type": "fr.ird.observe.dto.referential.ps.landing.DestinationReference",
|
|
| 209142 | + "content": {
|
|
| 209143 | + "code": "28",
|
|
| 209144 | + "label": "Marché local",
|
|
| 209145 | + "needComment": false,
|
|
| 209146 | + "enabled": true,
|
|
| 209147 | + "id": "fr.ird.referential.ps.landing.Destination#1464000000000#28",
|
|
| 209148 | + "lastUpdateDate": "2022-09-14T00:00:00.000Z",
|
|
| 209149 | + "topiaVersion": 0,
|
|
| 209150 | + "topiaCreateDate": "2022-09-14T00:00:00.000Z"
|
|
| 209151 | + }
|
|
| 209152 | + },
|
|
| 209153 | + "messages": [
|
|
| 209154 | + {
|
|
| 209155 | + "fieldName": "label3",
|
|
| 209156 | + "scope": "WARNING",
|
|
| 209157 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 209158 | + },
|
|
| 209159 | + {
|
|
| 209160 | + "fieldName": "uri",
|
|
| 209161 | + "scope": "WARNING",
|
|
| 209162 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 209163 | + }
|
|
| 209164 | + ]
|
|
| 209165 | + },
|
|
| 209166 | + {
|
|
| 209167 | + "reference": {
|
|
| 209168 | + "type": "fr.ird.observe.dto.referential.ps.landing.DestinationReference",
|
|
| 209169 | + "content": {
|
|
| 209170 | + "code": "29",
|
|
| 209171 | + "label": "CCCS (Central Common Cold Store)",
|
|
| 209172 | + "needComment": false,
|
|
| 209173 | + "enabled": true,
|
|
| 209174 | + "id": "fr.ird.referential.ps.landing.Destination#1464000000000#29",
|
|
| 209175 | + "lastUpdateDate": "2022-09-14T00:00:00.000Z",
|
|
| 209176 | + "topiaVersion": 0,
|
|
| 209177 | + "topiaCreateDate": "2022-09-14T00:00:00.000Z"
|
|
| 209178 | + }
|
|
| 209179 | + },
|
|
| 209180 | + "messages": [
|
|
| 209181 | + {
|
|
| 209182 | + "fieldName": "label1",
|
|
| 209183 | + "scope": "WARNING",
|
|
| 209184 | + "message": "Le libellé anglais n\u0027est pas traduit."
|
|
| 209185 | + },
|
|
| 209186 | + {
|
|
| 209187 | + "fieldName": "label3",
|
|
| 209188 | + "scope": "WARNING",
|
|
| 209189 | + "message": "Le libellé espagnol n\u0027est pas traduit."
|
|
| 209190 | + },
|
|
| 209191 | + {
|
|
| 209192 | + "fieldName": "uri",
|
|
| 209193 | + "scope": "WARNING",
|
|
| 209194 | + "message": "Le champ n\u0027est pas renseigné."
|
|
| 209195 | + }
|
|
| 209196 | + ]
|
|
| 209197 | + },
|
|
| 209013 | 209198 | {
|
| 209014 | 209199 | "reference": {
|
| 209015 | 209200 | "type": "fr.ird.observe.dto.referential.ps.landing.DestinationReference",
|
| ... | ... | @@ -25,4 +25,4 @@ REFERENCE_DATA_COUNT=68 |
| 25 | 25 | ENTITIES_LIMIT_SIZE=100
|
| 26 | 26 | # fr.ird.observe.services.service.referential.ReferentialService
|
| 27 | 27 | # fr.ird.observe.services.local.service.referential.DifferentialModelTest
|
| 28 | -REFERENTIAL_COUNT=4096 |
|
| 28 | +REFERENTIAL_COUNT=4099 |