Skip to content

Commit 99a541d

Browse files
author
Soroosh Sarabadani
committed
remove dependency to quarkus
1 parent 93f150a commit 99a541d

File tree

5 files changed

+0
-17
lines changed

5 files changed

+0
-17
lines changed

operator-framework/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,11 @@
9393
<scope>compile</scope>
9494
</dependency>
9595

96-
<dependency>
97-
<groupId>io.quarkus</groupId>
98-
<artifactId>quarkus-core</artifactId>
99-
<version>1.9.2.Final</version>
100-
</dependency>
101-
10296
<dependency>
10397
<groupId>com.squareup</groupId>
10498
<artifactId>javapoet</artifactId>
10599
<version>1.13.0</version>
106100
<scope>compile</scope>
107101
</dependency>
108-
109-
110102
</dependencies>
111103
</project>

operator-framework/src/main/java/io/javaoperatorsdk/operator/api/Controller.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
package io.javaoperatorsdk.operator.api;
22

3-
import io.quarkus.runtime.annotations.RegisterForReflection;
43

54
import java.lang.annotation.ElementType;
65
import java.lang.annotation.Retention;
76
import java.lang.annotation.RetentionPolicy;
87
import java.lang.annotation.Target;
98

109
@Retention(RetentionPolicy.RUNTIME)
11-
@RegisterForReflection
1210
@Target({ElementType.TYPE})
1311
public @interface Controller {
1412
String NULL = "";

operator-framework/src/main/java/io/javaoperatorsdk/operator/processing/ControllerAnnotationProcessor.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import io.fabric8.kubernetes.api.builder.Function;
66
import io.fabric8.kubernetes.client.CustomResourceDoneable;
77
import io.javaoperatorsdk.operator.api.ResourceController;
8-
import io.quarkus.runtime.annotations.RegisterForReflection;
9-
108
import javax.annotation.processing.*;
119
import javax.lang.model.SourceVersion;
1210
import javax.lang.model.element.*;
@@ -103,7 +101,6 @@ private void generateDoneableClass(TypeElement controllerClassSymbol, PrintWrite
103101

104102

105103
final TypeSpec typeSpec = TypeSpec.classBuilder(doneableClassName)
106-
.addAnnotation(RegisterForReflection.class)
107104
.superclass(ParameterizedTypeName.get(ClassName.get(CustomResourceDoneable.class), customResourceType))
108105
.addModifiers(Modifier.PUBLIC)
109106
.addMethod(constructor)

operator-framework/src/test/resources/ControllerImplemented2InterfacesExpected.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
import io.fabric8.kubernetes.api.builder.Function;
44
import io.fabric8.kubernetes.client.CustomResourceDoneable;
5-
import io.quarkus.runtime.annotations.RegisterForReflection;
65

7-
@RegisterForReflection
86
public class MyCustomResourceDoneable extends CustomResourceDoneable<ControllerImplemented2Interfaces.MyCustomResource> {
97
public MyCustomResourceDoneable(ControllerImplemented2Interfaces.MyCustomResource resource, Function function) {
108
super(resource, function);

operator-framework/src/test/resources/ControllerImplementedIntermediateAbstractClassExpected.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
import io.fabric8.kubernetes.api.builder.Function;
44
import io.fabric8.kubernetes.client.CustomResourceDoneable;
5-
import io.quarkus.runtime.annotations.RegisterForReflection;
65

7-
@RegisterForReflection
86
public class MyCustomResourceDoneable extends CustomResourceDoneable<AbstractController.MyCustomResource> {
97
public MyCustomResourceDoneable(AbstractController.MyCustomResource resource, Function function) {
108
super(resource, function);

0 commit comments

Comments
 (0)