Skip to content

Commit

Permalink
R1.4.0
Browse files Browse the repository at this point in the history
Security vulnerability fix for older versions of AWS S3 library.
Updated spring and solace libraries to most recent
  • Loading branch information
RobertOttesen committed Jul 18, 2022
1 parent f4202e2 commit a42525b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ The following is a list of services that have been provided.
* [Solace Publishing Service](#121-solace-publishing-service)
* [File Output Service](#122-file-output-service)
* [Message Logging Service](#123-message-logging-service)
* [AWS S3 Put Service](#124-aws-s3-put-service)
* [Null Op Service](#125-null-op-service)
* [AWS S3 Put Service](#124-aws-s3-put-service) *Deprecated as of R1.4.0. See notes below*
* [Null Op Service](#125-null-op-service)

New services can be created as needed. Refer to the [Spring Integration Project](https://docs.spring.io/spring-integration/docs/5.2.6.RELEASE/reference/html/)
for reference documentation on `@Service`, `@ServiceActivator` and `@MessageEndpoint` annotations.
Expand Down Expand Up @@ -193,6 +193,12 @@ service.message-logging.header-remove-list=jms*,*JMS*,solace*,Solace*,breadcrumb
```

##### 1.2.4 AWS S3 Put Service
*Deprecated since R1.4.0*

*It is recommended to use Solace integration capabilities with Cloud Native Services. Use the SolacePublishingService to
publish to a Solace broker and then use Solace's REST Delivery Points to connect to the AWS S3 service.*
https://solace.com/blog/simplifying-integration-cloud-services-data-lakes-rest-delivery-points/

A simple service to put the contents of the message as a String object into an AWS Simple Storage Service (S3) bucket.
The service requires AWS Security Credentials w/ recommendation of AmazonS3FullAccess permissions.

Expand Down
16 changes: 10 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.2</version>
<version>2.7.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.solace.swim</groupId>
<artifactId>swim-feed-handler</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
<name>swim-feed-handler</name>
<description>SWIM Feed Handler Spring Boot Application</description>

Expand All @@ -34,22 +34,26 @@
<dependency>
<groupId>com.solace.spring.boot</groupId>
<artifactId>solace-jms-spring-boot-starter</artifactId>
<version>4.1.1</version>
<version>4.2.2</version>
</dependency>
<dependency>
<groupId>com.solace</groupId>
<artifactId>solace-messaging-client</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.solacesystems</groupId>
<artifactId>sol-jms</artifactId>
<version>10.11.0</version>
<version>10.15.0</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
<version>1.12.135</version>
<version>1.12.262</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
*
* This service is only enabled when the property service.aws-s3-put.enabled=true.
*/
@Deprecated
@Service
@ConditionalOnProperty(prefix = "service.aws-s3-put", value = "enabled", havingValue = "true")
public class AWSS3PutService implements IService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* Service Activator pattern. The input is the internal message channel msg.scds.service.
* Invokes the AWSS3PutService.
*/
@Deprecated
@MessageEndpoint
@ConditionalOnProperty(prefix = "service.aws-s3-put", value = "enabled", havingValue = "true")
public class AWSS3PutServiceActivator implements IServiceActivator {
Expand Down

0 comments on commit a42525b

Please sign in to comment.