Skip to content
Snippets Groups Projects
Commit a9c2afdc authored by OZGCloud's avatar OZGCloud
Browse files

spring native hints

parent a2d59485
Branches
Tags
No related merge requests found
......@@ -3,6 +3,7 @@ package de.ozgcloud.operator;
import java.util.HashSet;
import java.util.Objects;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ThreadPoolExecutor;
import org.reflections.Reflections;
import org.springframework.aot.hint.MemberCategory;
......@@ -44,6 +45,7 @@ public class SpringNativeConfiguration {
throw new RuntimeException(e);
}
combined.add(ThreadPoolExecutor.class);
combined.addAll(reflections.getSubTypesOf(ExecutorService.class));
combined
......
package de.ozgcloud.operator;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
//@SpringBootTest
@SpringBootTest
//@EnableMockOperator
class OzgOperatorApplicationTests {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment