-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add integration tests against a generated project #2
Conversation
…figurable spring boot version
Integration tests fail because bintray (gradle plugins) is down again ? |
They were failing because bintray was down. Now they are failing because the AWS SDK expects a region and throws when it does not have a region. |
Looks like it's a "missing feature" from the AWS SDK v2: aws/aws-sdk-java-v2#2229 which points to aws/aws-sdk-java-v2#52 So should we provide a default region ? |
Since endpoint is configurable, we can put a bogus region in if the endpoint is set or S3 is disabled (until paulcwarren/spring-content#667 is released). |
To verify the correct workings of the starters, add an integration test that will build a standard generated content-cloud project.
There are no modifications done to the generated project, so it can easily be replaced with a freshly generated copy.
Instead, a build in the
integration-tests
folder will grab the generated project and the main project and use them as included builds.Using included builds automatically sets up dependency substitutions for the participating projects, and in addition we set up a configurable dependency substitution for the
org.springframework.boot
plugin itself, so we can test against different spring boot versions.