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

Commits:

18 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.0</version>
    
    29
    +    <version>7.6.1</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.0</version>
    
    29
    +    <version>7.6.1</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.0</version>
    
    29
    +    <version>7.6.1</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.0</version>
    
    30
    +    <version>7.6.1</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.0</version>
    
    29
    +    <version>7.6.1</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.0</version>
    
    29
    +    <version>7.6.1</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.0</version>
    
    29
    +    <version>7.6.1</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>persistence</artifactId>
    

  • persistence/src/main/java/fr/ird/observe/persistence/migration/DataSourceMigrationForVersion_7_6.java
    ... ... @@ -68,6 +68,10 @@ public class DataSourceMigrationForVersion_7_6 extends MigrationVersionResource
    68 68
                 String comment = pair.getValue().trim();
    
    69 69
     
    
    70 70
                 int endIndex = comment.indexOf('#', 1);
    
    71
    +            if (endIndex == 1) {
    
    72
    +                // Must be a ## starting comment
    
    73
    +                continue;
    
    74
    +            }
    
    71 75
                 String homeId = comment.substring(1, endIndex - 1);
    
    72 76
                 String newComment = endIndex + 1 == comment.length() ? "NULL" : (String.format("'%s'", comment.substring(endIndex + 1).trim().replaceAll("'","''")));
    
    73 77
                 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));
    

  • pom.xml
    ... ... @@ -31,7 +31,7 @@
    31 31
     
    
    32 32
       <groupId>fr.ird.observe</groupId>
    
    33 33
       <artifactId>ird-observe</artifactId>
    
    34
    -  <version>7.6.0</version>
    
    34
    +  <version>7.6.1</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.0</version>
    
    29
    +    <version>7.6.1</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.0</version>
    
    122
    +      <version>7.6.1</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.0</version>
    
    30
    +    <version>7.6.1</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.0</version>
    
    30
    +    <version>7.6.1</version>
    
    31 31
       </parent>
    
    32 32
     
    
    33 33
       <artifactId>server-runner</artifactId>
    
    ... ... @@ -65,6 +65,25 @@
    65 65
         <pluginManagement>
    
    66 66
           <plugins>
    
    67 67
     
    
    68
    +        <plugin>
    
    69
    +          <groupId>org.apache.maven.plugins</groupId>
    
    70
    +          <artifactId>maven-war-plugin</artifactId>
    
    71
    +          <configuration>
    
    72
    +            <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
    
    73
    +<!--            <webResources>-->
    
    74
    +<!--              <resource>-->
    
    75
    +<!--                <filtering>true</filtering>-->
    
    76
    +<!--                <directory>src/main/webapp</directory>-->
    
    77
    +<!--                <includes>-->
    
    78
    +<!--                  <include>**/web.xml</include>-->
    
    79
    +<!--                </includes>-->
    
    80
    +<!--              </resource>-->
    
    81
    +<!--            </webResources>-->
    
    82
    +<!--            <warSourceDirectory>src/main/webapp</warSourceDirectory>-->
    
    83
    +<!--            <webXml>src/main/webapp/WEB-INF/web.xml</webXml>-->
    
    84
    +          </configuration>
    
    85
    +        </plugin>
    
    86
    +
    
    68 87
             <plugin>
    
    69 88
               <groupId>org.mortbay.jetty</groupId>
    
    70 89
               <artifactId>jetty-maven-plugin</artifactId>
    

  • server-runner/src/main/webapp/WEB-INF/web.xml
    ... ... @@ -25,25 +25,13 @@
    25 25
              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    
    26 26
       http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" >
    
    27 27
     
    
    28
    -  <display-name>Observe Web Application by WebMotion</display-name>
    
    28
    +  <display-name>Observe Web v ${project.version} Application by WebMotion</display-name>
    
    29 29
     
    
    30 30
       <context-param>
    
    31 31
         <param-name>wm.skip.conventionScan</param-name>
    
    32 32
         <param-value>true</param-value>
    
    33 33
       </context-param>
    
    34 34
     
    
    35
    -  <!--filter>
    
    36
    -    <filter-name>topiaTransaction</filter-name>
    
    37
    -    <filter-class>
    
    38
    -      fr.ird.observe.services.rest.ObserveRestTransactionFilter
    
    39
    -    </filter-class>
    
    40
    -  </filter-->
    
    41
    -
    
    42
    -  <!--filter-mapping>
    
    43
    -    <filter-name>topiaTransaction</filter-name>
    
    44
    -    <url-pattern>/*</url-pattern>
    
    45
    -  </filter-mapping-->
    
    46
    -
    
    47 35
       <listener>
    
    48 36
         <listener-class>fr.ird.observe.server.ObserveWebApplicationListener</listener-class>
    
    49 37
       </listener>
    

  • 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.0</version>
    
    30
    +    <version>7.6.1</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.0</version>
    
    30
    +    <version>7.6.1</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.0</version>
    
    30
    +    <version>7.6.1</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.0</version>
    
    29
    +    <version>7.6.1</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>test</artifactId>
    

  • 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.0</version>
    
    29
    +    <version>7.6.1</version>
    
    30 30
       </parent>
    
    31 31
     
    
    32 32
       <artifactId>validation</artifactId>