Tony CHEMIT pushed to branch master-5.x at ultreiaio / ird-observe

Commits:

26 changed files:

Changes:

  • application-swing-configuration/pom.xml
    ... ... @@ -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>
    

  • application-swing-decoration/pom.xml
    ... ... @@ -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>
    

  • application-swing-validation/pom.xml
    ... ... @@ -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>
    

  • application-swing-validators/pom.xml
    ... ... @@ -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>
    

  • application-swing/pom.xml
    ... ... @@ -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>
    

  • 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;
    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,
    

  • application-web-configuration/pom.xml
    ... ... @@ -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>
    

  • application-web/pom.xml
    ... ... @@ -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>
    

  • entities-migration/pom.xml
    ... ... @@ -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>
    

  • entities/pom.xml
    ... ... @@ -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>
    

  • observe/pom.xml
    ... ... @@ -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>
    

  • pom.xml
    ... ... @@ -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>
    

  • services-configuration-rest/pom.xml
    ... ... @@ -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>
    

  • services-configuration-topia/pom.xml
    ... ... @@ -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>
    

  • services-configuration/pom.xml
    ... ... @@ -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>
    

  • services-dto/pom.xml
    ... ... @@ -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>
    

  • services-rest/pom.xml
    ... ... @@ -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>
    

  • services-runner/pom.xml
    ... ... @@ -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>
    

  • services-topia-validation/pom.xml
    ... ... @@ -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>
    

  • services-topia-validators/pom.xml
    ... ... @@ -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>
    

  • services-topia/pom.xml
    ... ... @@ -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>
    

  • services/pom.xml
    ... ... @@ -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>
    

  • test/pom.xml
    ... ... @@ -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>
    

  • toolbox-maven-plugin/pom.xml
    ... ... @@ -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>
    

  • topia-extension/pom.xml
    ... ... @@ -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>
    

  • topia-templates-extension/pom.xml
    ... ... @@ -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>