-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from sundarvenkata-EBI/ops/spring2_upgrade
EVA-1902 - Spring Boot 2 upgrade - Replace Fongo with real MongoDB tests because Fongo is not supported in Spring Boot 2.1 - see [here](fakemongo/fongo#357) - Update Travis and Gitlab scripts to include Mongo installations - Update POMs to support "|" delimiters so that EVA mongo host for tests can be parametrized for both Travis and Gitlab - javax.validation API dependency need no longer be explicitly pulled in since Spring Boot 2 contains it - Upgrade jackson-databind version to 2.9.7 to work with Spring Boot 2 - JPA repository query methods should be marked with "Query" annotation
- Loading branch information
Showing
41 changed files
with
412 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
sudo: false | ||
|
||
language: java | ||
|
||
jdk: | ||
- openjdk8 | ||
|
||
env: | ||
- OPENCGA_HOME=$TRAVIS_BUILD_DIR/opencga/opencga-app/build | ||
|
||
install: | ||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -PTravis | ||
|
||
script: | ||
- mvn test -s .travis.settings.xml -PTravis | ||
|
||
matrix: | ||
include: | ||
- language: "java" | ||
jdk: "openjdk8" | ||
env: | ||
- OPENCGA_HOME=$TRAVIS_BUILD_DIR/opencga/opencga-app/build | ||
- MONGODB_VERSION=4.0.18 | ||
install: | ||
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-$MONGODB_VERSION.tgz | ||
- tar xfz mongodb-linux-x86_64-$MONGODB_VERSION.tgz | ||
- export PATH=`pwd`/mongodb-linux-x86_64-$MONGODB_VERSION/bin:$PATH | ||
- mkdir -p data/db | ||
- mongod --dbpath=data/db & | ||
- mongod --version | ||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -PTravis | ||
script: | ||
- mvn test -s .travis.settings.xml -PTravis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
spring.datasource.driver-class-name=org.postgresql.Driver | ||
spring.datasource.url=@eva.evapro.jdbc.url@?currentSchema=@eva.evapro.dbsnp-progress.schema@ | ||
spring.datasource.username=@eva.evapro.user@ | ||
spring.datasource.password=@eva.evapro.password@ | ||
spring.datasource.url=|eva.evapro.jdbc.url|?currentSchema=|eva.evapro.dbsnp-progress.schema| | ||
spring.datasource.username=|eva.evapro.user| | ||
spring.datasource.password=|eva.evapro.password| | ||
|
||
spring.jpa.generate-ddl=false | ||
spring.data.rest.base-path=/v1/ | ||
|
||
management.endpoints.web.exposure.include=info,health | ||
management.info.git.mode=full | ||
|
||
# See https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.1-Release-Notes#bean-overriding | ||
spring.main.allow-bean-definition-overriding=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.