Observe-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
March 2017
- 1 participants
- 352 discussions
[Git][ultreiaio/ird-observe][master-5.x] 7 commits: [jgitflow-maven-plugin]updating poms for 5.3.7-SNAPSHOT development
by Tony CHEMIT 29 Mar '17
by Tony CHEMIT 29 Mar '17
29 Mar '17
Tony CHEMIT pushed to branch master-5.x at ultreiaio / ird-observe
Commits:
373c9219 by Tony CHEMIT at 2017-03-22T08:02:38+01:00
[jgitflow-maven-plugin]updating poms for 5.3.7-SNAPSHOT development
- - - - -
fb98ce76 by Tony CHEMIT at 2017-03-22T08:09:13+01:00
[jgitflow-maven-plugin]updating develop poms to master versions to avoid merge conflicts
- - - - -
efe6ea8e by Tony CHEMIT at 2017-03-22T08:09:14+01:00
[jgitflow-maven-plugin]merging 'master-5.x' into 'develop-5.x'
- - - - -
cb3e4bbe by Tony CHEMIT at 2017-03-22T08:09:15+01:00
[jgitflow-maven-plugin]Updating develop poms back to pre merge state
- - - - -
a628cf8b by Tony CHEMIT at 2017-03-29T16:38:17+02:00
Correction de la génération des script d'import entre deux bases distantes (see #758)
- - - - -
ff09e3b4 by Tony CHEMIT at 2017-03-29T16:40:29+02:00
[jgitflow-maven-plugin]updating poms for branch'release/5.3.7' with non-snapshot versions
- - - - -
88829e6a by Tony CHEMIT at 2017-03-29T16:50:13+02:00
[jgitflow-maven-plugin]merging 'release/5.3.7' into 'master-5.x'
- - - - -
26 changed files:
- application-swing-configuration/pom.xml
- application-swing-decoration/pom.xml
- application-swing-validation/pom.xml
- application-swing-validators/pom.xml
- application-swing/pom.xml
- application-swing/src/main/java/fr/ird/observe/application/swing/ui/admin/synchronize/data/DataSynchroUIHandler.java
- application-web-configuration/pom.xml
- application-web/pom.xml
- entities-migration/pom.xml
- entities/pom.xml
- observe/pom.xml
- pom.xml
- services-configuration-rest/pom.xml
- services-configuration-topia/pom.xml
- services-configuration/pom.xml
- services-dto/pom.xml
- services-rest/pom.xml
- services-runner/pom.xml
- services-topia-validation/pom.xml
- services-topia-validators/pom.xml
- services-topia/pom.xml
- services/pom.xml
- test/pom.xml
- toolbox-maven-plugin/pom.xml
- topia-extension/pom.xml
- topia-templates-extension/pom.xml
Changes:
=====================================
application-swing-configuration/pom.xml
=====================================
--- a/application-swing-configuration/pom.xml
+++ b/application-swing-configuration/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing-configuration</artifactId>
=====================================
application-swing-decoration/pom.xml
=====================================
--- a/application-swing-decoration/pom.xml
+++ b/application-swing-decoration/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing-decoration</artifactId>
=====================================
application-swing-validation/pom.xml
=====================================
--- a/application-swing-validation/pom.xml
+++ b/application-swing-validation/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing-validation</artifactId>
=====================================
application-swing-validators/pom.xml
=====================================
--- a/application-swing-validators/pom.xml
+++ b/application-swing-validators/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing-validators</artifactId>
=====================================
application-swing/pom.xml
=====================================
--- a/application-swing/pom.xml
+++ b/application-swing/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing</artifactId>
=====================================
application-swing/src/main/java/fr/ird/observe/application/swing/ui/admin/synchronize/data/DataSynchroUIHandler.java
=====================================
--- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/admin/synchronize/data/DataSynchroUIHandler.java
+++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/admin/synchronize/data/DataSynchroUIHandler.java
@@ -31,31 +31,20 @@ import fr.ird.observe.application.swing.ui.admin.AdminTabUI;
import fr.ird.observe.application.swing.ui.admin.AdminTabUIHandler;
import fr.ird.observe.application.swing.ui.admin.AdminUI;
import fr.ird.observe.application.swing.ui.admin.config.ConfigUI;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.CopyToLeftDataSynchronizeTask;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.CopyToRightDataSynchronizeTask;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.DataSynchronizeTaskSupport;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.DeleteFromLeftDataSynchronizeTask;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.DeleteFromRightDataSynchronizeTask;
+import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.*;
import fr.ird.observe.application.swing.ui.storage.tabs.DataSelectionModel;
import fr.ird.observe.application.swing.ui.tree.ObserveTreeHelper;
-import fr.ird.observe.services.configuration.topia.ObserveDataSourceConfigurationTopiaPG;
import fr.ird.observe.services.dto.DataReference;
import fr.ird.observe.services.dto.referential.ProgramDto;
import fr.ird.observe.services.dto.referential.ReferentialReference;
-import fr.ird.observe.services.service.trip.DeleteTripRequest;
-import fr.ird.observe.services.service.trip.DeleteTripResult;
-import fr.ird.observe.services.service.trip.ExportTripRequest;
-import fr.ird.observe.services.service.trip.ExportTripResult;
-import fr.ird.observe.services.service.trip.ImportTripRequest;
-import fr.ird.observe.services.service.trip.ImportTripResult;
-import fr.ird.observe.services.service.trip.TripManagementService;
+import fr.ird.observe.services.service.trip.*;
import jaxx.runtime.swing.wizard.ext.WizardState;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import javax.swing.DefaultListModel;
+import javax.swing.*;
import javax.swing.border.TitledBorder;
-import java.awt.Color;
+import java.awt.*;
import java.util.List;
import java.util.Map;
@@ -268,10 +257,7 @@ public class DataSynchroUIHandler extends AdminTabUIHandler {
private WizardState doExecuteAction0() {
ObserveSwingDataSource leftSource = getStepModel().getLeftSource();
- boolean leftSourceIsPG = leftSource.getConfiguration() instanceof ObserveDataSourceConfigurationTopiaPG;
-
ObserveSwingDataSource rightSource = getStepModel().getRightSource();
- boolean rightSourceIsPG = rightSource.getConfiguration() instanceof ObserveDataSourceConfigurationTopiaPG;
DefaultListModel<DataSynchronizeTaskSupport> tasks = getStepModel().getTasks();
int size = tasks.size();
@@ -328,7 +314,7 @@ public class DataSynchroUIHandler extends AdminTabUIHandler {
sendMessage(t("observe.actions.synchro.data.prepare.copyToLeftTask", programStr, tripStr));
- ExportTripRequest exportTripRequest = new ExportTripRequest(rightSourceIsPG, programId, tripId);
+ ExportTripRequest exportTripRequest = new ExportTripRequest(!leftSource.isLocal(), programId, tripId);
ExportTripResult exportTripResult = rightTripManagementService.exportTrip(exportTripRequest);
logExportResult(n("observe.actions.synchro.data.result.export.right.trip"),
exportTripResult,
@@ -352,7 +338,7 @@ public class DataSynchroUIHandler extends AdminTabUIHandler {
sendMessage(t("observe.actions.synchro.data.prepare.copyToRightTask", programStr, tripStr));
- ExportTripRequest exportTripRequest = new ExportTripRequest(leftSourceIsPG, programId, tripId);
+ ExportTripRequest exportTripRequest = new ExportTripRequest(!rightSource.isLocal(), programId, tripId);
ExportTripResult exportTripResult = leftTripManagementService.exportTrip(exportTripRequest);
logExportResult(n("observe.actions.synchro.data.result.export.left.trip"),
exportTripResult,
=====================================
application-web-configuration/pom.xml
=====================================
--- a/application-web-configuration/pom.xml
+++ b/application-web-configuration/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-web-configuration</artifactId>
=====================================
application-web/pom.xml
=====================================
--- a/application-web/pom.xml
+++ b/application-web/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-web</artifactId>
=====================================
entities-migration/pom.xml
=====================================
--- a/entities-migration/pom.xml
+++ b/entities-migration/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>entities-migration</artifactId>
=====================================
entities/pom.xml
=====================================
--- a/entities/pom.xml
+++ b/entities/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>entities</artifactId>
=====================================
observe/pom.xml
=====================================
--- a/observe/pom.xml
+++ b/observe/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>observe</artifactId>
=====================================
pom.xml
=====================================
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
<packaging>pom</packaging>
<name>ObServe</name>
=====================================
services-configuration-rest/pom.xml
=====================================
--- a/services-configuration-rest/pom.xml
+++ b/services-configuration-rest/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-configuration-rest</artifactId>
=====================================
services-configuration-topia/pom.xml
=====================================
--- a/services-configuration-topia/pom.xml
+++ b/services-configuration-topia/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-configuration-topia</artifactId>
=====================================
services-configuration/pom.xml
=====================================
--- a/services-configuration/pom.xml
+++ b/services-configuration/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-configuration</artifactId>
=====================================
services-dto/pom.xml
=====================================
--- a/services-dto/pom.xml
+++ b/services-dto/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-dto</artifactId>
=====================================
services-rest/pom.xml
=====================================
--- a/services-rest/pom.xml
+++ b/services-rest/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-rest</artifactId>
=====================================
services-runner/pom.xml
=====================================
--- a/services-runner/pom.xml
+++ b/services-runner/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-runner</artifactId>
=====================================
services-topia-validation/pom.xml
=====================================
--- a/services-topia-validation/pom.xml
+++ b/services-topia-validation/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-topia-validation</artifactId>
=====================================
services-topia-validators/pom.xml
=====================================
--- a/services-topia-validators/pom.xml
+++ b/services-topia-validators/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-topia-validators</artifactId>
=====================================
services-topia/pom.xml
=====================================
--- a/services-topia/pom.xml
+++ b/services-topia/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-topia</artifactId>
=====================================
services/pom.xml
=====================================
--- a/services/pom.xml
+++ b/services/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services</artifactId>
=====================================
test/pom.xml
=====================================
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>test</artifactId>
=====================================
toolbox-maven-plugin/pom.xml
=====================================
--- a/toolbox-maven-plugin/pom.xml
+++ b/toolbox-maven-plugin/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>toolbox-maven-plugin</artifactId>
=====================================
topia-extension/pom.xml
=====================================
--- a/topia-extension/pom.xml
+++ b/topia-extension/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>topia-extension</artifactId>
=====================================
topia-templates-extension/pom.xml
=====================================
--- a/topia-templates-extension/pom.xml
+++ b/topia-templates-extension/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.6</version>
+ <version>5.3.7</version>
</parent>
<artifactId>topia-templates-extension</artifactId>
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/compare/bca9fe1a059295ca184f10d632…
1
0
[Git][ultreiaio/ird-observe][release/5.3.7] [jgitflow-maven-plugin]updating poms for branch'release/5.3.7' with non-snapshot versions
by Tony CHEMIT 29 Mar '17
by Tony CHEMIT 29 Mar '17
29 Mar '17
Tony CHEMIT pushed to branch release/5.3.7 at ultreiaio / ird-observe
Commits:
ff09e3b4 by Tony CHEMIT at 2017-03-29T16:40:29+02:00
[jgitflow-maven-plugin]updating poms for branch'release/5.3.7' with non-snapshot versions
- - - - -
25 changed files:
- application-swing-configuration/pom.xml
- application-swing-decoration/pom.xml
- application-swing-validation/pom.xml
- application-swing-validators/pom.xml
- application-swing/pom.xml
- application-web-configuration/pom.xml
- application-web/pom.xml
- entities-migration/pom.xml
- entities/pom.xml
- observe/pom.xml
- pom.xml
- services-configuration-rest/pom.xml
- services-configuration-topia/pom.xml
- services-configuration/pom.xml
- services-dto/pom.xml
- services-rest/pom.xml
- services-runner/pom.xml
- services-topia-validation/pom.xml
- services-topia-validators/pom.xml
- services-topia/pom.xml
- services/pom.xml
- test/pom.xml
- toolbox-maven-plugin/pom.xml
- topia-extension/pom.xml
- topia-templates-extension/pom.xml
Changes:
=====================================
application-swing-configuration/pom.xml
=====================================
--- a/application-swing-configuration/pom.xml
+++ b/application-swing-configuration/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing-configuration</artifactId>
=====================================
application-swing-decoration/pom.xml
=====================================
--- a/application-swing-decoration/pom.xml
+++ b/application-swing-decoration/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing-decoration</artifactId>
=====================================
application-swing-validation/pom.xml
=====================================
--- a/application-swing-validation/pom.xml
+++ b/application-swing-validation/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing-validation</artifactId>
=====================================
application-swing-validators/pom.xml
=====================================
--- a/application-swing-validators/pom.xml
+++ b/application-swing-validators/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing-validators</artifactId>
=====================================
application-swing/pom.xml
=====================================
--- a/application-swing/pom.xml
+++ b/application-swing/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-swing</artifactId>
=====================================
application-web-configuration/pom.xml
=====================================
--- a/application-web-configuration/pom.xml
+++ b/application-web-configuration/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-web-configuration</artifactId>
=====================================
application-web/pom.xml
=====================================
--- a/application-web/pom.xml
+++ b/application-web/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>application-web</artifactId>
=====================================
entities-migration/pom.xml
=====================================
--- a/entities-migration/pom.xml
+++ b/entities-migration/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>entities-migration</artifactId>
=====================================
entities/pom.xml
=====================================
--- a/entities/pom.xml
+++ b/entities/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>entities</artifactId>
=====================================
observe/pom.xml
=====================================
--- a/observe/pom.xml
+++ b/observe/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>observe</artifactId>
=====================================
pom.xml
=====================================
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
<packaging>pom</packaging>
<name>ObServe</name>
=====================================
services-configuration-rest/pom.xml
=====================================
--- a/services-configuration-rest/pom.xml
+++ b/services-configuration-rest/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-configuration-rest</artifactId>
=====================================
services-configuration-topia/pom.xml
=====================================
--- a/services-configuration-topia/pom.xml
+++ b/services-configuration-topia/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-configuration-topia</artifactId>
=====================================
services-configuration/pom.xml
=====================================
--- a/services-configuration/pom.xml
+++ b/services-configuration/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-configuration</artifactId>
=====================================
services-dto/pom.xml
=====================================
--- a/services-dto/pom.xml
+++ b/services-dto/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-dto</artifactId>
=====================================
services-rest/pom.xml
=====================================
--- a/services-rest/pom.xml
+++ b/services-rest/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-rest</artifactId>
=====================================
services-runner/pom.xml
=====================================
--- a/services-runner/pom.xml
+++ b/services-runner/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-runner</artifactId>
=====================================
services-topia-validation/pom.xml
=====================================
--- a/services-topia-validation/pom.xml
+++ b/services-topia-validation/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-topia-validation</artifactId>
=====================================
services-topia-validators/pom.xml
=====================================
--- a/services-topia-validators/pom.xml
+++ b/services-topia-validators/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-topia-validators</artifactId>
=====================================
services-topia/pom.xml
=====================================
--- a/services-topia/pom.xml
+++ b/services-topia/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services-topia</artifactId>
=====================================
services/pom.xml
=====================================
--- a/services/pom.xml
+++ b/services/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>services</artifactId>
=====================================
test/pom.xml
=====================================
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>test</artifactId>
=====================================
toolbox-maven-plugin/pom.xml
=====================================
--- a/toolbox-maven-plugin/pom.xml
+++ b/toolbox-maven-plugin/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>toolbox-maven-plugin</artifactId>
=====================================
topia-extension/pom.xml
=====================================
--- a/topia-extension/pom.xml
+++ b/topia-extension/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>topia-extension</artifactId>
=====================================
topia-templates-extension/pom.xml
=====================================
--- a/topia-templates-extension/pom.xml
+++ b/topia-templates-extension/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.7</version>
</parent>
<artifactId>topia-templates-extension</artifactId>
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/ff09e3b474594580f325f7ca756…
1
0
[Git][ultreiaio/ird-observe][develop-5.x] 5 commits: [jgitflow-maven-plugin]updating poms for branch'release/5.3.7' with non-snapshot versions
by Tony CHEMIT 29 Mar '17
by Tony CHEMIT 29 Mar '17
29 Mar '17
Tony CHEMIT pushed to branch develop-5.x at ultreiaio / ird-observe
Commits:
ff09e3b4 by Tony CHEMIT at 2017-03-29T16:40:29+02:00
[jgitflow-maven-plugin]updating poms for branch'release/5.3.7' with non-snapshot versions
- - - - -
88829e6a by Tony CHEMIT at 2017-03-29T16:50:13+02:00
[jgitflow-maven-plugin]merging 'release/5.3.7' into 'master-5.x'
- - - - -
21da2be8 by Tony CHEMIT at 2017-03-29T16:50:19+02:00
[jgitflow-maven-plugin]updating develop poms to master versions to avoid merge conflicts
- - - - -
5fe91e2c by Tony CHEMIT at 2017-03-29T16:50:20+02:00
[jgitflow-maven-plugin]merging 'master-5.x' into 'develop-5.x'
- - - - -
a5f7d0b5 by Tony CHEMIT at 2017-03-29T16:50:21+02:00
[jgitflow-maven-plugin]Updating develop poms back to pre merge state
- - - - -
0 changed files:
Changes:
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/compare/c07b8063cb429712b6fda06431…
1
0
[Git][ultreiaio/ird-observe][develop-5.x] [jgitflow-maven-plugin]updating poms for 5.3.8-SNAPSHOT development
by Tony CHEMIT 29 Mar '17
by Tony CHEMIT 29 Mar '17
29 Mar '17
Tony CHEMIT pushed to branch develop-5.x at ultreiaio / ird-observe
Commits:
c07b8063 by Tony CHEMIT at 2017-03-29T16:40:07+02:00
[jgitflow-maven-plugin]updating poms for 5.3.8-SNAPSHOT development
- - - - -
25 changed files:
- application-swing-configuration/pom.xml
- application-swing-decoration/pom.xml
- application-swing-validation/pom.xml
- application-swing-validators/pom.xml
- application-swing/pom.xml
- application-web-configuration/pom.xml
- application-web/pom.xml
- entities-migration/pom.xml
- entities/pom.xml
- observe/pom.xml
- pom.xml
- services-configuration-rest/pom.xml
- services-configuration-topia/pom.xml
- services-configuration/pom.xml
- services-dto/pom.xml
- services-rest/pom.xml
- services-runner/pom.xml
- services-topia-validation/pom.xml
- services-topia-validators/pom.xml
- services-topia/pom.xml
- services/pom.xml
- test/pom.xml
- toolbox-maven-plugin/pom.xml
- topia-extension/pom.xml
- topia-templates-extension/pom.xml
Changes:
=====================================
application-swing-configuration/pom.xml
=====================================
--- a/application-swing-configuration/pom.xml
+++ b/application-swing-configuration/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>application-swing-configuration</artifactId>
=====================================
application-swing-decoration/pom.xml
=====================================
--- a/application-swing-decoration/pom.xml
+++ b/application-swing-decoration/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>application-swing-decoration</artifactId>
=====================================
application-swing-validation/pom.xml
=====================================
--- a/application-swing-validation/pom.xml
+++ b/application-swing-validation/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>application-swing-validation</artifactId>
=====================================
application-swing-validators/pom.xml
=====================================
--- a/application-swing-validators/pom.xml
+++ b/application-swing-validators/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>application-swing-validators</artifactId>
=====================================
application-swing/pom.xml
=====================================
--- a/application-swing/pom.xml
+++ b/application-swing/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>application-swing</artifactId>
=====================================
application-web-configuration/pom.xml
=====================================
--- a/application-web-configuration/pom.xml
+++ b/application-web-configuration/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>application-web-configuration</artifactId>
=====================================
application-web/pom.xml
=====================================
--- a/application-web/pom.xml
+++ b/application-web/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>application-web</artifactId>
=====================================
entities-migration/pom.xml
=====================================
--- a/entities-migration/pom.xml
+++ b/entities-migration/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>entities-migration</artifactId>
=====================================
entities/pom.xml
=====================================
--- a/entities/pom.xml
+++ b/entities/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>entities</artifactId>
=====================================
observe/pom.xml
=====================================
--- a/observe/pom.xml
+++ b/observe/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>observe</artifactId>
=====================================
pom.xml
=====================================
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
<packaging>pom</packaging>
<name>ObServe</name>
=====================================
services-configuration-rest/pom.xml
=====================================
--- a/services-configuration-rest/pom.xml
+++ b/services-configuration-rest/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services-configuration-rest</artifactId>
=====================================
services-configuration-topia/pom.xml
=====================================
--- a/services-configuration-topia/pom.xml
+++ b/services-configuration-topia/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services-configuration-topia</artifactId>
=====================================
services-configuration/pom.xml
=====================================
--- a/services-configuration/pom.xml
+++ b/services-configuration/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services-configuration</artifactId>
=====================================
services-dto/pom.xml
=====================================
--- a/services-dto/pom.xml
+++ b/services-dto/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services-dto</artifactId>
=====================================
services-rest/pom.xml
=====================================
--- a/services-rest/pom.xml
+++ b/services-rest/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services-rest</artifactId>
=====================================
services-runner/pom.xml
=====================================
--- a/services-runner/pom.xml
+++ b/services-runner/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services-runner</artifactId>
=====================================
services-topia-validation/pom.xml
=====================================
--- a/services-topia-validation/pom.xml
+++ b/services-topia-validation/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services-topia-validation</artifactId>
=====================================
services-topia-validators/pom.xml
=====================================
--- a/services-topia-validators/pom.xml
+++ b/services-topia-validators/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services-topia-validators</artifactId>
=====================================
services-topia/pom.xml
=====================================
--- a/services-topia/pom.xml
+++ b/services-topia/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services-topia</artifactId>
=====================================
services/pom.xml
=====================================
--- a/services/pom.xml
+++ b/services/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>services</artifactId>
=====================================
test/pom.xml
=====================================
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>test</artifactId>
=====================================
toolbox-maven-plugin/pom.xml
=====================================
--- a/toolbox-maven-plugin/pom.xml
+++ b/toolbox-maven-plugin/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>toolbox-maven-plugin</artifactId>
=====================================
topia-extension/pom.xml
=====================================
--- a/topia-extension/pom.xml
+++ b/topia-extension/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>topia-extension</artifactId>
=====================================
topia-templates-extension/pom.xml
=====================================
--- a/topia-templates-extension/pom.xml
+++ b/topia-templates-extension/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>pom</artifactId>
- <version>5.3.7-SNAPSHOT</version>
+ <version>5.3.8-SNAPSHOT</version>
</parent>
<artifactId>topia-templates-extension</artifactId>
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/c07b8063cb429712b6fda064311…
1
0
Tony CHEMIT pushed new branch release/5.3.7 at ultreiaio / ird-observe
1
0
[Git][ultreiaio/ird-observe][develop-5.x] Correction de la génération des script d'import entre deux bases distantes (see #758)
by Tony CHEMIT 29 Mar '17
by Tony CHEMIT 29 Mar '17
29 Mar '17
Tony CHEMIT pushed to branch develop-5.x at ultreiaio / ird-observe
Commits:
a628cf8b by Tony CHEMIT at 2017-03-29T16:38:17+02:00
Correction de la génération des script d'import entre deux bases distantes (see #758)
- - - - -
1 changed file:
- application-swing/src/main/java/fr/ird/observe/application/swing/ui/admin/synchronize/data/DataSynchroUIHandler.java
Changes:
=====================================
application-swing/src/main/java/fr/ird/observe/application/swing/ui/admin/synchronize/data/DataSynchroUIHandler.java
=====================================
--- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/admin/synchronize/data/DataSynchroUIHandler.java
+++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/admin/synchronize/data/DataSynchroUIHandler.java
@@ -31,31 +31,20 @@ import fr.ird.observe.application.swing.ui.admin.AdminTabUI;
import fr.ird.observe.application.swing.ui.admin.AdminTabUIHandler;
import fr.ird.observe.application.swing.ui.admin.AdminUI;
import fr.ird.observe.application.swing.ui.admin.config.ConfigUI;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.CopyToLeftDataSynchronizeTask;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.CopyToRightDataSynchronizeTask;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.DataSynchronizeTaskSupport;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.DeleteFromLeftDataSynchronizeTask;
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.DeleteFromRightDataSynchronizeTask;
+import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.*;
import fr.ird.observe.application.swing.ui.storage.tabs.DataSelectionModel;
import fr.ird.observe.application.swing.ui.tree.ObserveTreeHelper;
-import fr.ird.observe.services.configuration.topia.ObserveDataSourceConfigurationTopiaPG;
import fr.ird.observe.services.dto.DataReference;
import fr.ird.observe.services.dto.referential.ProgramDto;
import fr.ird.observe.services.dto.referential.ReferentialReference;
-import fr.ird.observe.services.service.trip.DeleteTripRequest;
-import fr.ird.observe.services.service.trip.DeleteTripResult;
-import fr.ird.observe.services.service.trip.ExportTripRequest;
-import fr.ird.observe.services.service.trip.ExportTripResult;
-import fr.ird.observe.services.service.trip.ImportTripRequest;
-import fr.ird.observe.services.service.trip.ImportTripResult;
-import fr.ird.observe.services.service.trip.TripManagementService;
+import fr.ird.observe.services.service.trip.*;
import jaxx.runtime.swing.wizard.ext.WizardState;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import javax.swing.DefaultListModel;
+import javax.swing.*;
import javax.swing.border.TitledBorder;
-import java.awt.Color;
+import java.awt.*;
import java.util.List;
import java.util.Map;
@@ -268,10 +257,7 @@ public class DataSynchroUIHandler extends AdminTabUIHandler {
private WizardState doExecuteAction0() {
ObserveSwingDataSource leftSource = getStepModel().getLeftSource();
- boolean leftSourceIsPG = leftSource.getConfiguration() instanceof ObserveDataSourceConfigurationTopiaPG;
-
ObserveSwingDataSource rightSource = getStepModel().getRightSource();
- boolean rightSourceIsPG = rightSource.getConfiguration() instanceof ObserveDataSourceConfigurationTopiaPG;
DefaultListModel<DataSynchronizeTaskSupport> tasks = getStepModel().getTasks();
int size = tasks.size();
@@ -328,7 +314,7 @@ public class DataSynchroUIHandler extends AdminTabUIHandler {
sendMessage(t("observe.actions.synchro.data.prepare.copyToLeftTask", programStr, tripStr));
- ExportTripRequest exportTripRequest = new ExportTripRequest(rightSourceIsPG, programId, tripId);
+ ExportTripRequest exportTripRequest = new ExportTripRequest(!leftSource.isLocal(), programId, tripId);
ExportTripResult exportTripResult = rightTripManagementService.exportTrip(exportTripRequest);
logExportResult(n("observe.actions.synchro.data.result.export.right.trip"),
exportTripResult,
@@ -352,7 +338,7 @@ public class DataSynchroUIHandler extends AdminTabUIHandler {
sendMessage(t("observe.actions.synchro.data.prepare.copyToRightTask", programStr, tripStr));
- ExportTripRequest exportTripRequest = new ExportTripRequest(leftSourceIsPG, programId, tripId);
+ ExportTripRequest exportTripRequest = new ExportTripRequest(!rightSource.isLocal(), programId, tripId);
ExportTripResult exportTripResult = leftTripManagementService.exportTrip(exportTripRequest);
logExportResult(n("observe.actions.synchro.data.result.export.left.trip"),
exportTripResult,
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/a628cf8bf66c59df0a72fe94813…
1
0
[Git][ultreiaio/ird-observe][develop] Correction de la migration de base (See #752)
by Tony CHEMIT 29 Mar '17
by Tony CHEMIT 29 Mar '17
29 Mar '17
Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
cd4789de by Tony CHEMIT at 2017-03-29T16:08:46+02:00
Correction de la migration de base (See #752)
- - - - -
1 changed file:
- persistence/src/main/java/fr/ird/observe/persistence/migration/DataSourceMigrationForVersion_6_0.java
Changes:
=====================================
persistence/src/main/java/fr/ird/observe/persistence/migration/DataSourceMigrationForVersion_6_0.java
=====================================
--- a/persistence/src/main/java/fr/ird/observe/persistence/migration/DataSourceMigrationForVersion_6_0.java
+++ b/persistence/src/main/java/fr/ird/observe/persistence/migration/DataSourceMigrationForVersion_6_0.java
@@ -25,6 +25,7 @@ package fr.ird.observe.persistence.migration;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableMap;
import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.lang3.tuple.Pair;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.nuiton.topia.persistence.support.TopiaSqlQuery;
@@ -35,10 +36,9 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashSet;
-import java.util.Iterator;
-import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
+import java.util.stream.Collectors;
/**
* Created on 27/10/16.
@@ -90,32 +90,79 @@ public class DataSourceMigrationForVersion_6_0 extends AbstractObserveMigrationC
private void evol8391(TopiaSqlSupport topiaSqlSupport, List<String> queries) {
- ImmutableMap<String, String> missingCodesMapping = ImmutableMap.<String, String>builder()
- .put("LT ?", "TL")
- .put("LF", "FL")
- .put("L1", "PDL")
- .put("LC", "DL")
- .put("LT", "TL")
- .put("", "TL")
+ ImmutableMap<String, String> sqlMappingByCode =
+ ImmutableMap.<String, String>builder()
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499465700#0.0902433863375336", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499465700#0.0902433863375336', 2, '2015-06-05', '2016-10-18 11:51:54.099140','FL', 1, null, 'Fork Length', 'Fork Length', 'Fork Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499465999#0.707568018231541", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499465999#0.707568018231541', 3, '2015-06-05', '2016-10-18 11:51:54.099140', 'CFL', 1, null, 'Curved Fork Length', 'Curved Fork Length', 'Curved Fork Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466255#0.444246932631359", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466255#0.444246932631359', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'PAL', 1, null, 'Pectoral-Anal Length', 'Pectoral-Anal Length', 'Pectoral-Anal Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466532#0.844473292818293", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466532#0.844473292818293', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'TL', 1, null, 'Total Length', 'Total Length', 'Total Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466774#0.529249255312607", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466774#0.529249255312607', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'PD1', 1, null, 'Predorsal Length', 'Predorsal Length', 'Predorsal Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467059#0.563144549960271", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467059#0.563144549960271', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'SL', 1, null, 'Standard Length', 'Standard Length', 'Standard Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467326#0.537910396233201", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467326#0.537910396233201', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'LJFL', 1, null, 'Lower Jaw-Fork Length', 'Lower Jaw-Fork Length', 'Lower Jaw-Fork Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467638#0.409153908025473", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467638#0.409153908025473', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'CLJFL', 1, null, 'Curved Lower Jaw-Fork Length', 'Curved Lower Jaw-Fork Length', 'Curved Lower Jaw-Fork Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467945#0.249704661779106", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467945#0.249704661779106', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'IDL', 1, null, 'Interdorsal Length', 'Interdorsal Length', 'Interdorsal Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499468283#0.152317869942635", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499468283#0.152317869942635', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'EFL', 1, null, 'Eye-Fork Length', 'Eye-Fork Length', 'Eye-Fork Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499468646#0.710986209334806", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499468646#0.710986209334806', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'DW', 1, null, 'Disk Width', 'Disk Width', 'Disk Width', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499469115#0.42996318358928", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499469115#0.42996318358928', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'DL', 1, null, 'Disk Length', 'Disk Length', 'Disk Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499469572#0.969587777974084", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499469572#0.969587777974084', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'TW', 1, null, 'Total Weight', 'Total Weight', 'Total Weight', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499470528#0.813851526239887", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499470528#0.813851526239887', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'CTL', 1, null, 'Curved Total Length', 'Curved Total Length', 'Curved Total Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499470887#0.950930784922093", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499470887#0.950930784922093', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'DML', 1, null, 'Dorsal Mantle Length', 'Dorsal Mantle Length', 'Dorsal Mantle Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499471278#0.425988764036447", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499471278#0.425988764036447', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'CDML', 1, null, 'Curved Dorsal Mantle Length', 'Curved Dorsal Mantle Length', 'Curved Dorsal Mantle Length', null, null, null, null, null, false);")
+ .put("fr.ird.observe.entities.referentiel.SizeMeasureType#1433499472220#0.885759855154902", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499472220#0.885759855154902', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'PFL', 1, null, 'Pectoral-Fork Length', 'Pectoral-Fork Length', 'Pectoral-Fork Length', null, null, null, null, null, false);")
+ .build();
+
+ ImmutableMap<String, String> knownSizeMeasureTypeMapping = ImmutableMap.<String, String>builder()
+ .put("LT ?", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466532#0.844473292818293")
+ .put("LF", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499465700#0.0902433863375336")
+ .put("L1", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466774#0.529249255312607")
+ .put("LC", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499469115#0.42996318358928")
+ .put("LT", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466532#0.844473292818293")
+ .put("", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466532#0.844473292818293")
+ .put("FL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499465700#0.0902433863375336")
+ .put("CFL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499465999#0.707568018231541")
+ .put("PAL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466255#0.444246932631359")
+ .put("TL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466532#0.844473292818293")
+ .put("PD1", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466774#0.529249255312607")
+ .put("PDL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466774#0.529249255312607")
+ .put("SL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467059#0.563144549960271")
+ .put("LJFL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467326#0.537910396233201")
+ .put("CLJFL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467638#0.409153908025473")
+ .put("IDL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467945#0.249704661779106")
+ .put("EFL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499468283#0.152317869942635")
+ .put("DW", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499468646#0.710986209334806")
+ .put("DL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499469115#0.42996318358928")
+ .put("TW", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499469572#0.969587777974084")
+ .put("CTL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499470528#0.813851526239887")
+ .put("DML", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499470887#0.950930784922093")
+ .put("CDML", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499471278#0.425988764036447")
+ .put("PFL", "fr.ird.observe.entities.referentiel.SizeMeasureType#1433499472220#0.885759855154902")
.build();
- List<String> lengthMeasureTypes = topiaSqlSupport.findMultipleResult(new TopiaSqlQuery<String>() {
+
+ ImmutableMap.Builder<String, String> existingSizeMeasureMappingBuilder = ImmutableMap.builder();
+
+ topiaSqlSupport.findMultipleResult(new TopiaSqlQuery<Pair<String, String>>() {
@Override
public PreparedStatement prepareQuery(Connection connection) throws SQLException {
- return connection.prepareStatement("SELECT DISTINCT(lengthmeasuretype) FROM observe_common.species WHERE lengthmeasuretype IS NOT NULL");
+ // Attention à ce moment là ce référentiel est encore dans le schema longline
+ return connection.prepareStatement("SELECT code, topiaid FROM observe_longline.sizemeasuretype ");
}
@Override
- public String prepareResult(ResultSet set) throws SQLException {
- return set.getString(1);
+ public Pair<String, String> prepareResult(ResultSet set) throws SQLException {
+ String code = set.getString(1);
+ String topiaId = set.getString(2);
+ return Pair.of(code, StringUtils.replace(topiaId, ".longline", ""));
}
- });
- List<String> existingLengthMeasureTypes = topiaSqlSupport.findMultipleResult(new TopiaSqlQuery<String>() {
+ }).forEach(p -> existingSizeMeasureMappingBuilder.put(p.getKey(), p.getValue()));
+
+ ImmutableMap<String, String> existingSizeMeasureMapping = existingSizeMeasureMappingBuilder.build();
+
+ List<String> lengthMeasureTypes = topiaSqlSupport.findMultipleResult(new TopiaSqlQuery<String>() {
@Override
public PreparedStatement prepareQuery(Connection connection) throws SQLException {
- // Attention à ce moment là ce référentiel est encore dans le schema longline
- return connection.prepareStatement("SELECT DISTINCT(code) FROM observe_longline.sizemeasuretype ");
+ return connection.prepareStatement("SELECT DISTINCT(lengthmeasuretype) FROM observe_common.species WHERE lengthmeasuretype IS NOT NULL");
}
@Override
@@ -124,115 +171,35 @@ public class DataSourceMigrationForVersion_6_0 extends AbstractObserveMigrationC
}
});
- Set<String> missingLengthMeasureTypeCodes = new HashSet<>();
- for (String lengthMeasureType : lengthMeasureTypes) {
- lengthMeasureType = lengthMeasureType.trim();
- String realCode = missingCodesMapping.get(lengthMeasureType);
- if (realCode == null) {
- realCode = lengthMeasureType;
- }
- missingLengthMeasureTypeCodes.add(realCode);
- }
- missingLengthMeasureTypeCodes.removeAll(existingLengthMeasureTypes);
-
- ImmutableMap.Builder<String, String> extraTopiaIdsByCodeBuilder = ImmutableMap.builder();
-
- if (!missingLengthMeasureTypeCodes.isEmpty()) {
-
- // il manque des référentiels on va les ajouter
- ImmutableMap<String, String> sqlMappingByCode =
- ImmutableMap.<String, String>builder()
- .put("FL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499465700#0.0902433863375336', 2, '2015-06-05', '2016-10-18 11:51:54.099140','FL', 1, null, 'Fork Length', 'Fork Length', 'Fork Length', null, null, null, null, null, false);")
- .put("CFL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499465999#0.707568018231541', 3, '2015-06-05', '2016-10-18 11:51:54.099140', 'CFL', 1, null, 'Curved Fork Length', 'Curved Fork Length', 'Curved Fork Length', null, null, null, null, null, false);")
- .put("PAL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466255#0.444246932631359', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'PAL', 1, null, 'Pectoral-Anal Length', 'Pectoral-Anal Length', 'Pectoral-Anal Length', null, null, null, null, null, false);")
- .put("TL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466532#0.844473292818293', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'TL', 1, null, 'Total Length', 'Total Length', 'Total Length', null, null, null, null, null, false);")
- .put("PDL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499466774#0.529249255312607', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'PDL', 1, null, 'Predorsal Length', 'Predorsal Length', 'Predorsal Length', null, null, null, null, null, false);")
- .put("SL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467059#0.563144549960271', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'SL', 1, null, 'Standard Length', 'Standard Length', 'Standard Length', null, null, null, null, null, false);")
- .put("LJFL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467326#0.537910396233201', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'LJFL', 1, null, 'Lower Jaw-Fork Length', 'Lower Jaw-Fork Length', 'Lower Jaw-Fork Length', null, null, null, null, null, false);")
- .put("CLJFL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467638#0.409153908025473', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'CLJFL', 1, null, 'Curved Lower Jaw-Fork Length', 'Curved Lower Jaw-Fork Length', 'Curved Lower Jaw-Fork Length', null, null, null, null, null, false);")
- .put("IDL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499467945#0.249704661779106', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'IDL', 1, null, 'Interdorsal Length', 'Interdorsal Length', 'Interdorsal Length', null, null, null, null, null, false);")
- .put("EFL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499468283#0.152317869942635', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'EFL', 1, null, 'Eye-Fork Length', 'Eye-Fork Length', 'Eye-Fork Length', null, null, null, null, null, false);")
- .put("DW", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499468646#0.710986209334806', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'DW', 1, null, 'Disk Width', 'Disk Width', 'Disk Width', null, null, null, null, null, false);")
- .put("DL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499469115#0.42996318358928', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'DL', 1, null, 'Disk Length', 'Disk Length', 'Disk Length', null, null, null, null, null, false);")
- .put("TW", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499469572#0.969587777974084', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'TW', 1, null, 'Total Weight', 'Total Weight', 'Total Weight', null, null, null, null, null, false);")
- .put("CTL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499470528#0.813851526239887', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'CTL', 1, null, 'Curved Total Length', 'Curved Total Length', 'Curved Total Length', null, null, null, null, null, false);")
- .put("DML", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499470887#0.950930784922093', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'DML', 1, null, 'Dorsal Mantle Length', 'Dorsal Mantle Length', 'Dorsal Mantle Length', null, null, null, null, null, false);")
- .put("CDML", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499471278#0.425988764036447', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'CDML', 1, null, 'Curved Dorsal Mantle Length', 'Curved Dorsal Mantle Length', 'Curved Dorsal Mantle Length', null, null, null, null, null, false);")
- .put("PFL", "INSERT INTO observe_common.sizemeasuretype (topiaid, topiaversion, topiacreatedate, lastupdatedate, code, status, uri, label1, label2, label3, label4, label5, label6, label7, label8, needcomment) VALUES ('fr.ird.observe.entities.referentiel.SizeMeasureType#1433499472220#0.885759855154902', 2, '2015-06-05', '2016-10-18 11:51:54.099140', 'PFL', 1, null, 'Pectoral-Fork Length', 'Pectoral-Fork Length', 'Pectoral-Fork Length', null, null, null, null, null, false);")
- .build();
-
- Iterator<String> iterator = missingLengthMeasureTypeCodes.iterator();
- while (iterator.hasNext()) {
- String code = iterator.next();
- String sql = sqlMappingByCode.get(code);
- if (sql != null) {
- queries.add(sql);
- iterator.remove();
- int i = sql.indexOf("'");
- String topiaId = sql.substring(i + 1);
- int j = topiaId.indexOf("'");
- topiaId = topiaId.substring(0, j);
- if (log.isInfoEnabled()) {
- log.info("Add " + code + "::" + topiaId);
- }
- extraTopiaIdsByCodeBuilder.put(code, topiaId);
- }
- }
+ Set<String> unkownCodes = new HashSet<>(lengthMeasureTypes);
+ unkownCodes.removeAll(knownSizeMeasureTypeMapping.keySet());
+ unkownCodes.removeAll(existingSizeMeasureMapping.keySet());
- if (!missingLengthMeasureTypeCodes.isEmpty()) {
+ if (!unkownCodes.isEmpty()) {
- // migration impossible, il manque encore des référentiels
- // ce cas ne devrait jamais arrivé
- throw new IllegalStateException("Les types de mesure de taille pour les codes suivants :\n\t" + Joiner.on("\n\t").join(missingLengthMeasureTypeCodes) + " sont requis pour la migration mais n'ont pas été trouvés en base.");
- }
+ // migration impossible, il manque encore des référentiels
+ // ce cas ne devrait jamais arrivé
+ throw new IllegalStateException("Les types de mesure de taille pour les codes suivants :\n\t" + Joiner.on("\n\t").join(unkownCodes) + " sont requis pour la migration mais n'ont pas été trouvés en base.");
}
- ImmutableMap<String, String> extraTopiaIdsByCode = extraTopiaIdsByCodeBuilder.build();
+ Set<String> missingSizeMeasureTypeIds = knownSizeMeasureTypeMapping.values().stream().filter(id -> !existingSizeMeasureMapping.values().contains(id)).collect(Collectors.toSet());
- Set<String> invalidCodes = new LinkedHashSet<>();
- for (String lengthMeasureType : lengthMeasureTypes) {
-
- lengthMeasureType = lengthMeasureType.trim();
- if (lengthMeasureType.isEmpty()) {
- continue;
- }
- if (missingCodesMapping.containsKey(lengthMeasureType)) {
- lengthMeasureType = missingCodesMapping.get(lengthMeasureType);
- }
+ for (String missingSizeMeasureTypeId : missingSizeMeasureTypeIds) {
+ queries.add(sqlMappingByCode.get(missingSizeMeasureTypeId));
+ }
- String finalLengthMeasureType = lengthMeasureType;
- String sizeMeasureTypeId = extraTopiaIdsByCode.get(lengthMeasureType);
- if (sizeMeasureTypeId == null) {
- sizeMeasureTypeId = topiaSqlSupport.findSingleResult(new TopiaSqlQuery<String>() {
-
- @Override
- public PreparedStatement prepareQuery(Connection connection) throws SQLException {
- return connection.prepareStatement("SELECT topiaId FROM observe_longline.sizeMeasureType WHERE code = '" + finalLengthMeasureType + "'");
- }
-
- @Override
- public String prepareResult(ResultSet set) throws SQLException {
- return set.getString(1);
- }
- });
- }
+ ImmutableMap.Builder<String, String> allSizeMeasureTypeMappingBuilder = ImmutableMap.<String, String>builder().putAll(existingSizeMeasureMapping);
+ knownSizeMeasureTypeMapping.entrySet().stream().filter(e -> !existingSizeMeasureMapping.containsKey(e.getKey())).forEach(e -> allSizeMeasureTypeMappingBuilder.put(e.getKey(), e.getValue()));
+ ImmutableMap<String, String> allSizeMeasureTypeMapping = allSizeMeasureTypeMappingBuilder.build();
- if (sizeMeasureTypeId == null) {
+ for (String lengthMeasureType : lengthMeasureTypes) {
- if (log.isWarnEnabled()) {
- log.warn("Impossible de trouver la type de mesure de taille pour le code: " + lengthMeasureType);
- }
- invalidCodes.add(lengthMeasureType);
- } else {
- sizeMeasureTypeId = StringUtils.replace(sizeMeasureTypeId, ".longline", "");
- queries.add(String.format("UPDATE observe_common.species SET sizeMeasureType = '%s' WHERE lengthMeasureType = '%s'", sizeMeasureTypeId, lengthMeasureType));
- }
- }
+ lengthMeasureType = lengthMeasureType.trim();
- if (!invalidCodes.isEmpty()) {
+ String sizeMeasureTypeId = allSizeMeasureTypeMapping.get(lengthMeasureType);
+ queries.add(String.format("UPDATE observe_common.species SET sizeMeasureType = '%s' WHERE lengthMeasureType = '%s'", sizeMeasureTypeId, lengthMeasureType));
- throw new IllegalStateException("Impossible de trouver la type de mesure de taille pour les codes suivants :\n\t" + Joiner.on("\n\t").join(invalidCodes));
}
}
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/cd4789de14996a02785959f9f6b…
1
0
[Git][ultreiaio/ird-observe][develop] 3 commits: Mettre une largeur minimum sur l'arbre de navigation (See #751)
by Tony CHEMIT 29 Mar '17
by Tony CHEMIT 29 Mar '17
29 Mar '17
Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
8189b93a by Tony CHEMIT at 2017-03-29T09:49:40+02:00
Mettre une largeur minimum sur l'arbre de navigation (See #751)
- - - - -
217017d7 by Tony CHEMIT at 2017-03-29T13:00:22+02:00
Amélioration du header de l'arbre de navigation (See #751)
- - - - -
83996403 by Tony CHEMIT at 2017-03-29T13:02:10+02:00
Code couleurs (see #756)
- - - - -
4 changed files:
- application-swing/src/main/java/fr/ird/observe/application/swing/ui/ObserveMainUIInitializer.java
- application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jaxx
- application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jcss
- application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeaderHandler.java
Changes:
=====================================
application-swing/src/main/java/fr/ird/observe/application/swing/ui/ObserveMainUIInitializer.java
=====================================
--- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/ObserveMainUIInitializer.java
+++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/ObserveMainUIInitializer.java
@@ -34,6 +34,7 @@ import fr.ird.observe.application.swing.ui.content.ContentUIManager;
import fr.ird.observe.application.swing.ui.content.ObserveActionMap;
import fr.ird.observe.application.swing.ui.tree.ObserveNavigationTreeShowPopupAction;
import fr.ird.observe.application.swing.ui.tree.navigation.NavigationTree;
+import fr.ird.observe.application.swing.ui.tree.navigation.NavigationTreeHeader;
import fr.ird.observe.application.swing.ui.tree.navigation.NavigationTreeModel;
import fr.ird.observe.application.swing.ui.tree.navigation.nodes.NavigationTreeNodeSupport;
import fr.ird.observe.application.swing.ui.tree.navigation.nodes.ReferenceNavigationTreeNodeSupport;
@@ -41,24 +42,22 @@ import fr.ird.observe.application.swing.ui.tree.navigation.nodes.StringNavigatio
import fr.ird.observe.application.swing.ui.util.ObserveSwingValidatorMessageTableModel;
import fr.ird.observe.application.swing.ui.util.ObserveValidatorMessageTableRenderer;
import fr.ird.observe.services.dto.constants.ReferentialLocale;
-import org.nuiton.jaxx.runtime.context.JAXXInitialContext;
-import org.nuiton.jaxx.widgets.error.ErrorDialogUI;
-import org.nuiton.jaxx.validator.swing.SwingValidatorMessageTableModel;
-import org.nuiton.jaxx.validator.swing.SwingValidatorUtil;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.nuiton.i18n.I18n;
+import org.nuiton.jaxx.runtime.context.JAXXInitialContext;
+import org.nuiton.jaxx.validator.swing.SwingValidatorMessageTableModel;
+import org.nuiton.jaxx.validator.swing.SwingValidatorUtil;
+import org.nuiton.jaxx.widgets.error.ErrorDialogUI;
-import javax.swing.AbstractButton;
-import javax.swing.JComponent;
-import javax.swing.SwingUtilities;
+import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.LineBorder;
import javax.swing.event.TreeSelectionEvent;
import javax.swing.tree.TreePath;
-import java.awt.Component;
-import java.awt.Container;
-import java.awt.Cursor;
+import java.awt.*;
+import java.awt.event.ComponentAdapter;
+import java.awt.event.ComponentEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
@@ -427,6 +426,38 @@ public class ObserveMainUIInitializer {
ui.getNavigationView().addMouseListener(mouseAdapter);
ui.getNavigation().addMouseListener(mouseAdapter);
ui.getNavigationTreeHeader().addMouseListener(mouseAdapter);
+
+ ui.getNavigationView().setRightDecoration(ui.getNavigationTreeHeader().getToolbar());
+ ui.getNavigationView().addComponentListener(new ComponentAdapter() {
+
+ @Override
+ public void componentResized(ComponentEvent e) {
+
+ JComponent source = (JComponent) e.getSource();
+
+ NavigationTreeHeader actions = ui.getNavigationTreeHeader();
+
+ Dimension preferredLayoutSize = actions.getLayout().preferredLayoutSize(actions);
+
+ Dimension showLonglineSize = actions.getShowLongline().getSize();
+ Dimension showSeineSize = actions.getShowSeine().getSize();
+ Dimension showReferential = actions.getShowReferential().getSize();
+ Dimension showEmpty = actions.getShowEmptyProgram().getSize();
+ int minWidth = 18 + (int) Math.max(showLonglineSize.getWidth() + showSeineSize.getWidth(), showReferential.getWidth() + showEmpty.getWidth());
+ source.setMinimumSize(new Dimension(minWidth, (int) source.getSize().getHeight()));
+ log.debug("Header resized to minumun: " + source.getMinimumSize());
+
+ int maxWidth = ui.getNavigationView().getWidth() - 10;
+
+ int currentWidth = (int) preferredLayoutSize.getWidth();
+ int height = 32;
+ if (currentWidth > maxWidth) {
+ height += 32;
+ }
+ actions.setPreferredSize(new Dimension(maxWidth, height));
+
+ }
+ });
}
protected void init(ObserveActionMap actionMap, AbstractButton editor) {
@@ -499,7 +530,7 @@ public class ObserveMainUIInitializer {
/**
* Nettoye des ui tout ce qui concerne un modèle de navigation.
- *
+ * <p>
* <b>Note:</b> cette méthode doit être appelée avant tout rechargement de modèle de naivgation.
*/
public void cleanNavigationUI() {
@@ -522,7 +553,7 @@ public class ObserveMainUIInitializer {
/**
* Charge dans l'ui un nouveau modèle de navigation.
- *
+ * <p>
* <b>Note:</b> cette méthode doit être appelée après tout rechargement de modèle de naivgation.
**/
public void loadNavigationUI() {
=====================================
application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jaxx
=====================================
--- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jaxx
+++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jaxx
@@ -17,36 +17,22 @@
<http://www.gnu.org/licenses/gpl-3.0.html>.
#L%
-->
-<JPanel layout='{new BorderLayout()}'>
+<JPanel layout='{new FlowLayout(FlowLayout.LEFT, 2, 2)}'>
<import>
java.awt.FlowLayout
</import>
- <JToolBar constraints='BorderLayout.WEST' layout="{new FlowLayout(FlowLayout.CENTER, 2, 2)}">
- <JToggleButton id='showSeine' onActionPerformed="handler.tryToUpdateNavigationTree()"/>
- <JToggleButton id='showLongline' onActionPerformed="handler.tryToUpdateNavigationTree()"/>
- <JToggleButton id='showReferential' onActionPerformed="handler.tryToUpdateNavigationTree()"/>
- <JToggleButton id='showEmptyProgram' onActionPerformed="handler.tryToUpdateNavigationTree()"/>
- </JToolBar>
-
- <!-- label -->
- <String id='labelText' javaBean='null'/>
+ <JToggleButton id='showSeine' onActionPerformed="handler.tryToUpdateNavigationTree()"/>
+ <JToggleButton id='showLongline' onActionPerformed="handler.tryToUpdateNavigationTree()"/>
+ <JToggleButton id='showReferential' onActionPerformed="handler.tryToUpdateNavigationTree()"/>
+ <JToggleButton id='showEmptyProgram' onActionPerformed="handler.tryToUpdateNavigationTree()"/>
- <!-- tree -->
<NavigationTree id='tree' javaBean='new NavigationTree()'/>
- <JTextField id="search" visible="false" constraints='BorderLayout.CENTER'
- onKeyReleased="handler.search(search.getText())"/>
-
- <!--<JLabel id="label" constraints='BorderLayout.CENTER'/>-->
-
- <JToolBar id='toolbar' constraints='BorderLayout.EAST'>
-
- <!-- les boutons pour grouper/déplier tout l'arbre -->
+ <JToolBar id='toolbar'>
<JButton id='colapseAll' onActionPerformed='handler.collapseAll()'/>
<JButton id='expandAll' onActionPerformed='handler.expandAll()'/>
-
</JToolBar>
</JPanel>
=====================================
application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jcss
=====================================
--- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jcss
+++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jcss
@@ -42,10 +42,6 @@
toolTipText:"observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.EMPTY.tip";
}
-#label {
- text:{getLabelText()};
-}
-
JToggleButton {
focusable:false;
focusPainted:false;
=====================================
application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeaderHandler.java
=====================================
--- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeaderHandler.java
+++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeaderHandler.java
@@ -69,10 +69,10 @@ public class NavigationTreeHeaderHandler implements UIHandler<NavigationTreeHead
@Override
public void afterInit(NavigationTreeHeader ui) {
- ui.getShowSeine().setIcon(UIHelper.getUIManagerIcon("navigation." + TripSeineDto.class.getName() + "-16"));
- ui.getShowLongline().setIcon(UIHelper.getUIManagerIcon("navigation." + TripLonglineDto.class.getName() + "-16"));
+ ui.getShowSeine().setIcon(UIHelper.getUIManagerIcon("navigation." + ProgramDto.class.getName() + "-16"));
+ ui.getShowLongline().setIcon(UIHelper.getUIManagerIcon("navigation." + ProgramDto.class.getName() + "-16"));
ui.getShowReferential().setIcon(UIHelper.getUIManagerIcon("navigation.referentiel-16"));
- ui.getShowEmptyProgram().setIcon(UIHelper.getUIManagerIcon("navigation." + ProgramDto.class.getName() + "-16"));
+ ui.getShowEmptyProgram().setIcon(UIHelper.getUIManagerIcon("navigation." + TripSeineDto.class.getName() + "-16"));
NavigationTree tree = ui.getTree();
TreeSearchable searchable = new TreeSearchable(tree);
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/compare/2b989765bbb1a32f508f77298a…
1
0
[Git][ultreiaio/ird-observe][develop] Filtres d'affichage de l'arbre (See #750) /label ~Résolu /milestone %6.0-RC-2
by Tony CHEMIT 29 Mar '17
by Tony CHEMIT 29 Mar '17
29 Mar '17
Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
2b989765 by Tony CHEMIT at 2017-03-29T09:17:39+02:00
Filtres d'affichage de l'arbre (See #750) /label ~Résolu /milestone %6.0-RC-2
- - - - -
4 changed files:
- application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jcss
- application-swing/src/main/resources/i18n/application-swing_en_GB.properties
- application-swing/src/main/resources/i18n/application-swing_es_ES.properties
- application-swing/src/main/resources/i18n/application-swing_fr_FR.properties
Changes:
=====================================
application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jcss
=====================================
--- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jcss
+++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/tree/navigation/NavigationTreeHeader.jcss
@@ -38,6 +38,7 @@
#showEmptyProgram {
selected: {tree.getTreeModel().isLoadEmptyProgram()};
+ text:"observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.EMPTY";
toolTipText:"observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.EMPTY.tip";
}
=====================================
application-swing/src/main/resources/i18n/application-swing_en_GB.properties
=====================================
--- a/application-swing/src/main/resources/i18n/application-swing_en_GB.properties
+++ b/application-swing/src/main/resources/i18n/application-swing_en_GB.properties
@@ -1453,6 +1453,7 @@ observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation
observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation.recuperation=Grab
observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation.recuperationEtRemplacement=Grab and change
observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation.visite=Visit
+observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.EMPTY=Without trips
observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.EMPTY.tip=Display programs with no trip
observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.LL=Longline
observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.LL.tip=Display Palangre's programs
=====================================
application-swing/src/main/resources/i18n/application-swing_es_ES.properties
=====================================
--- a/application-swing/src/main/resources/i18n/application-swing_es_ES.properties
+++ b/application-swing/src/main/resources/i18n/application-swing_es_ES.properties
@@ -1455,6 +1455,7 @@ observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation
observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation.recuperation=Recogida de baliza sin regreso al agua
observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation.recuperationEtRemplacement=Recuperación y colocación de una nueva baliza
observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation.visite=Visita a la baliza
+observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.EMPTY=Sans marée\#TODO
observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.EMPTY.tip=Voir les programmes sans marée \#TODO
observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.LL=Palangre
observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.LL.tip=Voir les programmes Palangre \#TODO
=====================================
application-swing/src/main/resources/i18n/application-swing_fr_FR.properties
=====================================
--- a/application-swing/src/main/resources/i18n/application-swing_fr_FR.properties
+++ b/application-swing/src/main/resources/i18n/application-swing_fr_FR.properties
@@ -1460,6 +1460,7 @@ observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation
observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation.recuperation=Récupération d'une balise sans remise à l'eau
observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation.recuperationEtRemplacement=Récupération et pose d'une nouvelle balise
observe.enum.fr.ird.observe.common.constants.seine.TypeTransmittingBuoyOperation.visite=Simple visite de la balise
+observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.EMPTY=Sans marée
observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.EMPTY.tip=Voir les programmes sans marée
observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.LL=Palangre
observe.enum.fr.ird.observe.services.dto.constants.ObserveModelType.LL.tip=Voir les programmes Palangre
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/2b989765bbb1a32f508f77298a3…
1
0
Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
6d2cf6e4 by Tony CHEMIT at 2017-03-22T13:23:39+01:00
fix builds
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,7 @@ stages:
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- git config --global user.name $GITLAB_USER_ID
- git config --global user.email $GITLAB_USER_EMAIL
- - (cd ~ ; git clone ssh://git@gitlab.com/maven.ultreia.io/env.git)
+ - (cd ~ ; git clone ssh://git@gitlab.com/ultreiaio/env.git)
- . ~/env/bin/prepare-env.sh
.before_script_clone: &before_script_clone
@@ -38,7 +38,7 @@ stages:
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- git config --global user.name $GITLAB_USER_ID
- git config --global user.email $GITLAB_USER_EMAIL
- - (cd ~ ; git clone ssh://git@gitlab.com/maven.ultreia.io/env.git)
+ - (cd ~ ; git clone ssh://git@gitlab.com/ultreiaio/env.git)
- . ~/env/bin/prepare-env-with-clone.sh "$CI_PROJECT_PATH" "$CI_PROJECT_NAME"
.env_test: &env_test
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/6d2cf6e4142d925b62491404f91…
1
0