Skip to content

Commit

Permalink
Merge pull request #25 from D4rK3oN/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
D4rK3oN committed Jul 31, 2022
2 parents 017df78 + 142e451 commit 0958e1c
Show file tree
Hide file tree
Showing 23 changed files with 172 additions and 682 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<!-- PROJECT SHIELDS -->
[![Coverage Status](https://coveralls.io/repos/github/D4rK3oN/spring-boot-2-simple-example/badge.svg?branch=master)](https://coveralls.io/github/D4rK3oN/spring-boot-2-simple-example?branch=master)
[![Coverage Status][coveralls-shield]][coveralls-url]
[![JitPack][jitpack-shield]][jitpack-url]
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![LinkedIn][linkedin-shield]][linkedin-url]

Expand All @@ -27,6 +26,7 @@
* [Getting Started](#getting-started)
* [Prerequisites](#prerequisites)
* [Installation](#installation)
* [Swagger-UI](#swagger-ui)
* [Roadmap](#roadmap)

<!-- ABOUT THE PROJECT -->
Expand Down Expand Up @@ -99,18 +99,23 @@ Program args: --spring.profiles.active=dev
<img width="600px" src="images/IntelliJ_run_debug_config.png" alt="run config">
</p>

<!-- SWAGGER UI -->
## Swagger-UI

Swagger generated by springfox 3.0.0 : http://localhost:8080/swagger-ui/index.html#/

<!-- ROADMAP -->
## Roadmap

See the [open issues](https://github.com/D4rK3oN/spring-boot-2-simple-example/issues) for a list of proposed features (and known issues).

<!-- MARKDOWN LINKS & IMAGES : https://www.markdownguide.org/basic-syntax/#reference-style-links -->
[coveralls-shield]: https://coveralls.io/repos/github/D4rK3oN/spring-boot-2-simple-example/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/D4rK3oN/spring-boot-2-simple-example?branch=master
[jitpack-shield]: https://jitpack.io/v/D4rK3oN/lib-spring-boot-mvc.svg
[jitpack-url]: https://jitpack.io/#D4rK3oN/lib-spring-boot-mvc
[contributors-shield]: https://img.shields.io/github/contributors/D4rK3oN/spring-boot-2-simple-example.svg?style=flat-square
[contributors-url]: https://github.com/D4rK3oN/spring-boot-2-simple-example/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/D4rK3oN/spring-boot-2-simple-example.svg?style=flat-square
[forks-url]: https://github.com/D4rK3oN/spring-boot-2-simple-example/network/members
[stars-shield]: https://img.shields.io/github/stars/D4rK3oN/spring-boot-2-simple-example.svg?style=flat-square
[stars-url]: https://github.com/D4rK3oN/spring-boot-2-simple-example/stargazers
[issues-shield]: https://img.shields.io/github/issues/D4rK3oN/spring-boot-2-simple-example.svg?style=flat-square
[issues-url]: https://github.com/D4rK3oN/spring-boot-2-simple-example/issues
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
Expand Down
58 changes: 16 additions & 42 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.5.RELEASE</version>
<version>2.4.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

<groupId>com.example</groupId>
<artifactId>simple</artifactId>
<version>1.1.1</version>
<version>1.2.0</version>
<name>[Spring Boot] Simple Example</name>
<description>Spring Boot 2: Simple example</description>

Expand All @@ -24,25 +24,16 @@

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<groupId>com.github.d4rk3on</groupId>
<artifactId>lib-spring-boot-mvc</artifactId>
<version>1.0.3</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
Expand All @@ -55,8 +46,8 @@
<exclusions>
<!-- exclude JUnit 4 -->
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand All @@ -70,54 +61,34 @@
<!-- Swagger -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.9.2</version>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>

<!-- Swagger UI -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.9.2</version>
<version>3.0.0</version>
</dependency>

<!-- FileUtils, etc. -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
<version>2.11.0</version>
</dependency>

<!-- Querydsl -->
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
<version>4.2.1</version>
<version>5.0.0</version>
</dependency>

<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-mongodb</artifactId>
<version>4.2.1</version>
</dependency>

<!-- JUnit 5 -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<scope>test</scope>
<version>5.0.0</version>
</dependency>

<!-- MongoDB embedded for testing -->
Expand All @@ -134,10 +105,12 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>

<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
Expand All @@ -156,6 +129,7 @@
</execution>
</executions>
</plugin>

<!-- Jib -->
<plugin>
<groupId>com.google.cloud.tools</groupId>
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/com/example/simple/SimpleApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

@SpringBootApplication
@EnableMongoRepositories(basePackages = "com.example.simple.repository")
@ComponentScan(basePackages = {"com.github.d4rk3on", "com.example.simple"})
@EnableMongoRepositories
public class SimpleApplication {

public static void main(String[] args) {
SpringApplication.run(SimpleApplication.class, args);
}
Expand Down

This file was deleted.

85 changes: 0 additions & 85 deletions src/main/java/com/example/simple/config/LoggerAspect.java

This file was deleted.

Loading

0 comments on commit 0958e1c

Please sign in to comment.