diff --git a/cellbase-lib/pom.xml b/cellbase-lib/pom.xml
index 64c5a27a22..bfb68c86c0 100644
--- a/cellbase-lib/pom.xml
+++ b/cellbase-lib/pom.xml
@@ -187,4 +187,22 @@
+
+
+
+
+ src/test/resources
+
+ configuration.test.yaml
+
+
+
+ src/test/resources
+
+ configuration.test.yaml
+
+ true
+
+
+
diff --git a/cellbase-lib/src/test/resources/configuration.test.yaml b/cellbase-lib/src/test/resources/configuration.test.yaml
index 1322d2fa52..e1750e7b4b 100644
--- a/cellbase-lib/src/test/resources/configuration.test.yaml
+++ b/cellbase-lib/src/test/resources/configuration.test.yaml
@@ -7,24 +7,24 @@ maintainerContact: joaquin.tarraga@zettagenomics.com
secretKey: "xPacig89igHSieEnveJEi4KCfdEslhmssC3vui1JJQGgDQ0y8v"
databases:
mongodb:
- host: localhost:27017
- user: 'cellbase'
- password: 'cellbase'
+ host: "${JUNIT.CELLBASE.DB.MONGODB.HOST}"
+ user: "${JUNIT.CELLBASE.DB.USER}"
+ password: "${JUNIT.CELLBASE.DB.PASSWORD}"
options:
- authenticationDatabase: 'admin'
- authenticationMechanism: 'SCRAM-SHA-256'
+ authenticationDatabase: "${JUNIT.CELLBASE.DB.MONGODB.AUTHENTICATIONDATABASE}"
+ authenticationMechanism: "${JUNIT.CELLBASE.DB.MONGODB.AUTHENTICATION_MECHANISM}"
readPreference: ''
replicaSet: ''
connectionsPerHost: 20
neo4j:
hsapiens:
- host: "${CELLBASE.DB.NEO4J.HOST}"
- user: "${CELLBASE.DB.USER}"
- password: "${CELLBASE.DB.PASSWORD}"
+ host: "${JUNIT.CELLBASE.DB.NEO4J.HOST}"
+ user: "${JUNIT.CELLBASE.DB.USER}"
+ password: "${JUNIT.CELLBASE.DB.PASSWORD}"
mmusculus:
- host: "${CELLBASE.DB.NEO4J.HOST}"
- user: "${CELLBASE.DB.USER}"
- password: "${CELLBASE.DB.PASSWORD}"
+ host: "${JUNIT.CELLBASE.DB.NEO4J.HOST}"
+ user: "${JUNIT.CELLBASE.DB.USER}"
+ password: "${JUNIT.CELLBASE.DB.PASSWORD}"
defaultOutdir: "/tmp"
download:
ensembl:
@@ -32,7 +32,7 @@ download:
host: ensembldb.ensembl.org:3306
user: anonymous
password: ''
- libs: "${CELLBASE.ENSEMBL.LIBS}"
+ libs: "${JUNIT.CELLBASE.ENSEMBL.LIBS}"
url:
host: ftp://ftp.ensembl.org/pub
ensemblGenomes:
@@ -40,7 +40,7 @@ download:
host: mysql-eg-publicsql.ebi.ac.uk:4157
user: anonymous
password: ''
- libs: "${CELLBASE.ENSEMBL.LIBS}"
+ libs: "${JUNIT.CELLBASE.ENSEMBL.LIBS}"
url:
host: ftp://ftp.ensemblgenomes.org/pub
geneUniprotXref:
diff --git a/pom.xml b/pom.xml
index 0f729c9d0d..61e1f1d7fa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -615,6 +615,15 @@
secondaryPreferred
9090
+
+
+ localhost:27017
+ cellbase
+ cellbase
+ admin
+ SCRAM-SHA-256