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
-
fb98ce76
by Tony CHEMIT at 2017-03-22T08:09:13+01:00
-
efe6ea8e
by Tony CHEMIT at 2017-03-22T08:09:14+01:00
-
cb3e4bbe
by Tony CHEMIT at 2017-03-22T08:09:15+01:00
-
a628cf8b
by Tony CHEMIT at 2017-03-29T16:38:17+02:00
-
ff09e3b4
by Tony CHEMIT at 2017-03-29T16:40:29+02:00
-
88829e6a
by Tony CHEMIT at 2017-03-29T16:50:13+02:00
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:
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>5.3.6</version>
|
|
| 29 |
+ <version>5.3.7</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing-configuration</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>5.3.6</version>
|
|
| 29 |
+ <version>5.3.7</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing-decoration</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>5.3.6</version>
|
|
| 29 |
+ <version>5.3.7</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing-validation</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>5.3.6</version>
|
|
| 29 |
+ <version>5.3.7</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing-validators</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>5.3.6</version>
|
|
| 29 |
+ <version>5.3.7</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing</artifactId>
|
| ... | ... | @@ -31,31 +31,20 @@ import fr.ird.observe.application.swing.ui.admin.AdminTabUI; |
| 31 | 31 |
import fr.ird.observe.application.swing.ui.admin.AdminTabUIHandler;
|
| 32 | 32 |
import fr.ird.observe.application.swing.ui.admin.AdminUI;
|
| 33 | 33 |
import fr.ird.observe.application.swing.ui.admin.config.ConfigUI;
|
| 34 |
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.CopyToLeftDataSynchronizeTask;
|
|
| 35 |
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.CopyToRightDataSynchronizeTask;
|
|
| 36 |
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.DataSynchronizeTaskSupport;
|
|
| 37 |
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.DeleteFromLeftDataSynchronizeTask;
|
|
| 38 |
-import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.DeleteFromRightDataSynchronizeTask;
|
|
| 34 |
+import fr.ird.observe.application.swing.ui.admin.synchronize.data.task.*;
|
|
| 39 | 35 |
import fr.ird.observe.application.swing.ui.storage.tabs.DataSelectionModel;
|
| 40 | 36 |
import fr.ird.observe.application.swing.ui.tree.ObserveTreeHelper;
|
| 41 |
-import fr.ird.observe.services.configuration.topia.ObserveDataSourceConfigurationTopiaPG;
|
|
| 42 | 37 |
import fr.ird.observe.services.dto.DataReference;
|
| 43 | 38 |
import fr.ird.observe.services.dto.referential.ProgramDto;
|
| 44 | 39 |
import fr.ird.observe.services.dto.referential.ReferentialReference;
|
| 45 |
-import fr.ird.observe.services.service.trip.DeleteTripRequest;
|
|
| 46 |
-import fr.ird.observe.services.service.trip.DeleteTripResult;
|
|
| 47 |
-import fr.ird.observe.services.service.trip.ExportTripRequest;
|
|
| 48 |
-import fr.ird.observe.services.service.trip.ExportTripResult;
|
|
| 49 |
-import fr.ird.observe.services.service.trip.ImportTripRequest;
|
|
| 50 |
-import fr.ird.observe.services.service.trip.ImportTripResult;
|
|
| 51 |
-import fr.ird.observe.services.service.trip.TripManagementService;
|
|
| 40 |
+import fr.ird.observe.services.service.trip.*;
|
|
| 52 | 41 |
import jaxx.runtime.swing.wizard.ext.WizardState;
|
| 53 | 42 |
import org.apache.commons.logging.Log;
|
| 54 | 43 |
import org.apache.commons.logging.LogFactory;
|
| 55 | 44 |
|
| 56 |
-import javax.swing.DefaultListModel;
|
|
| 45 |
+import javax.swing.*;
|
|
| 57 | 46 |
import javax.swing.border.TitledBorder;
|
| 58 |
-import java.awt.Color;
|
|
| 47 |
+import java.awt.*;
|
|
| 59 | 48 |
import java.util.List;
|
| 60 | 49 |
import java.util.Map;
|
| 61 | 50 |
|
| ... | ... | @@ -268,10 +257,7 @@ public class DataSynchroUIHandler extends AdminTabUIHandler { |
| 268 | 257 |
private WizardState doExecuteAction0() {
|
| 269 | 258 |
|
| 270 | 259 |
ObserveSwingDataSource leftSource = getStepModel().getLeftSource();
|
| 271 |
- boolean leftSourceIsPG = leftSource.getConfiguration() instanceof ObserveDataSourceConfigurationTopiaPG;
|
|
| 272 |
- |
|
| 273 | 260 |
ObserveSwingDataSource rightSource = getStepModel().getRightSource();
|
| 274 |
- boolean rightSourceIsPG = rightSource.getConfiguration() instanceof ObserveDataSourceConfigurationTopiaPG;
|
|
| 275 | 261 |
|
| 276 | 262 |
DefaultListModel<DataSynchronizeTaskSupport> tasks = getStepModel().getTasks();
|
| 277 | 263 |
int size = tasks.size();
|
| ... | ... | @@ -328,7 +314,7 @@ public class DataSynchroUIHandler extends AdminTabUIHandler { |
| 328 | 314 |
|
| 329 | 315 |
sendMessage(t("observe.actions.synchro.data.prepare.copyToLeftTask", programStr, tripStr));
|
| 330 | 316 |
|
| 331 |
- ExportTripRequest exportTripRequest = new ExportTripRequest(rightSourceIsPG, programId, tripId);
|
|
| 317 |
+ ExportTripRequest exportTripRequest = new ExportTripRequest(!leftSource.isLocal(), programId, tripId);
|
|
| 332 | 318 |
ExportTripResult exportTripResult = rightTripManagementService.exportTrip(exportTripRequest);
|
| 333 | 319 |
logExportResult(n("observe.actions.synchro.data.result.export.right.trip"),
|
| 334 | 320 |
exportTripResult,
|
| ... | ... | @@ -352,7 +338,7 @@ public class DataSynchroUIHandler extends AdminTabUIHandler { |
| 352 | 338 |
|
| 353 | 339 |
sendMessage(t("observe.actions.synchro.data.prepare.copyToRightTask", programStr, tripStr));
|
| 354 | 340 |
|
| 355 |
- ExportTripRequest exportTripRequest = new ExportTripRequest(leftSourceIsPG, programId, tripId);
|
|
| 341 |
+ ExportTripRequest exportTripRequest = new ExportTripRequest(!rightSource.isLocal(), programId, tripId);
|
|
| 356 | 342 |
ExportTripResult exportTripResult = leftTripManagementService.exportTrip(exportTripRequest);
|
| 357 | 343 |
logExportResult(n("observe.actions.synchro.data.result.export.left.trip"),
|
| 358 | 344 |
exportTripResult,
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>5.3.6</version>
|
|
| 29 |
+ <version>5.3.7</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-web-configuration</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>application-web</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>entities-migration</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>entities</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>5.3.6</version>
|
|
| 29 |
+ <version>5.3.7</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>observe</artifactId>
|
| ... | ... | @@ -32,7 +32,7 @@ |
| 32 | 32 |
|
| 33 | 33 |
<groupId>fr.ird.observe</groupId>
|
| 34 | 34 |
<artifactId>pom</artifactId>
|
| 35 |
- <version>5.3.6</version>
|
|
| 35 |
+ <version>5.3.7</version>
|
|
| 36 | 36 |
<packaging>pom</packaging>
|
| 37 | 37 |
|
| 38 | 38 |
<name>ObServe</name>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-configuration-rest</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-configuration-topia</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-configuration</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-dto</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-rest</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-runner</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-topia-validation</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>5.3.6</version>
|
|
| 29 |
+ <version>5.3.7</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>services-topia-validators</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-topia</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>5.3.6</version>
|
|
| 29 |
+ <version>5.3.7</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>test</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>toolbox-maven-plugin</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>topia-extension</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>5.3.6</version>
|
|
| 30 |
+ <version>5.3.7</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>topia-templates-extension</artifactId>
|