You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2018/12/12 16:01:08 UTC

[09/10] tomee git commit: TOMEE-2355 - Update all MP TCK to execute on TomEE Plume with a build profile.

TOMEE-2355 - Update all MP TCK to execute on TomEE Plume with a build profile.


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/3c0ee5df
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/3c0ee5df
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/3c0ee5df

Branch: refs/heads/master
Commit: 3c0ee5df691e718c8c68fca1529b2caa963a75ad
Parents: 8968aa0
Author: Roberto Cortez <ra...@yahoo.com>
Authored: Wed Dec 12 14:15:27 2018 +0000
Committer: Roberto Cortez <ra...@yahoo.com>
Committed: Wed Dec 12 14:15:27 2018 +0000

----------------------------------------------------------------------
 tck/microprofile-tck/config/pom.xml                 | 11 +++++++++++
 .../config/src/test/resources/arquillian.xml        | 16 ++++++++++++++++
 tck/microprofile-tck/fault-tolerance/pom.xml        | 11 +++++++++++
 .../src/test/resources/arquillian.xml               | 12 ++++++++++++
 tck/microprofile-tck/health/pom.xml                 | 11 +++++++++++
 .../health/src/test/resources/arquillian.xml        | 12 ++++++++++++
 tck/microprofile-tck/jwt/pom.xml                    | 11 +++++++++++
 .../jwt/src/test/resources/arquillian.xml           | 15 +++++++++++++++
 tck/microprofile-tck/metrics/pom.xml                | 11 +++++++++++
 .../metrics/src/test/resources/arquillian.xml       | 15 +++++++++++++++
 tck/microprofile-tck/openapi/pom.xml                | 11 +++++++++++
 .../openapi/src/test/resources/arquillian.xml       | 16 ++++++++++++++++
 tck/microprofile-tck/opentracing/pom.xml            | 11 +++++++++++
 .../opentracing/src/test/resources/arquillian.xml   | 12 ++++++++++++
 tck/microprofile-tck/rest-client/pom.xml            | 11 +++++++++++
 .../rest-client/src/test/resources/arquillian.xml   | 15 +++++++++++++++
 16 files changed, 201 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/config/pom.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/config/pom.xml b/tck/microprofile-tck/config/pom.xml
index 92d4161..a5cce5a 100644
--- a/tck/microprofile-tck/config/pom.xml
+++ b/tck/microprofile-tck/config/pom.xml
@@ -69,6 +69,17 @@
                   </systemPropertyVariables>
                 </configuration>
               </execution>
+              <execution>
+                <id>tomee-plume</id>
+                <goals>
+                  <goal>test</goal>
+                </goals>
+                <configuration>
+                  <systemPropertyVariables>
+                    <arquillian.launch>tomee-plume</arquillian.launch>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
             </executions>
           </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/config/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/config/src/test/resources/arquillian.xml b/tck/microprofile-tck/config/src/test/resources/arquillian.xml
index 46e359c..bace620 100644
--- a/tck/microprofile-tck/config/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/config/src/test/resources/arquillian.xml
@@ -53,4 +53,20 @@
       </property>
     </configuration>
   </container>
+  <container qualifier="tomee-plume">
+    <configuration>
+      <property name="httpPort">-1</property>
+      <property name="ajpPort">-1</property>
+      <property name="stopPort">-1</property>
+      <property name="classifier">plume</property>
+      <property name="conf">src/test/conf</property>
+      <property name="dir">target/tomee</property>
+      <property name="appWorkingDir">target/workdir</property>
+      <property name="cleanOnStartUp">true</property>
+      <property name="properties">
+        config.test = SUCCESS
+        org.apache.geronimo.config.configsource.SystemPropertyConfigSource.copy = false
+      </property>
+    </configuration>
+  </container>
 </arquillian>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/fault-tolerance/pom.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/fault-tolerance/pom.xml b/tck/microprofile-tck/fault-tolerance/pom.xml
index 43a82c0..81060d1 100644
--- a/tck/microprofile-tck/fault-tolerance/pom.xml
+++ b/tck/microprofile-tck/fault-tolerance/pom.xml
@@ -64,6 +64,17 @@
                   </systemPropertyVariables>
                 </configuration>
               </execution>
+              <execution>
+                <id>tomee-plume</id>
+                <goals>
+                  <goal>test</goal>
+                </goals>
+                <configuration>
+                  <systemPropertyVariables>
+                    <arquillian.launch>tomee-plume</arquillian.launch>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
             </executions>
           </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/fault-tolerance/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/fault-tolerance/src/test/resources/arquillian.xml b/tck/microprofile-tck/fault-tolerance/src/test/resources/arquillian.xml
index a23fae3..ec912c5 100644
--- a/tck/microprofile-tck/fault-tolerance/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/fault-tolerance/src/test/resources/arquillian.xml
@@ -45,4 +45,16 @@
       <property name="cleanOnStartUp">true</property>
     </configuration>
   </container>
