Skip to content

Commit

Permalink
Do not show feature for JAX-RS Client Reactive
Browse files Browse the repository at this point in the history
We usually do not show features for extensions that are not listed.

(cherry picked from commit 4095892)
  • Loading branch information
gsmet committed Mar 14, 2022
1 parent 56c321f commit 1229dd7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public enum Feature {
INFINISPAN_CLIENT,
INFINISPAN_EMBEDDED,
JAEGER,
JAXRS_CLIENT_REACTIVE,
JDBC_DB2,
JDBC_DERBY,
JDBC_H2,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.quarkus.jaxrs.client.reactive.deployment;

import static io.quarkus.deployment.Feature.JAXRS_CLIENT_REACTIVE;
import static org.jboss.jandex.Type.Kind.ARRAY;
import static org.jboss.jandex.Type.Kind.CLASS;
import static org.jboss.jandex.Type.Kind.PARAMETERIZED_TYPE;
Expand Down Expand Up @@ -125,7 +124,6 @@
import io.quarkus.deployment.builditem.ApplicationIndexBuildItem;
import io.quarkus.deployment.builditem.BytecodeTransformerBuildItem;
import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
import io.quarkus.deployment.builditem.FeatureBuildItem;
import io.quarkus.deployment.builditem.GeneratedClassBuildItem;
import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
import io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem;
Expand Down Expand Up @@ -192,11 +190,6 @@ public class JaxrsClientReactiveProcessor {
public static final MethodDescriptor MULTIPART_RESPONSE_DATA_ADD_FILLER = MethodDescriptor
.ofMethod(MultipartResponseDataBase.class, "addFiller", void.class, FieldFiller.class);

@BuildStep
void addFeature(BuildProducer<FeatureBuildItem> features) {
features.produce(new FeatureBuildItem(JAXRS_CLIENT_REACTIVE));
}

@BuildStep
void registerClientResponseBuilder(BuildProducer<ServiceProviderBuildItem> serviceProviders) {
serviceProviders.produce(new ServiceProviderBuildItem(ResponseBuilderFactory.class.getName(),
Expand Down

0 comments on commit 1229dd7

Please sign in to comment.