This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git
The following commit(s) were added to refs/heads/master by this push:
new 6106ae207e See where we are with our JWT impl
6106ae207e is described below
commit 6106ae207ec19d725e1d0af19c7d67f751846c23
Author: Jean-Louis Monteiro <[email protected]>
AuthorDate: Thu Apr 7 21:20:51 2022 +0200
See where we are with our JWT impl
---
tck/microprofile-tck/jwt/pom.xml | 6 ++--
.../jwt/MicroProfileJWTTCKArchiveProcessor.java | 2 +-
.../jwt/src/test/resources/arquillian.xml | 1 +
.../jwt/src/test/resources/dev.xml | 41 ----------------------
4 files changed, 6 insertions(+), 44 deletions(-)
diff --git a/tck/microprofile-tck/jwt/pom.xml b/tck/microprofile-tck/jwt/pom.xml
index 8d80446667..f29701c4ae 100644
--- a/tck/microprofile-tck/jwt/pom.xml
+++ b/tck/microprofile-tck/jwt/pom.xml
@@ -178,11 +178,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
+ <version>3.0.0-M6</version>
<configuration>
<suiteXmlFiles>
-
<suiteXmlFile>${project.build.directory}/dependency/suites/tck-base-suite.xml</suiteXmlFile>
+
<suiteXmlFile>${project.build.directory}/dependency/suites/tck-full-suite.xml</suiteXmlFile>
</suiteXmlFiles>
- <parallel>methods</parallel>
+ <reuseForks>false</reuseForks>
+ <parallel>none</parallel>
<threadCount>4</threadCount>
</configuration>
</plugin>
diff --git
a/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/MicroProfileJWTTCKArchiveProcessor.java
b/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/MicroProfileJWTTCKArchiveProcessor.java
index f6a21988bb..82f31b298a 100644
---
a/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/MicroProfileJWTTCKArchiveProcessor.java
+++
b/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/MicroProfileJWTTCKArchiveProcessor.java
@@ -102,7 +102,7 @@ public class MicroProfileJWTTCKArchiveProcessor implements
ApplicationArchivePro
try {
final Properties properties = new Properties();
properties.load(node.getAsset().openStream());
- properties.replaceAll((key, value) -> ((String)
value).replaceAll("8080", httpPort + "/" +
"KeyEndpoint.war".replaceAll("\\.war", "")));
+ properties.replaceAll((key, value) -> ((String)
value).replaceAll("8080", httpPort + "/" +
testClass.getJavaClass().getSimpleName()));
final StringWriter stringWriter = new StringWriter();
properties.store(stringWriter, null);
war.delete(archivePath);
diff --git a/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml
b/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml
index 88a4d51623..efd9fad740 100644
--- a/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml
@@ -28,6 +28,7 @@
<property name="ajpPort">-1</property>
<property name="stopPort">-1</property>
<property name="classifier">microprofile</property>
+ <property name="debug">false</property>
<property name="conf">src/test/conf</property>
<property name="dir">target/tomee</property>
<property name="appWorkingDir">target/workdir</property>
diff --git a/tck/microprofile-tck/jwt/src/test/resources/dev.xml
b/tck/microprofile-tck/jwt/src/test/resources/dev.xml
index 355bb609e2..29aada423e 100644
--- a/tck/microprofile-tck/jwt/src/test/resources/dev.xml
+++ b/tck/microprofile-tck/jwt/src/test/resources/dev.xml
@@ -39,48 +39,7 @@
</run>
</groups>
<classes>
- <class name="org.eclipse.microprofile.jwt.tck.util.TokenUtilsTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.util.TokenUtilsEncryptTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.util.TokenUtilsSignEncryptTest" />
- <class name="org.eclipse.microprofile.jwt.tck.util.TokenUtilsExtraTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.UnsecuredPingTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.RequiredClaimsTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.ClaimValueInjectionTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.JsonValueInjectionTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.ProviderInjectionTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.RolesAllowedTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.InvalidTokenTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.PrimitiveInjectionTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.PrincipalInjectionTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.AudValidationTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.AudArrayValidationTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.AudValidationBadAudTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.AudValidationMissingAudTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.ApplicationScopedInjectionTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.RsaKeySignatureTest" />
- <class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsPEMTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsPEMLocationTest" />
<class
name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsPEMLocationURLTest" />
- <class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKLocationTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKLocationURLTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKSTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKSLocationTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsBase64JWKTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsFileLocationURLTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.config.ECPublicKeyAsPEMTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.config.ECPublicKeyAsPEMLocationTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.config.ECPublicKeyAsJWKLocationTest" />
- <class name="org.eclipse.microprofile.jwt.tck.config.IssValidationTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.config.IssValidationFailTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.CookieTokenTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.config.TokenAsCookieIgnoredTest" />
- <class name="org.eclipse.microprofile.jwt.tck.config.TokenAsCookieTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.EmptyTokenTest" />
- <class
name="org.eclipse.microprofile.jwt.tck.container.jaxrs.jwe.RolesAllowedSignEncryptTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.config.jwe.PrivateKeyAsPEMClasspathTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.config.jwe.PrivateKeyAsJWKClasspathTest"
/>
- <class
name="org.eclipse.microprofile.jwt.tck.config.jwe.PrivateKeyAsJWKSClasspathTest"
/>
</classes>
</test>