Skip to content

Commit

Permalink
JAVA-10628: Create new aws-modules and move other aws related modules
Browse files Browse the repository at this point in the history
inside it
  • Loading branch information
freelansam committed Apr 19, 2022
1 parent dcde37b commit d57657e
Show file tree
Hide file tree
Showing 96 changed files with 140 additions and 32 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion aws-app-sync/pom.xml → aws-modules/aws-app-sync/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../parent-boot-2</relativePath>
<relativePath>../../parent-boot-2</relativePath>
</parent>

<dependencies>
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions aws-lambda/README.md → aws-modules/aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
This module contains articles about AWS Lambda

### Relevant Articles:
- [A Basic AWS Lambda Example With Java](https://www.baeldung.com/java-aws-lambda)
- [Using AWS Lambda with API Gateway](https://www.baeldung.com/aws-lambda-api-gateway)
- [Introduction to AWS Serverless Application Model](https://www.baeldung.com/aws-serverless)
- [How to Implement Hibernate in an AWS Lambda Function in Java](https://www.baeldung.com/java-aws-lambda-hibernate)
- [Writing an Enterprise-Grade AWS Lambda in Java](https://www.baeldung.com/java-enterprise-aws-lambda)
- [AWS Lambda Using DynamoDB With Java](https://www.baeldung.com/aws-lambda-dynamodb-java)
File renamed without changes.
2 changes: 1 addition & 1 deletion aws-lambda/pom.xml → aws-modules/aws-lambda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<artifactId>aws-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions aws-modules/aws-miscellaneous/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## AWS Miscellaneous

This module contains articles about various Amazon Web Services (AWS) such as EC2, DynamoDB, SQS, RDS

### Relevant articles

- [Managing EC2 Instances in Java](https://www.baeldung.com/ec2-java)
- [Integration Testing with a Local DynamoDB Instance](https://www.baeldung.com/dynamodb-local-integration-tests)
- [Managing Amazon SQS Queues in Java](https://www.baeldung.com/aws-queues-java)
- [Guide to AWS Aurora RDS with Java](https://www.baeldung.com/aws-aurora-rds-java)
17 changes: 3 additions & 14 deletions aws/pom.xml → aws-modules/aws-miscellaneous/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>aws</artifactId>
<artifactId>aws-miscellaneous</artifactId>
<version>0.1.0-SNAPSHOT</version>
<name>aws</name>
<name>aws-miscellaneous</name>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<artifactId>aws-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

Expand Down Expand Up @@ -58,17 +58,6 @@
<version>${dynamodblocal.version}</version>
<scope>test</scope>
</dependency>
<!-- JetS3t -->
<dependency>
<groupId>org.lucee</groupId>
<artifactId>jets3t</artifactId>
<version>${jets3t-version}</version>
</dependency>
<dependency>
<groupId>org.lucee</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec-version}</version>
</dependency>
</dependencies>

<build>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions aws-reactive/README.md → aws-modules/aws-reactive/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## AWS Reactive

This module contains articles about reactive support with AWS

### Relevant Articles:

- [AWS S3 with Java – Reactive Support](https://www.baeldung.com/java-aws-s3-reactive)
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion aws-reactive/pom.xml → aws-modules/aws-reactive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<artifactId>aws-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

Expand Down
2 changes: 2 additions & 0 deletions aws-modules/aws-s3/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target/
.idea/
9 changes: 9 additions & 0 deletions aws-modules/aws-s3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## AWS S3

This module contains articles about Simple Storage Service (S3) on AWS

### Relevant articles

- [AWS S3 with Java](https://www.baeldung.com/aws-s3-java)
- [Multipart Uploads in Amazon S3 with Java](https://www.baeldung.com/aws-s3-multipart-upload)
- [Using the JetS3t Java Client With Amazon S3](https://www.baeldung.com/jets3t-amazon-s3)
70 changes: 70 additions & 0 deletions aws-modules/aws-s3/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>aws-s3</artifactId>
<version>0.1.0-SNAPSHOT</version>
<name>aws-s3</name>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung</groupId>
<artifactId>aws-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
<version>${aws-java-sdk.version}</version>
</dependency>

<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<!-- JetS3t -->
<dependency>
<groupId>org.lucee</groupId>
<artifactId>jets3t</artifactId>
<version>${jets3t-version}</version>
</dependency>
<dependency>
<groupId>org.lucee</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec-version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<properties>
<aws-java-sdk.version>1.11.290</aws-java-sdk.version>
<commons-codec-version>1.10.L001</commons-codec-version>
<jets3t-version>0.9.4.0006L</jets3t-version>
<maven-shade-plugin.version>3.0.0</maven-shade-plugin.version>
</properties>

</project>
13 changes: 13 additions & 0 deletions aws-modules/aws-s3/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern>
</encoder>
</appender>

<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
24 changes: 24 additions & 0 deletions aws-modules/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?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>aws-modules</artifactId>
<name>aws-modules</name>
<packaging>pom</packaging>

<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<modules>
<module>aws-app-sync</module>
<module>aws-lambda</module>
<module>aws-miscellaneous</module>
<module>aws-reactive</module>
<module>aws-s3</module>
</modules>

</project>
15 changes: 0 additions & 15 deletions aws/README.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed aws/native-libs/libsqlite4java-osx-1.0.392.dylib
Binary file not shown.
Binary file removed aws/native-libs/sqlite4java-win32-x64-1.0.392.dll
Binary file not shown.
Binary file removed aws/native-libs/sqlite4java-win32-x86-1.0.392.dll
Binary file not shown.

0 comments on commit d57657e

Please sign in to comment.