Skip to content

Commit

Permalink
Merge branch 'release-6.2.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfeSanahuja committed Jul 17, 2024
2 parents 8b1829b + 8b754fc commit 6039f5d
Show file tree
Hide file tree
Showing 10 changed files with 67 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/manual-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
name: JUnit Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}
fetch-depth: '0'
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/pull-request-approved.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Pull request approve workflow

on:
pull_request_review:
types: [ submitted ]

jobs:
build:
uses: opencb/java-common-libs/.github/workflows/build-java-app-workflow.yml@develop

test:
name: "Test analysis"
uses: ./.github/workflows/test-analysis.yml
needs: build
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/test-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
name: Test and push Sonar analysis
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
Expand Down
2 changes: 1 addition & 1 deletion cellbase-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.1.0</version>
<version>6.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.1.0</version>
<version>6.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.1.0</version>
<version>6.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
20 changes: 19 additions & 1 deletion cellbase-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.1.0</version>
<version>6.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -187,4 +187,22 @@
</dependency>

</dependencies>

<build>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<excludes>
<exclude>configuration.test.yaml</exclude>
</excludes>
</testResource>
<testResource>
<directory>src/test/resources</directory>
<includes>
<include>configuration.test.yaml</include>
</includes>
<filtering>true</filtering>
</testResource>
</testResources>
</build>
</project>
26 changes: 13 additions & 13 deletions cellbase-lib/src/test/resources/configuration.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,40 @@ maintainerContact: [email protected]
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:
database:
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:
database:
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:
Expand Down
2 changes: 1 addition & 1 deletion cellbase-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.1.0</version>
<version>6.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
15 changes: 12 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.1.0</version>
<version>6.2.0</version>
<packaging>pom</packaging>

<name>CellBase project</name>
Expand All @@ -23,8 +23,8 @@

<properties>
<pycellbase.version>${project.version}</pycellbase.version>
<java-common-libs.version>5.1.0</java-common-libs.version>
<biodata.version>3.1.0</biodata.version>
<java-common-libs.version>5.2.0</java-common-libs.version>
<biodata.version>3.2.0</biodata.version>
<bionetdb.version>0.1.0</bionetdb.version>
<jackson.version>2.11.4</jackson.version>
<jackson-asl.version>1.9.13</jackson-asl.version>
Expand Down Expand Up @@ -614,6 +614,15 @@
<CELLBASE.DB.MONGODB.READPREFERENCE>secondaryPreferred</CELLBASE.DB.MONGODB.READPREFERENCE>
<CELLBASE.SERVER.REST.PORT>9090</CELLBASE.SERVER.REST.PORT>
<CELLBASE.MONITOR.AGENT></CELLBASE.MONITOR.AGENT>

<!--
Configuration for JUnit tets (using the file configuration.test.yaml)
-->
<JUNIT.CELLBASE.DB.MONGODB.HOST>localhost:27017</JUNIT.CELLBASE.DB.MONGODB.HOST>
<JUNIT.CELLBASE.DB.USER>cellbase</JUNIT.CELLBASE.DB.USER>
<JUNIT.CELLBASE.DB.PASSWORD>cellbase</JUNIT.CELLBASE.DB.PASSWORD>
<JUNIT.CELLBASE.DB.MONGODB.AUTHENTICATIONDATABASE>admin</JUNIT.CELLBASE.DB.MONGODB.AUTHENTICATIONDATABASE>
<JUNIT.CELLBASE.DB.MONGODB.AUTHENTICATION_MECHANISM>SCRAM-SHA-256</JUNIT.CELLBASE.DB.MONGODB.AUTHENTICATION_MECHANISM>
</properties>
</profile>

Expand Down

0 comments on commit 6039f5d

Please sign in to comment.