Enable integration tests 77/88077/4
authorFilip Krzywka <filip.krzywka@nokia.com>
Mon, 20 May 2019 11:58:08 +0000 (13:58 +0200)
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Tue, 21 May 2019 07:25:25 +0000 (07:25 +0000)
Due to overriding oparent's configuration in "build/plugins" section
it seems we disabled resolving dependencies and integration-tests couldn't
find junit-jupiter-engine on classpath (test files were found, however
@Test annotation did not mean anything to failsafe plugin).

- also moved plugins-management section lower in build-tree to
follow convention
- prelonged hvves-client-producer test certificates

Change-Id: Iaddd26735e489180eaa0153fdd1322f95bcff36a
Issue-ID: DCAEGEN2-1423
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
pom.xml
services/hv-ves-client/producer/ct/src/test/resources/client.p12
services/hv-ves-client/producer/ct/src/test/resources/server.p12
services/hv-ves-client/producer/ct/src/test/resources/trust.p12

diff --git a/pom.xml b/pom.xml
index f04612d..d043e13 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
   <version>1.2.0-SNAPSHOT</version>
 
   <name>dcaegen2-services-sdk</name>
-  <description>Common SDK repo for all DCAE Services (R4)</description>
+  <description>Common SDK repo for all DCAE Services</description>
   <packaging>pom</packaging>
 
   <licenses>
@@ -39,7 +39,6 @@
     <commons-text.version>1.6</commons-text.version>
     <jetbrains-annotations.version>16.0.3</jetbrains-annotations.version>
     <protoc-jar-maven-plugin.version>3.6.0.2</protoc-jar-maven-plugin.version>
-    <maven-failsafe-plugin.version>2.21.0</maven-failsafe-plugin.version>
   </properties>
 
   <modules>
   </modules>
 
   <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <!-- minimize console output messages -->
+          <quiet>true</quiet>
+          <verbose>false</verbose>
+          <useStandardDocletOptions>false</useStandardDocletOptions>
+        </configuration>
+        <executions>
+          <execution>
+            <id>aggregate</id>
+            <phase>site</phase>
+            <goals>
+              <goal>aggregate</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>attach-javadoc</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <!-- configuration taken intact from oparent -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-failsafe-plugin</artifactId>
+      </plugin>
+    </plugins>
+
     <pluginManagement>
       <plugins>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-resources-plugin</artifactId>
-          <version>3.1.0</version> 
+          <version>3.1.0</version>
           <configuration>
             <encoding>${project.build.sourceEncoding}</encoding>
           </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
-    <plugins>
-      <plugin>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <configuration>
-          <!-- minimize console output messages -->
-          <quiet>true</quiet>
-          <verbose>false</verbose>
-          <useStandardDocletOptions>false</useStandardDocletOptions>
-        </configuration>
-        <executions>
-          <execution>
-            <id>aggregate</id>
-            <phase>site</phase>
-            <goals>
-              <goal>aggregate</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>attach-javadoc</id>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-failsafe-plugin</artifactId>
-        <version>${maven-failsafe-plugin.version}</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>integration-test</goal>
-              <goal>verify</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
   </build>
+
   <reporting>
     <plugins>
       <plugin>
index 26b79d7..3105cc9 100644 (file)
Binary files a/services/hv-ves-client/producer/ct/src/test/resources/client.p12 and b/services/hv-ves-client/producer/ct/src/test/resources/client.p12 differ
index 169ecf3..6f5c81e 100644 (file)
Binary files a/services/hv-ves-client/producer/ct/src/test/resources/server.p12 and b/services/hv-ves-client/producer/ct/src/test/resources/server.p12 differ
index 1ca2f65..bc4ba26 100644 (file)
Binary files a/services/hv-ves-client/producer/ct/src/test/resources/trust.p12 and b/services/hv-ves-client/producer/ct/src/test/resources/trust.p12 differ