Skip to content

Commit 31fb408

Browse files
committed
reactify-minio
1 parent 620113a commit 31fb408

20 files changed

+1878
-150
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,11 @@ dependencies {
6767
//Reactive REST/SOAP client with fault-tolerant design
6868
implementation("io.github.hoangtien2k3:reactify-client:1.2.4")
6969
70+
//Use in minio (aws s3)
71+
implementation("io.github.hoangtien2k3:reactify-minio:1.2.5")
72+
7073
//Essential utilities for reactive development
71-
implementation("io.github.hoangtien2k3:reactify-utils:1.2.4")
74+
implementation("io.github.hoangtien2k3:reactify-utils:1.2.5")
7275
}
7376
```
7477

@@ -94,12 +97,19 @@ dependencies {
9497
<artifactId>reactify-client</artifactId>
9598
<version>1.2.4</version>
9699
</dependency>
100+
101+
<!-- //Use in minio (aws s3) -->
102+
<dependency>
103+
<groupId>io.github.hoangtien2k3</groupId>
104+
<artifactId>reactify-minio</artifactId>
105+
<version>1.2.5</version>
106+
</dependency>
97107

98108
<!-- Essential utilities for reactive development -->
99109
<dependency>
100110
<groupId>io.github.hoangtien2k3</groupId>
101111
<artifactId>reactify-utils</artifactId>
102-
<version>1.2.4</version>
112+
<version>1.2.5</version>
103113
</dependency>
104114
</dependencies>
105115
```

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
<module>reactify-client</module>
9393
<module>reactify-core</module>
9494
<module>reactify-keycloak</module>
95+
<module>reactify-minio</module>
9596
<module>reactify-utils</module>
9697
</modules>
9798

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
com.reactify.AutoConfiguration
1+
com.reactify.config.AutoConfiguration
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
com.reactify.AutoConfiguration
1+
com.reactify.config.AutoConfiguration

reactify-core/src/main/java/com/reactify/util/MinioUtils.java

Lines changed: 139 additions & 39 deletions
Large diffs are not rendered by default.

reactify-keycloak/src/main/java/com/reactify/Oauth2AutoConfiguration.java renamed to reactify-keycloak/src/main/java/com/reactify/AutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
*/
2121
@Configuration
2222
@ComponentScan(basePackages = "com.reactify")
23-
public class Oauth2AutoConfiguration {
23+
public class AutoConfiguration {
2424
}

reactify-keycloak/src/main/java/com/reactify/ReactifyOauth2KeycloakApplication.java

Lines changed: 0 additions & 13 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
com.reactify.config.AutoConfiguration

reactify-keycloak/src/main/resources/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports

Lines changed: 0 additions & 1 deletion
This file was deleted.

reactify-minio/pom.xml

Lines changed: 12 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
<maven-javadoc-plugin.version>3.8.0</maven-javadoc-plugin.version>
6666
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
6767
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
68+
<minio.version>8.5.11</minio.version>
6869
</properties>
6970

7071
<!-- =========================================== -->
@@ -73,9 +74,18 @@
7374
<dependencies>
7475
<dependency>
7576
<groupId>org.springframework.boot</groupId>
76-
<artifactId>spring-boot-starter</artifactId>
77+
<artifactId>spring-boot-starter-webflux</artifactId>
78+
</dependency>
79+
<dependency>
80+
<groupId>io.minio</groupId>
81+
<artifactId>minio</artifactId>
82+
<version>${minio.version}</version>
83+
</dependency>
84+
<dependency>
85+
<groupId>javax.activation</groupId>
86+
<artifactId>javax.activation-api</artifactId>
87+
<version>1.2.0</version>
7788
</dependency>
78-
7989
</dependencies>
8090

8191
<!-- =========================================== -->
@@ -195,58 +205,6 @@
195205
</archive>
196206
</configuration>
197207
</plugin>
198-
<plugin>
199-
<groupId>com.diffplug.spotless</groupId>
200-
<artifactId>spotless-maven-plugin</artifactId>
201-
<version>${spotless.version}</version>
202-
<configuration>
203-
<java>
204-
<eclipse>
205-
</eclipse>
206-
<indent>
207-
<tabs>true</tabs>
208-
<spacesPerTab>2</spacesPerTab>
209-
</indent>
210-
<indent>
211-
<spaces>true</spaces>
212-
<spacesPerTab>2</spacesPerTab>
213-
</indent>
214-
<removeUnusedImports/>
215-
<palantirJavaFormat/>
216-
</java>
217-
</configuration>
218-
<executions>
219-
<execution>
220-
<id>java-formatter</id>
221-
<goals>
222-
<goal>check</goal>
223-
</goals>
224-
<phase>validate</phase>
225-
</execution>
226-
</executions>
227-
</plugin>
228-
<plugin>
229-
<groupId>com.mycila</groupId>
230-
<artifactId>license-maven-plugin</artifactId>
231-
<version>4.0.rc2</version>
232-
<configuration>
233-
<licenseSets>
234-
<licenseSet>
235-
<header>${project.basedir}/src/main/resources/HEADER.txt</header>
236-
<includes>
237-
<include>**/*.java</include>
238-
</includes>
239-
</licenseSet>
240-
</licenseSets>
241-
</configuration>
242-
<executions>
243-
<execution>
244-
<goals>
245-
<goal>format</goal>
246-
</goals>
247-
</execution>
248-
</executions>
249-
</plugin>
250208
</plugins>
251209
</build>
252210
</project>

0 commit comments

Comments
 (0)