Skip to content

Commit

Permalink
Feature: init s3 integration (#48)
Browse files Browse the repository at this point in the history
* ♻️ init s3-integration-core

* ✨ init integration-security-lib

* ✨ init s3-integration service and starter

* ♻️ s3-integration-service fix package name

* 🔥 rm checkstyle

* 🔥 s3-integration rm proxy functionality

* 🔥 s3-integration rm streaming itest

* 🔥 s3-integration rm proxy functionality

* 🔥 s3-integration rm streaming itest

* 🔧 update logback config

* ♻️ security lib rm digiwf references

* 🔧 s3-integration update banner

* 🎨 s3-integration format

* ♻️ security lib rm digiwf references

* ♻️ security lib fix package name

* ➕ integrations add mapstruct

* 🔧 s3-integration add local config

* ✨ s3-integration init client

* 🐛 fix build spring plugin

* 🔥 s3-integration rm copyright header

* ♻️ s3-integration refactor security

* 🚨 s3-integration format and lint warnings

* ✨ s3-integration permit swagger urls

* 💡 s3-integration fix comments language

* 💡 s3-integration fix comments

* 🔥 refarch-integrations cleanup pom

* 🔥 refarch-integrations cleanup pom

* 🔥 s3-integration rm s3 cors template

* ♻️ s3-integration rename json logging profile

* 💡 s3-integration fix comment language

* 💡 s3-integration shorten html comments

* ♻️ s3-integration refactor pom properties

* ♻️ s3-integration refactor domain to records

* ♻️ s3-integration refactor dto to records

* ♻️ s3-integration use const instead of inline string

* ➖ s3-integration rm jsr305

* 🎨 s3-integration spotless format

* 🔧 s3-integration cleanup pom surefire

* 🔧 s3-integration cleanup pom lombok

* 🔥 s3-integration rm unneeded validation annotation

* ♻️ s3-integration refactor SupportedFileExtensions

* 🔥 s3-integration rm .openapi-generator-ignore

* 🎨 s3-integration format pom properties

* ♻️ s3-integration rename packages
  • Loading branch information
simonhir authored Aug 12, 2024
1 parent b7ab1ee commit 3360cc5
Show file tree
Hide file tree
Showing 97 changed files with 6,225 additions and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<modules>
<module>refarch-gateway</module>
<module>refarch-integrations</module>
</modules>

<scm>
Expand Down
202 changes: 202 additions & 0 deletions refarch-integrations/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.2</version>
<relativePath/>
</parent>

<groupId>de.muenchen.refarch</groupId>
<artifactId>refarch-integrations</artifactId>
<version>1.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>refarch-integrations</name>

<modules>
<module>refarch-s3-integration</module>
</modules>

<properties>
<!-- Compilation -->
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.release>${java.version}</maven.compiler.release>

<!-- Core Frameworks -->
<spring-cloud.version>2023.0.3</spring-cloud.version>

<!-- Logging -->
<logstash-logback-encoder.version>8.0</logstash-logback-encoder.version>

<!-- Linting & Formatting -->
<spotless-maven-plugin.version>2.34.0</spotless-maven-plugin.version>
<itm-java-codeformat.version>1.0.10</itm-java-codeformat.version>

<!-- Testing -->
<jacoco.version>0.8.12</jacoco.version>

<!-- Utility -->
<mapstruct.version>1.5.5.Final</mapstruct.version>
<lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>

<!-- Additional required dependencies -->
<springdoc-openapi.version>2.6.0</springdoc-openapi.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

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

<!-- Logging -->
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
<version>${logstash-logback-encoder.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>${lombok-mapstruct-binding.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- Codeformatter Spotless -->
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless-maven-plugin.version}</version>
<dependencies>
<dependency>
<groupId>de.muenchen.oss</groupId>
<artifactId>itm-java-codeformat</artifactId>
<version>${itm-java-codeformat.version}</version>
</dependency>
</dependencies>
<configuration>
<java>
<includes>
<include>src/main/java/**/*.java</include> <!-- Check application code -->
<include>src/test/java/**/*.java</include> <!-- Check application tests code -->
</includes>
<eclipse>
<file>itm-java-codeformat/java_codestyle_formatter.xml</file>
</eclipse>
<trimTrailingWhitespace/>
<endWithNewline/>
</java>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
26 changes: 26 additions & 0 deletions refarch-integrations/refarch-s3-integration/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>de.muenchen.refarch</groupId>
<artifactId>refarch-integrations</artifactId>
<version>1.1.0-SNAPSHOT</version>
</parent>


<artifactId>refarch-s3-integration</artifactId>
<version>1.1.0-SNAPSHOT</version>
<name>refarch-s3-integration</name>
<packaging>pom</packaging>

<modules>
<module>refarch-s3-integration-core</module>
<module>refarch-s3-integration-starter</module>
<module>refarch-s3-integration-service</module>
<module>refarch-s3-integration-client</module>
<module>refarch-s3-integration-client-starter</module>
</modules>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>refarch-s3-integration-client-starter</artifactId>
<name>refarch-s3-integration-client-starter</name>

<parent>
<groupId>de.muenchen.refarch</groupId>
<artifactId>refarch-s3-integration</artifactId>
<version>1.1.0-SNAPSHOT</version>
</parent>

<dependencies>
<!-- internal dependencies-->
<dependency>
<groupId>de.muenchen.refarch</groupId>
<artifactId>refarch-s3-integration-client</artifactId>
<version>${project.version}</version>
</dependency>

<!-- spring -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>

<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
</dependency>

<!-- testing libraries-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

</dependencies>
</project>
Loading

0 comments on commit 3360cc5

Please sign in to comment.