resteasy package is retired on branch c10s for CS-2364
This commit is contained in:
parent
52f88ca0c2
commit
3e38ea4ed3
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,7 +0,0 @@
|
||||
/resteasy-2.3.2.Final.tgz
|
||||
/3.0.1.Final.tar.gz
|
||||
/3.0.6.Final.tar.gz
|
||||
/3.0.17.Final.tar.gz
|
||||
/resteasy-3.0.19.Final.tar.gz
|
||||
/resteasy-3.0.26.Final.tar.gz
|
||||
Resteasy-3.0.26.Final
|
@ -1,47 +0,0 @@
|
||||
From f58a22382e31c0c4b92e519fa84f701a606981ac Mon Sep 17 00:00:00 2001
|
||||
From: Bartosz Spyrko-Smietanko <bspyrkos@redhat.com>
|
||||
Date: Thu, 16 Apr 2020 14:01:17 +0100
|
||||
Subject: [PATCH] [RESTEASY-2559] Improper validation of response header in
|
||||
MediaTypeHeaderDelegate.java class
|
||||
|
||||
---
|
||||
.../plugins/delegates/MediaTypeHeaderDelegate.java | 1 +
|
||||
.../test/mediatype/MediaTypeHeaderTest.java | 14 ++++++++++++++
|
||||
2 files changed, 15 insertions(+)
|
||||
create mode 100644 testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/mediatype/MediaTypeHeaderTest.java
|
||||
|
||||
diff --git a/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegate.java b/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegate.java
|
||||
index db0b4d588..b31d4376e 100755
|
||||
--- a/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegate.java
|
||||
+++ b/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegate.java
|
||||
@@ -89,6 +89,7 @@ public class MediaTypeHeaderDelegate implements RuntimeDelegate.HeaderDelegate
|
||||
case '[':
|
||||
case ']':
|
||||
case '=':
|
||||
+ case '\n':
|
||||
return false;
|
||||
default:
|
||||
break;
|
||||
diff --git a/testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/mediatype/MediaTypeHeaderTest.java b/testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/mediatype/MediaTypeHeaderTest.java
|
||||
new file mode 100644
|
||||
index 000000000..e46f018f7
|
||||
--- /dev/null
|
||||
+++ b/testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/mediatype/MediaTypeHeaderTest.java
|
||||
@@ -0,0 +1,14 @@
|
||||
+package org.jboss.resteasy.test.mediatype;
|
||||
+
|
||||
+import org.jboss.resteasy.plugins.delegates.MediaTypeHeaderDelegate;
|
||||
+import org.junit.Test;
|
||||
+
|
||||
+public class MediaTypeHeaderTest {
|
||||
+
|
||||
+ @Test(expected = IllegalArgumentException.class)
|
||||
+ public void testNewLineInHeaderValueIsRejected() {
|
||||
+ MediaTypeHeaderDelegate delegate = new MediaTypeHeaderDelegate();
|
||||
+
|
||||
+ delegate.fromString("foo/bar\n");
|
||||
+ }
|
||||
+}
|
||||
--
|
||||
2.26.2
|
||||
|
@ -1,163 +0,0 @@
|
||||
From d9ad1ff80c45333922fb51e454ee6036b389faa4 Mon Sep 17 00:00:00 2001
|
||||
From: "Endi S. Dewata" <edewata@redhat.com>
|
||||
Date: Wed, 2 Jun 2021 19:34:16 -0500
|
||||
Subject: [PATCH] Remove Log4jLogger
|
||||
|
||||
---
|
||||
.../resteasy/logging/impl/Log4jLogger.java | 144 ------------------
|
||||
1 file changed, 144 deletions(-)
|
||||
delete mode 100644 resteasy-jaxrs/src/main/java/org/jboss/resteasy/logging/impl/Log4jLogger.java
|
||||
|
||||
diff --git a/resteasy-jaxrs/src/main/java/org/jboss/resteasy/logging/impl/Log4jLogger.java b/resteasy-jaxrs/src/main/java/org/jboss/resteasy/logging/impl/Log4jLogger.java
|
||||
deleted file mode 100644
|
||||
index 6cf43d251..000000000
|
||||
--- a/resteasy-jaxrs/src/main/java/org/jboss/resteasy/logging/impl/Log4jLogger.java
|
||||
+++ /dev/null
|
||||
@@ -1,144 +0,0 @@
|
||||
-package org.jboss.resteasy.logging.impl;
|
||||
-
|
||||
-import org.apache.log4j.Logger;
|
||||
-
|
||||
-import java.text.MessageFormat;
|
||||
-
|
||||
-/**
|
||||
- * @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
|
||||
- * @version $Revision: 1 $
|
||||
- */
|
||||
-public class Log4jLogger extends org.jboss.resteasy.logging.Logger
|
||||
-{
|
||||
- private transient Logger delegate;
|
||||
- private String classname;
|
||||
-
|
||||
- public Log4jLogger(String classname)
|
||||
- {
|
||||
- this.classname = classname;
|
||||
- delegate = Logger.getLogger(classname);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public boolean isTraceEnabled()
|
||||
- {
|
||||
- return delegate.isTraceEnabled();
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void trace(String message)
|
||||
- {
|
||||
- if (!delegate.isTraceEnabled()) return;
|
||||
- delegate.trace(message);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void trace(String message, Object... params)
|
||||
- {
|
||||
- if (!delegate.isTraceEnabled()) return;
|
||||
- String msg = MessageFormat.format(message, params);
|
||||
- delegate.trace(msg);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void trace(String message, Throwable error)
|
||||
- {
|
||||
- if (!delegate.isTraceEnabled()) return;
|
||||
- delegate.trace(message, error);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public boolean isDebugEnabled()
|
||||
- {
|
||||
- return delegate.isDebugEnabled();
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void debug(String message)
|
||||
- {
|
||||
- if (!delegate.isDebugEnabled()) return;
|
||||
- delegate.debug(message);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void debug(String message, Object... params)
|
||||
- {
|
||||
- if (!delegate.isDebugEnabled()) return;
|
||||
- String msg = MessageFormat.format(message, params);
|
||||
- delegate.debug(msg);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void debug(String message, Throwable error)
|
||||
- {
|
||||
- if (!isDebugEnabled()) return;
|
||||
- delegate.debug(message, error);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void info(String message)
|
||||
- {
|
||||
- if (!(delegate.isInfoEnabled())) return;
|
||||
- delegate.info(message);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void info(String message, Object... params)
|
||||
- {
|
||||
- if (!delegate.isInfoEnabled()) return;
|
||||
- String msg = MessageFormat.format(message, params);
|
||||
- delegate.info(msg);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void info(String message, Throwable error)
|
||||
- {
|
||||
- if (!delegate.isInfoEnabled()) return;
|
||||
- delegate.info(message, error);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void warn(String message)
|
||||
- {
|
||||
- delegate.warn(message);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void warn(String message, Object... params)
|
||||
- {
|
||||
- String msg = MessageFormat.format(message, params);
|
||||
- delegate.warn(msg);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void warn(String message, Throwable error)
|
||||
- {
|
||||
- delegate.warn(message, error);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void error(String message)
|
||||
- {
|
||||
- delegate.warn(message);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void error(String message, Object... params)
|
||||
- {
|
||||
- String msg = MessageFormat.format(message, params);
|
||||
- delegate.error(msg);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public void error(String message, Throwable error)
|
||||
- {
|
||||
- delegate.warn(message, error);
|
||||
- }
|
||||
-
|
||||
- @Override
|
||||
- public boolean isWarnEnabled()
|
||||
- {
|
||||
- return true;
|
||||
- }
|
||||
-
|
||||
-}
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,194 +0,0 @@
|
||||
From fdb522bdf915566fc01fc4502404da5a4d73d247 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Kelley <ckelley@redhat.com>
|
||||
Date: Fri, 3 Feb 2023 11:37:13 +0000
|
||||
Subject: [PATCH] Replace javax.activation imports with jakarta.activation
|
||||
|
||||
---
|
||||
.../plugins/providers/multipart/MimeMultipartProvider.java | 2 +-
|
||||
.../multipart/XopWithMultipartRelatedJAXBProvider.java | 4 ++--
|
||||
.../jboss/resteasy/plugins/providers/DataSourceProvider.java | 2 +-
|
||||
.../test/client/resource/EntityBufferingInFileResource.java | 2 +-
|
||||
.../datasource/DataSourceProviderInputStreamTest.java | 2 +-
|
||||
.../datasource/resource/BigSmallDataSourceResource.java | 2 +-
|
||||
.../resource/CleanFilesDataSourceProviderResource.java | 2 +-
|
||||
.../providers/datasource/resource/ReadDataSourceResource.java | 2 +-
|
||||
.../resource/ReadDataSourceTwiceCountTempFileResource.java | 2 +-
|
||||
.../test/providers/multipart/MimeMultipartProviderTest.java | 2 +-
|
||||
.../multipart/resource/MimeMultipartProviderResource.java | 2 +-
|
||||
.../resource/basic/resource/DefaultMediaTypeResource.java | 2 +-
|
||||
.../resteasy/test/client/NoContentStreamingCloseTest.java | 2 +-
|
||||
13 files changed, 14 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/MimeMultipartProvider.java b/providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/MimeMultipartProvider.java
|
||||
index adc0d7c21..6c6425fbd 100644
|
||||
--- a/providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/MimeMultipartProvider.java
|
||||
+++ b/providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/MimeMultipartProvider.java
|
||||
@@ -5,7 +5,7 @@ import org.jboss.resteasy.spi.ReaderException;
|
||||
import org.jboss.resteasy.spi.WriterException;
|
||||
import org.jboss.resteasy.resteasy_jaxrs.i18n.*;
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.mail.MessagingException;
|
||||
import javax.mail.internet.MimeMultipart;
|
||||
import javax.mail.util.ByteArrayDataSource;
|
||||
diff --git a/providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/XopWithMultipartRelatedJAXBProvider.java b/providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/XopWithMultipartRelatedJAXBProvider.java
|
||||
index 52486bcc2..919f6f0a9 100755
|
||||
--- a/providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/XopWithMultipartRelatedJAXBProvider.java
|
||||
+++ b/providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/XopWithMultipartRelatedJAXBProvider.java
|
||||
@@ -3,8 +3,8 @@ package org.jboss.resteasy.plugins.providers.multipart;
|
||||
import org.jboss.resteasy.plugins.providers.jaxb.AbstractJAXBProvider;
|
||||
import org.jboss.resteasy.plugins.providers.multipart.i18n.*;
|
||||
|
||||
-import javax.activation.DataHandler;
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataHandler;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.ws.rs.WebApplicationException;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.MultivaluedMap;
|
||||
diff --git a/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/providers/DataSourceProvider.java b/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/providers/DataSourceProvider.java
|
||||
index c57bf4587..dc9040a55 100644
|
||||
--- a/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/providers/DataSourceProvider.java
|
||||
+++ b/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/providers/DataSourceProvider.java
|
||||
@@ -20,7 +20,7 @@ import java.io.SequenceInputStream;
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.lang.reflect.Type;
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.ws.rs.Consumes;
|
||||
import javax.ws.rs.Produces;
|
||||
import javax.ws.rs.WebApplicationException;
|
||||
diff --git a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/resource/EntityBufferingInFileResource.java b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/resource/EntityBufferingInFileResource.java
|
||||
index 2cc429db1..ad5597f22 100644
|
||||
--- a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/resource/EntityBufferingInFileResource.java
|
||||
+++ b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/resource/EntityBufferingInFileResource.java
|
||||
@@ -2,7 +2,7 @@ package org.jboss.resteasy.test.client.resource;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.ws.rs.POST;
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.Produces;
|
||||
diff --git a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/DataSourceProviderInputStreamTest.java b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/DataSourceProviderInputStreamTest.java
|
||||
index 01f3a0926..c4a352890 100644
|
||||
--- a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/DataSourceProviderInputStreamTest.java
|
||||
+++ b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/DataSourceProviderInputStreamTest.java
|
||||
@@ -22,7 +22,7 @@ import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.ws.rs.client.Client;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
diff --git a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/BigSmallDataSourceResource.java b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/BigSmallDataSourceResource.java
|
||||
index 58ead73bd..59678be32 100644
|
||||
--- a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/BigSmallDataSourceResource.java
|
||||
+++ b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/BigSmallDataSourceResource.java
|
||||
@@ -1,7 +1,7 @@
|
||||
package org.jboss.resteasy.test.providers.datasource.resource;
|
||||
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.ws.rs.Consumes;
|
||||
import javax.ws.rs.GET;
|
||||
import javax.ws.rs.POST;
|
||||
diff --git a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/CleanFilesDataSourceProviderResource.java b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/CleanFilesDataSourceProviderResource.java
|
||||
index 9dafd8707..7beb84596 100644
|
||||
--- a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/CleanFilesDataSourceProviderResource.java
|
||||
+++ b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/CleanFilesDataSourceProviderResource.java
|
||||
@@ -1,6 +1,6 @@
|
||||
package org.jboss.resteasy.test.providers.datasource.resource;
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.ws.rs.GET;
|
||||
import javax.ws.rs.POST;
|
||||
import javax.ws.rs.Path;
|
||||
diff --git a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/ReadDataSourceResource.java b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/ReadDataSourceResource.java
|
||||
index 84cda755a..8cb767347 100644
|
||||
--- a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/ReadDataSourceResource.java
|
||||
+++ b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/ReadDataSourceResource.java
|
||||
@@ -4,7 +4,7 @@ import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.ws.rs.POST;
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.Produces;
|
||||
diff --git a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/ReadDataSourceTwiceCountTempFileResource.java b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/ReadDataSourceTwiceCountTempFileResource.java
|
||||
index ce7ea7b4c..bb7f49570 100644
|
||||
--- a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/ReadDataSourceTwiceCountTempFileResource.java
|
||||
+++ b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/datasource/resource/ReadDataSourceTwiceCountTempFileResource.java
|
||||
@@ -2,7 +2,7 @@ package org.jboss.resteasy.test.providers.datasource.resource;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.ws.rs.Consumes;
|
||||
import javax.ws.rs.POST;
|
||||
import javax.ws.rs.Path;
|
||||
diff --git a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/MimeMultipartProviderTest.java b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/MimeMultipartProviderTest.java
|
||||
index b8c402833..b06dc04e6 100644
|
||||
--- a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/MimeMultipartProviderTest.java
|
||||
+++ b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/MimeMultipartProviderTest.java
|
||||
@@ -22,7 +22,7 @@ import org.junit.AfterClass;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
-import javax.activation.DataHandler;
|
||||
+import jakarta.activation.DataHandler;
|
||||
import javax.mail.internet.MimeMultipart;
|
||||
import javax.mail.util.ByteArrayDataSource;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
diff --git a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/resource/MimeMultipartProviderResource.java b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/resource/MimeMultipartProviderResource.java
|
||||
index 38757425d..435812a84 100644
|
||||
--- a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/resource/MimeMultipartProviderResource.java
|
||||
+++ b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/resource/MimeMultipartProviderResource.java
|
||||
@@ -11,7 +11,7 @@ import org.jboss.resteasy.plugins.providers.multipart.MultipartInput;
|
||||
import org.jboss.resteasy.plugins.providers.multipart.MultipartRelatedInput;
|
||||
import org.junit.Assert;
|
||||
|
||||
-import javax.activation.DataHandler;
|
||||
+import jakarta.activation.DataHandler;
|
||||
import javax.mail.MessagingException;
|
||||
import javax.mail.internet.MimeBodyPart;
|
||||
import javax.mail.internet.MimeMultipart;
|
||||
diff --git a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/DefaultMediaTypeResource.java b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/DefaultMediaTypeResource.java
|
||||
index ba7ce813c..841fdf4cc 100644
|
||||
--- a/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/DefaultMediaTypeResource.java
|
||||
+++ b/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/DefaultMediaTypeResource.java
|
||||
@@ -2,7 +2,7 @@ package org.jboss.resteasy.test.resource.basic.resource;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.ws.rs.Consumes;
|
||||
import javax.ws.rs.POST;
|
||||
import javax.ws.rs.Path;
|
||||
diff --git a/testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/client/NoContentStreamingCloseTest.java b/testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/client/NoContentStreamingCloseTest.java
|
||||
index be60dee77..459223c2b 100644
|
||||
--- a/testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/client/NoContentStreamingCloseTest.java
|
||||
+++ b/testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/client/NoContentStreamingCloseTest.java
|
||||
@@ -9,7 +9,7 @@ import org.jboss.resteasy.test.client.resource.NoContentStreamingCloseTestRespon
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
-import javax.activation.DataSource;
|
||||
+import jakarta.activation.DataSource;
|
||||
import javax.xml.transform.Source;
|
||||
import javax.xml.transform.stream.StreamSource;
|
||||
import java.io.InputStream;
|
||||
--
|
||||
2.39.0
|
||||
|
File diff suppressed because it is too large
Load Diff
1
dead.package
Normal file
1
dead.package
Normal file
@ -0,0 +1 @@
|
||||
resteasy package is retired on branch c10s for CS-2364
|
@ -1,7 +0,0 @@
|
||||
# recipients: rhcs-team
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
462
resteasy.spec
462
resteasy.spec
@ -1,462 +0,0 @@
|
||||
%global namedreltag .Final
|
||||
%global namedversion %{version}%{namedreltag}
|
||||
|
||||
Name: resteasy
|
||||
Version: 3.0.26
|
||||
Release: 30%{?dist}
|
||||
Summary: Framework for RESTful Web services and Java applications
|
||||
License: Apache-2.0
|
||||
URL: http://resteasy.jboss.org/
|
||||
Source0: https://github.com/resteasy/Resteasy/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
|
||||
Patch1: 0001-RESTEASY-2559-Improper-validation-of-response-header.patch
|
||||
Patch2: 0001-Remove-Log4jLogger.patch
|
||||
Patch3: 0001-Replace-javax.activation-imports-with-jakarta.activa.patch
|
||||
Patch4: 0001-Update-to-new-jakarta-xml-bind-namespace.patch
|
||||
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora}
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
%endif
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(commons-io:commons-io)
|
||||
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
|
||||
BuildRequires: mvn(jakarta.xml.bind:jakarta.xml.bind-api)
|
||||
BuildRequires: mvn(org.apache.httpcomponents:httpclient)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||
BuildRequires: mvn(org.apache.tomcat:tomcat-servlet-api)
|
||||
|
||||
# Jackson 2
|
||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-annotations)
|
||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core)
|
||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind)
|
||||
BuildRequires: mvn(com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider)
|
||||
|
||||
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
||||
BuildRequires: mvn(org.jboss.logging:jboss-logging)
|
||||
BuildRequires: mvn(org.jboss.logging:jboss-logging-annotations)
|
||||
BuildRequires: mvn(org.jboss.logging:jboss-logging-processor)
|
||||
BuildRequires: mvn(javax.annotation:javax.annotation-api)
|
||||
BuildRequires: mvn(org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.0_spec)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-api)
|
||||
|
||||
%description
|
||||
%global desc \
|
||||
RESTEasy contains a JBoss project that provides frameworks to help\
|
||||
build RESTful Web Services and RESTful Java applications. It is a fully\
|
||||
certified and portable implementation of the JAX-RS specification.
|
||||
%{desc}
|
||||
%global extdesc %{desc}\
|
||||
\
|
||||
This package contains
|
||||
|
||||
%package -n pki-%{name}
|
||||
Summary: Framework for RESTful Web services and Java applications
|
||||
Obsoletes: %{name} < %{version}-%{release}
|
||||
Conflicts: %{name} < %{version}-%{release}
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
|
||||
Requires: pki-%{name}-client = %{version}-%{release}
|
||||
Requires: pki-%{name}-core = %{version}-%{release}
|
||||
Requires: pki-%{name}-jackson2-provider = %{version}-%{release}
|
||||
Requires: pki-%{name}-servlet-initializer = %{version}-%{release}
|
||||
|
||||
# subpackages removed in fedora 32
|
||||
Obsoletes: %{name}-fastinfoset-provider < 3.0.26-1
|
||||
Obsoletes: %{name}-jackson-provider < 3.0.26-1
|
||||
Obsoletes: %{name}-jettison-provider < 3.0.26-1
|
||||
Obsoletes: %{name}-json-p-provider < 3.0.26-1
|
||||
Obsoletes: %{name}-multipart-provider < 3.0.26-1
|
||||
Obsoletes: %{name}-netty3 < 3.0.26-1
|
||||
Obsoletes: %{name}-optional < 3.0.26-1
|
||||
Obsoletes: %{name}-test < 3.0.26-1
|
||||
Obsoletes: %{name}-validator-provider-11 < 3.0.26-1
|
||||
Obsoletes: %{name}-yaml-provider < 3.0.26-1
|
||||
|
||||
%description -n pki-%{name}
|
||||
%{desc}
|
||||
|
||||
%package -n pki-%{name}-core
|
||||
Summary: Core modules for %{name}
|
||||
Obsoletes: resteasy-jaxrs-api < 3.0.7
|
||||
Obsoletes: %{name}-core < %{version}-%{release}
|
||||
Conflicts: %{name}-core < %{version}-%{release}
|
||||
Provides: %{name}-core = %{version}-%{release}
|
||||
|
||||
%description -n pki-%{name}-core
|
||||
%{extdesc} %{summary}.
|
||||
|
||||
%package -n pki-%{name}-jackson2-provider
|
||||
Summary: Module jackson2-provider for %{name}
|
||||
Obsoletes: %{name}-jackson2-provider < %{version}-%{release}
|
||||
Conflicts: %{name}-jackson2-provider < %{version}-%{release}
|
||||
Provides: %{name}-jackson2-provider = %{version}-%{release}
|
||||
|
||||
%description -n pki-%{name}-jackson2-provider
|
||||
%{extdesc} %{summary}.
|
||||
|
||||
%package -n pki-%{name}-client
|
||||
Summary: Client for %{name}
|
||||
Obsoletes: %{name}-client < %{version}-%{release}
|
||||
Conflicts: %{name}-client < %{version}-%{release}
|
||||
Provides: %{name}-client = %{version}-%{release}
|
||||
|
||||
%description -n pki-%{name}-client
|
||||
%{extdesc} %{summary}.
|
||||
|
||||
%package -n pki-%{name}-servlet-initializer
|
||||
Summary: %{name} Servlet Initializer
|
||||
Obsoletes: %{name}-servlet-initializer < %{version}-%{release}
|
||||
Conflicts: %{name}-servlet-initializer < %{version}-%{release}
|
||||
Provides: %{name}-servlet-initializer = %{version}-%{release}
|
||||
|
||||
%description -n pki-%{name}-servlet-initializer
|
||||
%{extdesc} %{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -n Resteasy-%{namedversion} -p 1
|
||||
|
||||
%pom_disable_module arquillian
|
||||
%pom_disable_module eagledns
|
||||
%pom_disable_module jboss-modules
|
||||
%pom_disable_module profiling-tests
|
||||
%pom_disable_module resteasy-bom
|
||||
%pom_disable_module resteasy-cache
|
||||
%pom_disable_module resteasy-cdi
|
||||
%pom_disable_module resteasy-dependencies-bom
|
||||
%pom_disable_module resteasy-guice
|
||||
%pom_disable_module resteasy-jaxrs-testsuite
|
||||
%pom_disable_module resteasy-jsapi
|
||||
%pom_disable_module resteasy-jsapi-testing
|
||||
%pom_disable_module resteasy-links
|
||||
%pom_disable_module resteasy-spring
|
||||
%pom_disable_module resteasy-wadl
|
||||
%pom_disable_module resteasy-wadl-undertow-connector
|
||||
%pom_disable_module security
|
||||
%pom_disable_module server-adapters
|
||||
%pom_disable_module testsuite
|
||||
%pom_disable_module tjws
|
||||
|
||||
pushd providers
|
||||
%pom_disable_module fastinfoset
|
||||
%pom_disable_module jackson
|
||||
%pom_disable_module jettison
|
||||
%pom_disable_module json-p-ee7
|
||||
%pom_disable_module multipart
|
||||
%pom_disable_module resteasy-atom
|
||||
%pom_disable_module resteasy-html
|
||||
%pom_disable_module resteasy-validator-provider-11
|
||||
%pom_disable_module yaml
|
||||
%pom_disable_module jaxb
|
||||
popd
|
||||
|
||||
find -name '*.jar' -print -delete
|
||||
|
||||
%pom_remove_plugin :maven-clover2-plugin
|
||||
%pom_remove_plugin :maven-javadoc-plugin
|
||||
|
||||
# depend on jakarta-activation
|
||||
%pom_change_dep javax.activation:activation jakarta.activation:jakarta.activation-api:2.1.1 resteasy-jaxrs
|
||||
%pom_change_dep javax.activation:activation jakarta.activation:jakarta.activation-api:2.1.1 resteasy-spring
|
||||
|
||||
# depend on jakarta-annotations
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api jboss-modules
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api providers/jaxb
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api resteasy-dependencies-bom
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api resteasy-guice
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api resteasy-jaxrs
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api resteasy-links
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api resteasy-spring
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api security/keystone/keystone-core
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api security/resteasy-crypto
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api security/skeleton-key-idm/skeleton-key-core
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api security/skeleton-key-idm/skeleton-key-idp
|
||||
%pom_change_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec javax.annotation:javax.annotation-api server-adapters/resteasy-jdk-http
|
||||
|
||||
# remove resteasy-dependencies pom
|
||||
%pom_remove_dep "org.jboss.resteasy:resteasy-dependencies"
|
||||
|
||||
# remove redundant jcip-dependencies dep from resteasy-jaxrs
|
||||
%pom_remove_dep net.jcip:jcip-annotations resteasy-jaxrs
|
||||
|
||||
# remove junit dependency from all modules
|
||||
%pom_remove_dep junit:junit resteasy-client
|
||||
%pom_remove_dep junit:junit providers/resteasy-atom
|
||||
%pom_remove_dep junit:junit providers/jaxb
|
||||
%pom_remove_dep junit:junit resteasy-jaxrs
|
||||
%pom_remove_dep junit:junit resteasy-servlet-initializer
|
||||
|
||||
# remove log4j dependency
|
||||
%pom_remove_dep log4j:log4j resteasy-jaxrs
|
||||
|
||||
# depend on servlet-api from pki-servlet-4.0-api
|
||||
%pom_change_dep org.jboss.spec.javax.servlet: org.apache.tomcat:tomcat-servlet-api resteasy-jaxrs
|
||||
%pom_change_dep org.jboss.spec.javax.servlet: org.apache.tomcat:tomcat-servlet-api resteasy-servlet-initializer
|
||||
%pom_change_dep org.jboss.spec.javax.servlet: org.apache.tomcat:tomcat-servlet-api providers/abdera-atom
|
||||
%pom_change_dep org.jboss.spec.javax.servlet: org.apache.tomcat:tomcat-servlet-api providers/jaxb
|
||||
%pom_change_dep org.jboss.spec.javax.servlet: org.apache.tomcat:tomcat-servlet-api providers/jackson2
|
||||
|
||||
# add dependencies for EE APIs that were removed in Java 11
|
||||
%pom_add_dep jakarta.xml.bind:jakarta.xml.bind-api resteasy-jaxrs
|
||||
%pom_add_dep jakarta.xml.bind:jakarta.xml.bind-api resteasy-servlet-initializer
|
||||
|
||||
%pom_remove_plugin :maven-clean-plugin
|
||||
|
||||
%mvn_package ":resteasy-jaxrs" core
|
||||
%mvn_package ":providers-pom" core
|
||||
%mvn_package ":resteasy-jaxrs-all" core
|
||||
%mvn_package ":resteasy-pom" core
|
||||
%mvn_package ":resteasy-jackson2-provider" jackson2-provider
|
||||
%mvn_package ":resteasy-client" client
|
||||
%mvn_package ":resteasy-servlet-initializer" servlet-initializer
|
||||
|
||||
# Disable useless artifacts generation, package __noinstall do not work
|
||||
%pom_add_plugin org.apache.maven.plugins:maven-source-plugin . '
|
||||
<configuration>
|
||||
<skipSource>true</skipSource>
|
||||
</configuration>'
|
||||
|
||||
%build
|
||||
%mvn_build -f -j
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -n pki-%{name}
|
||||
%doc README.md
|
||||
%license License.html
|
||||
|
||||
%files -n pki-%{name}-core -f .mfiles-core
|
||||
%license License.html
|
||||
|
||||
%files -n pki-%{name}-jackson2-provider -f .mfiles-jackson2-provider
|
||||
%license License.html
|
||||
|
||||
%files -n pki-%{name}-client -f .mfiles-client
|
||||
%license License.html
|
||||
|
||||
%files -n pki-%{name}-servlet-initializer -f .mfiles-servlet-initializer
|
||||
%license License.html
|
||||
|
||||
%changelog
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.0.26-30
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jul 06 2023 Dogtag PKI Team <devel@lists.dogtagpki.org> - 3.0.26-26
|
||||
- Conditionalize use of ExclusiveArch
|
||||
|
||||
* Mon May 01 2023 Dogtag PKI Team <pki-devel@redhat.com> - 3.0.26-25
|
||||
- Update top-level package to depend on servlet-initializer
|
||||
|
||||
* Mon May 01 2023 Dogtag PKI Team <pki-devel@redhat.com> - 3.0.26-24
|
||||
- Enable servlet-initializer subpackage
|
||||
|
||||
* Fri Feb 03 2023 Chris Kelley <ckelley@redhat.com> - 3.0.26-23
|
||||
- Remove dependency on jaxb-api2 compat package
|
||||
|
||||
* Fri Feb 03 2023 Chris Kelley <ckelley@redhat.com> - 3.0.26-22
|
||||
- Remove dependency on jakarta-activation1 compat package
|
||||
|
||||
* Mon Jan 23 2023 Marian Koncek <mkoncek@redhat.com> - 3.0.26-21
|
||||
- Depend on compat jaxb-api version 2
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Mon Jan 09 2023 Marian Koncek <mkoncek@redhat.com> - 3.0.26-19
|
||||
- Depend on compat jakarta.activation
|
||||
|
||||
* Tue Dec 20 2022 Marian Koncek <mkoncek@redhat.com> - 3.0.26-18
|
||||
- Rebuild with compat jakarta.activation version 1
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 3.0.26-16
|
||||
- Rebuilt for Drop i686 JDKs
|
||||
|
||||
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.0.26-15
|
||||
- Rebuilt for java-17-openjdk as system jdk
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Sep 30 2021 Dogtag PKI Team <pki-devel@redhat.com> - 3.0.26-13
|
||||
- Drop pki-resteasy-jaxb-provider
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 18 2021 Dogtag PKI Team <pki-devel@redhat.com> - 3.0.26-11
|
||||
- Replace jboss-annotations-1.2-api with jakarta-annotations
|
||||
|
||||
* Wed Jun 2 2021 Dogtag PKI Team <pki-devel@redhat.com> - 3.0.26-10
|
||||
- Drop log4j dependency
|
||||
- Add jakarta-activation dependency
|
||||
|
||||
* Wed May 19 2021 Dogtag PKI Team <pki-devel@redhat.com> - 3.0.26-9
|
||||
- Drop pki-resteasy-javadoc and pki-resteasy-atom-provider
|
||||
|
||||
* Mon May 10 2021 Dogtag PKI Team <pki-devel@redhat.com> - 3.0.26-8
|
||||
- Rename subpackages to pki-resteasy
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Nov 30 2020 Alexander Scheel <ascheel@redhat.com> - 3.0.26-6
|
||||
- CVE-2020-1695: Improper validation of response header in MediaTypeHeaderDelegate.java class
|
||||
Resolves: rh-bz#1845547
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 22 2020 Fabio Valentini <decathorpe@gmail.com> - 3.0.26-4
|
||||
- Migrate away from native2ascii (removed with OpenJDK 11).
|
||||
- Add missing dependencies for packages that were removed from OpenJDK 11.
|
||||
|
||||
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 3.0.26-3
|
||||
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.26-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Oct 18 2019 Dogtag PKI Team <pki-devel@redhat.com> 3.0.26-1
|
||||
- Update to version 3.0.26.
|
||||
- Build with reduced functionality and dependency set.
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Dec 27 2016 gil cattaneo <puntogil@libero.it> 3.0.19-4
|
||||
- build fix for netty 3.10.6.Final
|
||||
|
||||
* Tue Sep 13 2016 gil cattaneo <puntogil@libero.it> 3.0.19-3
|
||||
- re-introduce jandex jars
|
||||
|
||||
* Mon Aug 22 2016 gil cattaneo <puntogil@libero.it> 3.0.19-2
|
||||
- move "Obsoletes" to resteasy-core
|
||||
|
||||
* Sun Aug 21 2016 gil cattaneo <puntogil@libero.it> 3.0.19-1
|
||||
- update to 3.0.19.Final
|
||||
|
||||
* Fri Aug 12 2016 gil cattaneo <puntogil@libero.it> 3.0.17-2
|
||||
- add sub package netty3
|
||||
|
||||
* Mon Jun 06 2016 gil cattaneo <puntogil@libero.it> 3.0.17-1
|
||||
- update to 3.0.17.Final
|
||||
- introduce license macro
|
||||
- enable resteasy-links, resteasy-oauth, resteasy-wadl modules
|
||||
- build resteasy-netty{3,4}
|
||||
|
||||
* Mon Feb 22 2016 Mat Booth <mat.booth@redhat.com> - 3.0.6-11
|
||||
- Fix failure to build from source
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2015 Ade Lee <alee@redhat.com> - 3.0.6-9
|
||||
- Remove activation.jar dependency to fix build.
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Dec 5 2014 Ade Lee <alee@redhat.com> - 3.0.6-7
|
||||
- Refactor into subpackages.
|
||||
- Change build requires to mvn() format
|
||||
|
||||
* Mon Sep 29 2014 Ade Lee <alee@eredhat.com> - 3.0.6-6
|
||||
- Add fix for CVE-2014-3490
|
||||
|
||||
* Tue Jun 24 2014 Ade Lee <alee@redhat.com> - 3.0.6-5
|
||||
- Replace broken dependencies junit4-> junit
|
||||
- Add patch to handle new bouncycastle API in version 1.50
|
||||
- Fix bogus dates in changelog
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 3.0.6-3
|
||||
- Use Requires: java-headless rebuild (#1067528)
|
||||
|
||||
* Tue Jan 14 2014 Marek Goldmann <mgoldman@redhat.com> - 3.0.6-2
|
||||
- Support for Netty 4 in Rawhide
|
||||
|
||||
* Fri Jan 10 2014 Marek Goldmann <mgoldman@redhat.com> - 3.0.6-1
|
||||
- Upstream release 3.0.6.Final
|
||||
|
||||
* Fri Aug 09 2013 Marek Goldmann <mgoldman@redhat.com> - 3.0.1-3
|
||||
- Remove versioning from the jandex files
|
||||
|
||||
* Fri Aug 09 2013 Marek Goldmann <mgoldman@redhat.com> - 3.0.1-2
|
||||
- Added jandex index files to all jars
|
||||
|
||||
* Fri Aug 09 2013 Marek Goldmann <mgoldman@redhat.com> - 3.0.1-1
|
||||
- Upstream release 3.0.1.Final
|
||||
- Using xmvn
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Thu May 9 2013 Ade Lee <alee@redhat.com> 2.3.2-13
|
||||
- Removed dependency on maven-checkstyle-plugin
|
||||
|
||||
* Tue Apr 2 2013 Endi S. Dewata <edewata@redhat.com> - 2.3.2-12
|
||||
- Removed Tomcat 6 dependency
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.3.2-10
|
||||
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
||||
- Replace maven BuildRequires with maven-local
|
||||
|
||||
* Tue Aug 7 2012 Ade Lee <alee@redhat.com> - 2.3.2-9
|
||||
- Added tomcat6-servlet-2.5-api as a dependency
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Apr 24 2012 Marek Goldmann <mgoldman@redhat.com> 2.3.2-7
|
||||
- Create also the jandex index jar files
|
||||
|
||||
* Tue Apr 24 2012 Marek Goldmann <mgoldman@redhat.com> 2.3.2-6
|
||||
- Added resteasy-multipart-provider module
|
||||
|
||||
* Mon Apr 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-5
|
||||
- Fix the async HTTP Servlet 3.0 artifact id
|
||||
|
||||
* Mon Apr 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-4
|
||||
- Added an additional artifact and group id for jaxrs-api
|
||||
|
||||
* Mon Apr 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-3
|
||||
- Added async HTTP Servlet 3.0 module
|
||||
|
||||
* Thu Apr 12 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-2
|
||||
- Build CDI integration module (bug #812978)
|
||||
|
||||
* Tue Mar 6 2012 Ade Lee <alee@redhat.com> 2.3.2-1
|
||||
- Initial packaging
|
1
sources
1
sources
@ -1 +0,0 @@
|
||||
SHA512 (resteasy-3.0.26.Final.tar.gz) = 1a3440a597d594d3239d85052b8bea3f3c23b4cd5a0d4ebeeaf0d1e3024f076dc3574c788736692f6ed60e22147f6a4c5a241209bf8a66498b2923fc8406cb6d
|
@ -1,25 +0,0 @@
|
||||
[DEFAULT]
|
||||
pki_server_database_password=Secret.123
|
||||
|
||||
[CA]
|
||||
pki_admin_email=caadmin@example.com
|
||||
pki_admin_name=caadmin
|
||||
pki_admin_nickname=caadmin
|
||||
pki_admin_password=Secret.123
|
||||
pki_admin_uid=caadmin
|
||||
|
||||
pki_client_database_password=Secret.123
|
||||
pki_client_database_purge=False
|
||||
pki_client_pkcs12_password=Secret.123
|
||||
|
||||
pki_ds_base_dn=dc=ca,dc=pki,dc=example,dc=com
|
||||
pki_ds_database=ca
|
||||
pki_ds_password=Secret.123
|
||||
|
||||
pki_security_domain_name=EXAMPLE
|
||||
|
||||
pki_ca_signing_nickname=ca_signing
|
||||
pki_ocsp_signing_nickname=ca_ocsp_signing
|
||||
pki_audit_signing_nickname=ca_audit_signing
|
||||
pki_sslserver_nickname=sslserver
|
||||
pki_subsystem_nickname=subsystem
|
@ -1,24 +0,0 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
# This command needs to be executed as it pulls the machine name
|
||||
# dynamically.
|
||||
dscreate create-template /tmp/test_dir/ds.inf
|
||||
|
||||
sed -i \
|
||||
-e "s/;instance_name = .*/instance_name = localhost/g" \
|
||||
-e "s/;root_password = .*/root_password = Secret.123/g" \
|
||||
-e "s/;suffix = .*/suffix = dc=example,dc=com/g" \
|
||||
-e "s/;self_sign_cert = .*/self_sign_cert = False/g" \
|
||||
/tmp/test_dir/ds.inf
|
||||
|
||||
dscreate from-file /tmp/test_dir/ds.inf
|
||||
|
||||
ldapadd -H ldap://$HOSTNAME -x -D "cn=Directory Manager" -w Secret.123 << EOF
|
||||
dn: dc=example,dc=com
|
||||
objectClass: domain
|
||||
dc: example
|
||||
|
||||
dn: dc=pki,dc=example,dc=com
|
||||
objectClass: domain
|
||||
dc: pki
|
||||
EOF
|
@ -1,27 +0,0 @@
|
||||
[DEFAULT]
|
||||
pki_server_database_password=Secret.123
|
||||
|
||||
[KRA]
|
||||
pki_admin_email=kraadmin@example.com
|
||||
pki_admin_name=kraadmin
|
||||
pki_admin_nickname=kraadmin
|
||||
pki_admin_password=Secret.123
|
||||
pki_admin_uid=kraadmin
|
||||
|
||||
pki_client_database_password=Secret.123
|
||||
pki_client_database_purge=False
|
||||
pki_client_pkcs12_password=Secret.123
|
||||
|
||||
pki_ds_base_dn=dc=kra,dc=pki,dc=example,dc=com
|
||||
pki_ds_database=kra
|
||||
pki_ds_password=Secret.123
|
||||
|
||||
pki_security_domain_name=EXAMPLE
|
||||
pki_security_domain_user=caadmin
|
||||
pki_security_domain_password=Secret.123
|
||||
|
||||
pki_storage_nickname=kra_storage
|
||||
pki_transport_nickname=kra_transport
|
||||
pki_audit_signing_nickname=kra_audit_signing
|
||||
pki_sslserver_nickname=sslserver
|
||||
pki_subsystem_nickname=subsystem
|
@ -1,26 +0,0 @@
|
||||
---
|
||||
|
||||
- name: Install resteasy packages
|
||||
dnf:
|
||||
name: >
|
||||
pki-resteasy-client, pki-resteasy-core, pki-resteasy-jackson2-provider, pki-resteasy-servlet-initializer
|
||||
|
||||
- name: Install required packages
|
||||
dnf:
|
||||
name: >
|
||||
389-ds-base, pki-ca, pki-kra
|
||||
|
||||
- name: Creates directory
|
||||
file: path=/tmp/test_files state=directory
|
||||
|
||||
- name: Copying templates to /tmp folder
|
||||
copy : src=. dest=/tmp/test_dir
|
||||
|
||||
- name: Setup DS Service
|
||||
shell: sh /tmp/test_dir/ds-create.sh
|
||||
|
||||
- name: Install CA subsystem
|
||||
shell: pkispawn -f /tmp/test_dir/ca.cfg -s CA -v
|
||||
|
||||
- name: Install KRA subsystem
|
||||
shell: pkispawn -f /tmp/test_dir/kra.cfg -s KRA -v
|
@ -1,29 +0,0 @@
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: Test_Setup
|
||||
- role: standard-test-basic
|
||||
tests:
|
||||
- verify_spawn_ca:
|
||||
dir: .
|
||||
run: "curl http://localhost:8080/ca/admin/ca/getStatus | grep 'running'"
|
||||
- verify_spawn_kra:
|
||||
dir: .
|
||||
run: "curl http://localhost:8080/kra/admin/kra/getStatus | grep 'running'"
|
||||
- destroy_kra:
|
||||
dir: .
|
||||
run: "pkidestroy -i pki-tomcat -s KRA && sleep 5"
|
||||
- verify_destroy_kra:
|
||||
dir: .
|
||||
run: "curl http://localhost:8080/kra/admin/kra/getStatus | grep 'HTTP Status 404'"
|
||||
- destroy_ca:
|
||||
dir: .
|
||||
run: "pkidestroy -i pki-tomcat -s CA"
|
||||
- verify_destroy_ca:
|
||||
dir: .
|
||||
run: "curl http://localhost:8080/ca/admin/ca/getStatus &> testfile.log || true && grep 'Connection refused' testfile.log"
|
||||
required_packages:
|
||||
- pki-ca
|
||||
- pki-kra
|
Loading…
Reference in New Issue
Block a user