java-tutorials/spring-cloud/spring-cloud-aws
Dhawal Kapil 1ab0a19d25 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
..
src JAVA-929: Migrate spring-cloud-aws to parent-boot-2 (#9230) 2020-05-04 20:36:20 +05:30
README.md JAVA-929: Migrate spring-cloud-aws to parent-boot-2 (#9230) 2020-05-04 20:36:20 +05:30
pom.xml Java 3590 (#11367) (#11380) 2021-10-29 09:37:04 +05:30

README.md

Spring Cloud AWS

Relevant Articles

Running the Integration Tests

To run the Live Tests, we need to have an AWS account and have API keys generated for programmatic access. Edit the application.properties file to add the following properties:

cloud.aws.credentials.accessKey=YourAccessKey
cloud.aws.credentials.secretKey=YourSecretKey
cloud.aws.region.static=us-east-1

To test automatic DataSource creation from RDS instance, we also need to create an RDS instance in the AWS account. Let's say that the RDS instance is called spring-cloud-test-db having the master password se3retpass, then we need to write the following in application.properties:

cloud.aws.rds.spring-cloud-test-db.password=se3retpass

Multiple application classes are available under this project. To launch InstanceProfileAwsApplication application, replace start-class under pom.xml:

<start-class>com.baeldung.spring.cloud.aws.InstanceProfileAwsApplication</start-class>