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

Commits:

20 changed files:

Changes:

  • client-configuration/pom.xml
    ... ... @@ -26,7 +26,7 @@
    26 26
       <parent>
    
    27 27
         <groupId>fr.ird.observe</groupId>
    
    28 28
         <artifactId>ird-observe</artifactId>
    
    29
    -    <version>7.6.1</version>
    
    29
    +    <version>7.6.2</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>client-configuration</artifactId>
    

  • client-core/pom.xml
    ... ... @@ -26,7 +26,7 @@
    26 26
       <parent>
    
    27 27
         <groupId>fr.ird.observe</groupId>
    
    28 28
         <artifactId>ird-observe</artifactId>
    
    29
    -    <version>7.6.1</version>
    
    29
    +    <version>7.6.2</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>client-core</artifactId>
    

  • client-runner/pom.xml
    ... ... @@ -26,7 +26,7 @@
    26 26
       <parent>
    
    27 27
         <groupId>fr.ird.observe</groupId>
    
    28 28
         <artifactId>ird-observe</artifactId>
    
    29
    -    <version>7.6.1</version>
    
    29
    +    <version>7.6.2</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>client-runner</artifactId>
    

  • dto/pom.xml
    ... ... @@ -27,7 +27,7 @@
    27 27
       <parent>
    
    28 28
         <groupId>fr.ird.observe</groupId>
    
    29 29
         <artifactId>ird-observe</artifactId>
    
    30
    -    <version>7.6.1</version>
    
    30
    +    <version>7.6.2</version>
    
    31 31
       </parent>
    
    32 32
     
    
    33 33
       <artifactId>dto</artifactId>
    

  • observe-i18n/pom.xml
    ... ... @@ -26,7 +26,7 @@
    26 26
       <parent>
    
    27 27
         <groupId>fr.ird.observe</groupId>
    
    28 28
         <artifactId>ird-observe</artifactId>
    
    29
    -    <version>7.6.1</version>
    
    29
    +    <version>7.6.2</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>observe-i18n</artifactId>
    

  • observe/pom.xml
    ... ... @@ -26,7 +26,7 @@
    26 26
       <parent>
    
    27 27
         <groupId>fr.ird.observe</groupId>
    
    28 28
         <artifactId>ird-observe</artifactId>
    
    29
    -    <version>7.6.1</version>
    
    29
    +    <version>7.6.2</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>observe</artifactId>
    

  • persistence/pom.xml
    ... ... @@ -26,7 +26,7 @@
    26 26
       <parent>
    
    27 27
         <groupId>fr.ird.observe</groupId>
    
    28 28
         <artifactId>ird-observe</artifactId>
    
    29
    -    <version>7.6.1</version>
    
    29
    +    <version>7.6.2</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>persistence</artifactId>
    

  • persistence/src/main/java/fr/ird/observe/persistence/migration/DataSourceMigrationForVersion_7_6.java
    ... ... @@ -27,12 +27,14 @@ import org.apache.commons.lang3.tuple.Pair;
    27 27
     import org.nuiton.topia.persistence.support.TopiaSqlQuery;
    
    28 28
     import org.nuiton.topia.service.migration.resources.MigrationVersionResource;
    
    29 29
     import org.nuiton.topia.service.migration.resources.MigrationVersionResourceExecutor;
    
    30
    +import org.nuiton.util.DateUtil;
    
    30 31
     import org.nuiton.version.Versions;
    
    31 32
     
    
    32 33
     import java.sql.Connection;
    
    33 34
     import java.sql.PreparedStatement;
    
    34 35
     import java.sql.ResultSet;
    
    35 36
     import java.sql.SQLException;
    
    37
    +import java.util.Date;
    
    36 38
     import java.util.Set;
    
    37 39
     
    
    38 40
     /**
    
    ... ... @@ -72,7 +74,7 @@ public class DataSourceMigrationForVersion_7_6 extends MigrationVersionResource
    72 74
                     // Must be a ## starting comment
    
    73 75
                     continue;
    
    74 76
                 }
    
    75
    -            String homeId = comment.substring(1, endIndex - 1);
    
    77
    +            String homeId = comment.substring(1, endIndex);
    
    76 78
                 String newComment = endIndex + 1 == comment.length() ? "NULL" : (String.format("'%s'", comment.substring(endIndex + 1).trim().replaceAll("'","''")));
    
    77 79
                 executor.writeSql(String.format("UPDATE observe_seine.trip t SET comment = %s, homeId = '%s', topiaVersion = topiaVersion + 1, lastUpdateDate = CURRENT_TIMESTAMP WHERE t.topiaId = '%s';", newComment, homeId, tripId));
    
    78 80
             }
    

  • pom.xml
    ... ... @@ -26,12 +26,12 @@
    26 26
       <parent>
    
    27 27
         <groupId>io.ultreia.maven</groupId>
    
    28 28
         <artifactId>pom</artifactId>
    
    29
    -    <version>2020.27</version>
    
    29
    +    <version>2020.28</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <groupId>fr.ird.observe</groupId>
    
    33 33
       <artifactId>ird-observe</artifactId>
    
    34
    -  <version>7.6.1</version>
    
    34
    +  <version>7.6.2</version>
    
    35 35
       <packaging>pom</packaging>
    
    36 36
     
    
    37 37
       <name>ObServe :: Pom</name>
    

  • server-configuration/pom.xml
    ... ... @@ -26,7 +26,7 @@
    26 26
       <parent>
    
    27 27
         <groupId>fr.ird.observe</groupId>
    
    28 28
         <artifactId>ird-observe</artifactId>
    
    29
    -    <version>7.6.1</version>
    
    29
    +    <version>7.6.2</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>server-configuration</artifactId>
    
    ... ... @@ -119,7 +119,7 @@
    119 119
         <dependency>
    
    120 120
           <groupId>fr.ird.observe</groupId>
    
    121 121
           <artifactId>services</artifactId>
    
    122
    -      <version>7.6.1</version>
    
    122
    +      <version>7.6.2</version>
    
    123 123
           <scope>compile</scope>
    
    124 124
         </dependency>
    
    125 125
     
    

  • server-core/pom.xml
    ... ... @@ -27,7 +27,7 @@
    27 27
       <parent>
    
    28 28
         <groupId>fr.ird.observe</groupId>
    
    29 29
         <artifactId>ird-observe</artifactId>
    
    30
    -    <version>7.6.1</version>
    
    30
    +    <version>7.6.2</version>
    
    31 31
       </parent>
    
    32 32
     
    
    33 33
       <artifactId>server-core</artifactId>
    

  • server-runner/pom.xml
    ... ... @@ -27,7 +27,7 @@
    27 27
       <parent>
    
    28 28
         <groupId>fr.ird.observe</groupId>
    
    29 29
         <artifactId>ird-observe</artifactId>
    
    30
    -    <version>7.6.1</version>
    
    30
    +    <version>7.6.2</version>
    
    31 31
       </parent>
    
    32 32
     
    
    33 33
       <artifactId>server-runner</artifactId>
    

  • services-client/pom.xml
    ... ... @@ -27,7 +27,7 @@
    27 27
       <parent>
    
    28 28
         <groupId>fr.ird.observe</groupId>
    
    29 29
         <artifactId>ird-observe</artifactId>
    
    30
    -    <version>7.6.1</version>
    
    30
    +    <version>7.6.2</version>
    
    31 31
       </parent>
    
    32 32
     
    
    33 33
       <artifactId>services-client</artifactId>
    

  • services-local/pom.xml
    ... ... @@ -27,7 +27,7 @@
    27 27
       <parent>
    
    28 28
         <groupId>fr.ird.observe</groupId>
    
    29 29
         <artifactId>ird-observe</artifactId>
    
    30
    -    <version>7.6.1</version>
    
    30
    +    <version>7.6.2</version>
    
    31 31
       </parent>
    
    32 32
     
    
    33 33
       <artifactId>services-local</artifactId>
    

  • services/pom.xml
    ... ... @@ -27,7 +27,7 @@
    27 27
       <parent>
    
    28 28
         <groupId>fr.ird.observe</groupId>
    
    29 29
         <artifactId>ird-observe</artifactId>
    
    30
    -    <version>7.6.1</version>
    
    30
    +    <version>7.6.2</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>ird-observe</artifactId>
    
    29
    -    <version>7.6.1</version>
    
    29
    +    <version>7.6.2</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>test</artifactId>
    

  • test/src/main/resources/db/7.6/dataForTestLongline.sql.gz
    No preview for this file type
  • test/src/main/resources/db/7.6/dataForTestSeine.sql.gz
    No preview for this file type
  • test/src/main/resources/db/7.6/referentiel.sql.gz
    No preview for this file type
  • validation/pom.xml
    ... ... @@ -26,7 +26,7 @@
    26 26
       <parent>
    
    27 27
         <groupId>fr.ird.observe</groupId>
    
    28 28
         <artifactId>ird-observe</artifactId>
    
    29
    -    <version>7.6.1</version>
    
    29
    +    <version>7.6.2</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>validation</artifactId>