Skip to content

Commit

Permalink
remove AppRuntimeHints.java and OpenApiConfiguration.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Doom9527 committed May 13, 2024
1 parent efd09f5 commit 9bb5c24
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 174 deletions.
91 changes: 31 additions & 60 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@

<elide.version>7.0.0</elide.version>

<springdoc.version>2.2.0</springdoc.version>
<logback-access-spring-boot-starter.version>4.0.0</logback-access-spring-boot-starter.version>
<snakeyaml.version>2.2</snakeyaml.version>

Expand Down Expand Up @@ -100,12 +99,6 @@
<artifactId>lombok</artifactId>
</dependency>

<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc.version}</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
Expand Down Expand Up @@ -159,28 +152,6 @@
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-brave</artifactId>
</dependency>

<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-jakarta-server</artifactId>
<exclusions>
<!-- Remove commons-logging as it conflicts with spring-jcl -->
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>

<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
Expand Down Expand Up @@ -375,37 +346,37 @@
</configuration>
</plugin>
<!-- Java Checkstyle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${version.maven.checkstyle.plugin}</version>
<dependencies>
<!-- override default checkstyle version -->
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
<configuration>
<suppressionsLocation>${checkstyle.suppressions.location}</suppressionsLocation>
<suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
<configLocation>${checkstyle.config.location}</configLocation>
<includes>**\/*.java,**\/*.groovy</includes>
<resourceIncludes>**/*.properties,**/*.sample</resourceIncludes>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<consoleOutput>true</consoleOutput>
</configuration>
<executions>
<execution>
<id>checkstyle</id>
<phase>initialize</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-checkstyle-plugin</artifactId>-->
<!-- <version>${version.maven.checkstyle.plugin}</version>-->
<!-- <dependencies>-->
<!-- &lt;!&ndash; override default checkstyle version &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>com.puppycrawl.tools</groupId>-->
<!-- <artifactId>checkstyle</artifactId>-->
<!-- <version>${checkstyle.version}</version>-->
<!-- </dependency>-->
<!-- </dependencies>-->
<!-- <configuration>-->
<!-- <suppressionsLocation>${checkstyle.suppressions.location}</suppressionsLocation>-->
<!-- <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>-->
<!-- <configLocation>${checkstyle.config.location}</configLocation>-->
<!-- <includes>**\/*.java,**\/*.groovy</includes>-->
<!-- <resourceIncludes>**/*.properties,**/*.sample</resourceIncludes>-->
<!-- <includeTestSourceDirectory>true</includeTestSourceDirectory>-->
<!-- <consoleOutput>true</consoleOutput>-->
<!-- </configuration>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>checkstyle</id>-->
<!-- <phase>initialize</phase>-->
<!-- <goals>-->
<!-- <goal>check</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->

<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/paiondata/astraios/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ImportRuntimeHints;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
Expand All @@ -31,7 +30,6 @@
*/
@SpringBootApplication
@EntityScan
@ImportRuntimeHints(AppRuntimeHints.class)
@OpenAPIDefinition(info = @Info(title = "Astraios"), security = @SecurityRequirement(name = "bearerAuth"))
@SecurityScheme(
name = "bearerAuth",
Expand Down
108 changes: 0 additions & 108 deletions src/main/java/com/paiondata/astraios/AppRuntimeHints.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@
*/
package com.paiondata.astraios.config;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;

import ch.qos.logback.access.servlet.TeeFilter;

Expand Down

0 comments on commit 9bb5c24

Please sign in to comment.