+  <container qualifier="tomee-plume">
+    <configuration>
+      <property name="httpPort">-1</property>
+      <property name="ajpPort">-1</property>
+      <property name="stopPort">-1</property>
+      <property name="classifier">plume</property>
+      <property name="conf">src/test/conf</property>
+      <property name="dir">target/tomee</property>
+      <property name="appWorkingDir">target/workdir</property>
+      <property name="cleanOnStartUp">true</property>
+    </configuration>
+  </container>
 </arquillian>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/health/pom.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/health/pom.xml b/tck/microprofile-tck/health/pom.xml
index 9159c3e..06c5dd0 100644
--- a/tck/microprofile-tck/health/pom.xml
+++ b/tck/microprofile-tck/health/pom.xml
@@ -64,6 +64,17 @@
                   </systemPropertyVariables>
                 </configuration>
               </execution>
+              <execution>
+                <id>tomee-plume</id>
+                <goals>
+                  <goal>test</goal>
+                </goals>
+                <configuration>
+                  <systemPropertyVariables>
+                    <arquillian.launch>tomee-plume</arquillian.launch>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
             </executions>
           </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/health/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/health/src/test/resources/arquillian.xml b/tck/microprofile-tck/health/src/test/resources/arquillian.xml
index a23fae3..ec912c5 100644
--- a/tck/microprofile-tck/health/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/health/src/test/resources/arquillian.xml
@@ -45,4 +45,16 @@
       <property name="cleanOnStartUp">true</property>
     </configuration>
   </container>
+  <container qualifier="tomee-plume">
+    <configuration>
+      <property name="httpPort">-1</property>
+      <property name="ajpPort">-1</property>
+      <property name="stopPort">-1</property>
+      <property name="classifier">plume</property>
+      <property name="conf">src/test/conf</property>
+      <property name="dir">target/tomee</property>
+      <property name="appWorkingDir">target/workdir</property>
+      <property name="cleanOnStartUp">true</property>
+    </configuration>
+  </container>
 </arquillian>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/jwt/pom.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/jwt/pom.xml b/tck/microprofile-tck/jwt/pom.xml
index 6c71438..ccc97fd 100644
--- a/tck/microprofile-tck/jwt/pom.xml
+++ b/tck/microprofile-tck/jwt/pom.xml
@@ -194,6 +194,17 @@
                   </systemPropertyVariables>
                 </configuration>
               </execution>
+              <execution>
+                <id>tomee-plume</id>
+                <goals>
+                  <goal>test</goal>
+                </goals>
+                <configuration>
+                  <systemPropertyVariables>
+                    <arquillian.launch>tomee-plume</arquillian.launch>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
             </executions>
           </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml b/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml
index 53f569c..4929cb5 100644
--- a/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml
@@ -51,4 +51,19 @@
       </property>
     </configuration>
   </container>
+  <container qualifier="tomee-plume">
+    <configuration>
+      <property name="httpPort">-1</property>
+      <property name="ajpPort">-1</property>
+      <property name="stopPort">-1</property>
+      <property name="classifier">plume</property>
+      <property name="conf">src/test/conf</property>
+      <property name="dir">target/tomee</property>
+      <property name="appWorkingDir">target/workdir</property>
+      <property name="cleanOnStartUp">true</property>
+      <property name="properties">
+        org.apache.webbeans.component.PrincipalBean.proxy=false
+      </property>
+    </configuration>
+  </container>
 </arquillian>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/metrics/pom.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/metrics/pom.xml b/tck/microprofile-tck/metrics/pom.xml
index e339279..e013103 100644
--- a/tck/microprofile-tck/metrics/pom.xml
+++ b/tck/microprofile-tck/metrics/pom.xml
@@ -72,6 +72,17 @@
                   </systemPropertyVariables>
                 </configuration>
               </execution>
+              <execution>
+                <id>tomee-plume</id>
+                <goals>
+                  <goal>test</goal>
+                </goals>
+                <configuration>
+                  <systemPropertyVariables>
+                    <arquillian.launch>tomee-plume</arquillian.launch>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
             </executions>
           </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/metrics/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/metrics/src/test/resources/arquillian.xml b/tck/microprofile-tck/metrics/src/test/resources/arquillian.xml
index 79e9905..f8ec681 100644
--- a/tck/microprofile-tck/metrics/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/metrics/src/test/resources/arquillian.xml
@@ -51,4 +51,19 @@
       </property>
     </configuration>
   </container>
+  <container qualifier="tomee-plume">
+    <configuration>
+      <property name="httpPort">50290</property>
+      <property name="ajpPort">-1</property>
+      <property name="stopPort">-1</property>
+      <property name="classifier">plume</property>
+      <property name="conf">src/test/conf</property>
+      <property name="dir">target/tomee</property>
+      <property name="appWorkingDir">target/workdir</property>
+      <property name="cleanOnStartUp">true</property>
+      <property name="properties">
+        MP_METRICS_TAGS = tier=integration
+      </property>
+    </configuration>
+  </container>
 </arquillian>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/openapi/pom.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/openapi/pom.xml b/tck/microprofile-tck/openapi/pom.xml
index 6b7fcd8..66c2375 100644
--- a/tck/microprofile-tck/openapi/pom.xml
+++ b/tck/microprofile-tck/openapi/pom.xml
@@ -76,6 +76,17 @@
                   </systemPropertyVariables>
                 </configuration>
               </execution>
+              <execution>
+                <id>tomee-plume</id>
+                <goals>
+                  <goal>test</goal>
+                </goals>
+                <configuration>
+                  <systemPropertyVariables>
+                    <arquillian.launch>tomee-plume</arquillian.launch>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
             </executions>
           </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/openapi/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/openapi/src/test/resources/arquillian.xml b/tck/microprofile-tck/openapi/src/test/resources/arquillian.xml
index 4b9d334..e42da07 100644
--- a/tck/microprofile-tck/openapi/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/openapi/src/test/resources/arquillian.xml
@@ -53,4 +53,20 @@
       </property>
     </configuration>
   </container>
+  <container qualifier="tomee-plume">
+    <configuration>
+      <property name="httpPort">50290</property>
+      <property name="ajpPort">-1</property>
+      <property name="stopPort">-1</property>
+      <property name="classifier">plume</property>
+      <property name="conf">src/test/conf</property>
+      <property name="dir">target/tomee</property>
+      <property name="appWorkingDir">target/workdir</property>
+      <property name="cleanOnStartUp">true</property>
+      <property name="properties">
+        <!-- TODO - The final dist should include this property -->
+        openejb.cxf-rs.cache-application = false
+      </property>
+    </configuration>
+  </container>
 </arquillian>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/opentracing/pom.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/opentracing/pom.xml b/tck/microprofile-tck/opentracing/pom.xml
index 99a4e6d..65924e0 100644
--- a/tck/microprofile-tck/opentracing/pom.xml
+++ b/tck/microprofile-tck/opentracing/pom.xml
@@ -64,6 +64,17 @@
                   </systemPropertyVariables>
                 </configuration>
               </execution>
+              <execution>
+                <id>tomee-plume</id>
+                <goals>
+                  <goal>test</goal>
+                </goals>
+                <configuration>
+                  <systemPropertyVariables>
+                    <arquillian.launch>tomee-plume</arquillian.launch>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
             </executions>
           </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml b/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml
index 401b6bb..aa4f421 100644
--- a/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml
@@ -44,4 +44,16 @@
       <property name="cleanOnStartUp">true</property>
     </configuration>
   </container>
+  <container qualifier="tomee-plume">
+    <configuration>
+      <property name="httpPort">-1</property>
+      <property name="ajpPort">-1</property>
+      <property name="stopPort">-1</property>
+      <property name="classifier">plume</property>
+      <property name="conf">src/test/conf</property>
+      <property name="dir">target/tomee</property>
+      <property name="appWorkingDir">target/workdir</property>
+      <property name="cleanOnStartUp">true</property>
+    </configuration>
+  </container>
 </arquillian>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/rest-client/pom.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/rest-client/pom.xml b/tck/microprofile-tck/rest-client/pom.xml
index f94276a..0312e53 100644
--- a/tck/microprofile-tck/rest-client/pom.xml
+++ b/tck/microprofile-tck/rest-client/pom.xml
@@ -90,6 +90,17 @@
                   </systemPropertyVariables>
                 </configuration>
               </execution>
+              <execution>
+                <id>tomee-plume</id>
+                <goals>
+                  <goal>test</goal>
+                </goals>
+                <configuration>
+                  <systemPropertyVariables>
+                    <arquillian.launch>tomee-plume</arquillian.launch>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
             </executions>
           </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/tomee/blob/3c0ee5df/tck/microprofile-tck/rest-client/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/rest-client/src/test/resources/arquillian.xml b/tck/microprofile-tck/rest-client/src/test/resources/arquillian.xml
index 1534c1c..731c9c2 100644
--- a/tck/microprofile-tck/rest-client/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/rest-client/src/test/resources/arquillian.xml
@@ -51,4 +51,19 @@
       </property>
     </configuration>
   </container>
+  <container qualifier="tomee-plume">
+    <configuration>
+      <property name="httpPort">-1</property>
+      <property name="ajpPort">-1</property>
+      <property name="stopPort">-1</property>
+      <property name="classifier">plume</property>
+      <property name="conf">src/test/conf</property>
+      <property name="dir">target/tomee</property>
+      <property name="appWorkingDir">target/workdir</property>
+      <property name="cleanOnStartUp">true</property>
+      <property name="additionalLibs">
+        mvn:com.github.tomakehurst:wiremock-standalone:2.10.1
+      </property>
+    </configuration>
+  </container>
 </arquillian>