Skip to content

Commit 70e6ea8

Browse files
authored
Merge pull request #11748 from cBioPortal/release-6.4.0
Release 6.4.0
2 parents 610af07 + 4be8908 commit 70e6ea8

40 files changed

+273
-534
lines changed

.github/workflows/integration-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ jobs:
4949
sed 's|session.service.url=.*|session.service.url=http://cbioportal-session:5001/api/sessions/my_portal/|' | \
5050
sed 's|feature.study.export=.*|feature.study.export=true|' | \
5151
sed 's|#\?session.endpoint.publisher-api-key=.*|session.endpoint.publisher-api-key=TEST|' \
52-
> application.properties
52+
> application.properties && \
53+
DB_VERSION=$(mvn -q -DforceStdout -Dexpression=db.version -f $PORTAL_SOURCE_DIR/pom.xml help:evaluate || true) && \
54+
if [ -n "$DB_VERSION" ]; then echo "db.version=${DB_VERSION}" > maven.properties; else : > maven.properties; fi && \
55+
echo "maven.properties => $(cat maven.properties | tr -d '\n' || echo '(empty)')"
5356
- name: 'Dump Properties'
5457
working-directory: ./cbioportal-docker-compose
5558
run: cat config/application.properties

docker/web-and-data/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN apt-get update; apt-get install -y --no-install-recommends \
4444
RUN mkdir -p /cbioportal
4545

4646
#Download core files
47-
RUN wget https://github.com/cBioPortal/cbioportal-core/releases/download/v1.0.10/core-1.0.10.jar -P core/ ; cd core ; jar -xf core-1.0.10.jar scripts/ requirements.txt ; chmod -R a+x scripts/ ; cd ..;
47+
RUN wget https://github.com/cBioPortal/cbioportal-core/releases/download/v1.0.11/core-1.0.11.jar -P core/ ; cd core ; jar -xf core-1.0.11.jar scripts/ requirements.txt ; chmod -R a+x scripts/ ; cd ..;
4848

4949

5050
COPY --from=build /cbioportal/src/main/resources/db-scripts /cbioportal/db-scripts

docs/Migration-Guide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
This page describes various changes deployers will need to make as they deploy newer versions of the portal.
44

5+
## v6.3 -> v6.4
6+
- The [v6.4.0](https://github.com/cBioPortal/cbioportal/releases/tag/v6.4.0) release includes database schema changes that aren’t backward compatible. Please review the [Database Migration Guide](https://docs.cbioportal.org/updating-your-cbioportal-installation/#running-the-migration-script) before upgrading.
7+
58
## v6.2 -> v6.3
69
- cBioPortal Database Migration: [v6.3.0](https://github.com/cBioPortal/cbioportal/releases/tag/v6.3.0) introduces breaking changes to the cBioPortal database schema. Please see the [Database Migration Guide](https://docs.cbioportal.org/updating-your-cbioportal-installation/#running-the-migration-script) before upgrading cBioPortal to v6.3.0.
710

docs/Updating-gene-and-gene_alias-tables.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ Execute these steps in case you want to reset your database to the most recent g
2323

2424
2- If DB engine supports foreign key (FK) constraints, e.g. InnoDB, drop constraints:
2525
```sql
26-
ALTER TABLE cosmic_mutation
27-
DROP FOREIGN KEY cosmic_mutation_ibfk_1;
28-
2926
ALTER TABLE uniprot_id_mapping
3027
DROP FOREIGN KEY uniprot_id_mapping_ibfk_1;
3128
```
@@ -84,7 +81,6 @@ SELECT count(*) FROM cbioportal.gene_alias;
8481
8- Clean-up old data:
8582
```sql
8683
SET SQL_SAFE_UPDATES = 0;
87-
DELETE FROM cosmic_mutation where ENTREZ_GENE_ID not in (SELECT ENTREZ_GENE_ID from gene);
8884
DELETE FROM sanger_cancer_census where ENTREZ_GENE_ID not in (SELECT ENTREZ_GENE_ID from gene);
8985
DELETE FROM uniprot_id_mapping where ENTREZ_GENE_ID not in (SELECT ENTREZ_GENE_ID from gene);
9086
DELETE FROM interaction where GENE_A not in (SELECT ENTREZ_GENE_ID from gene) or GENE_B not in (SELECT ENTREZ_GENE_ID from gene);
@@ -95,9 +91,6 @@ commit;
9591

9692
9- If DB engine supports FK constraints, e.g. InnoDB, restore constraints:
9793
```sql
98-
ALTER TABLE cosmic_mutation
99-
ADD CONSTRAINT cosmic_mutation_ibfk_1 FOREIGN KEY (`ENTREZ_GENE_ID`) REFERENCES `gene` (`ENTREZ_GENE_ID`);
100-
10194
ALTER TABLE uniprot_id_mapping
10295
ADD CONSTRAINT uniprot_id_mapping_ibfk_1 FOREIGN KEY (`ENTREZ_GENE_ID`) REFERENCES `gene` (`ENTREZ_GENE_ID`);
10396
```

docs/deployment/customization/application.properties-Reference.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -389,18 +389,6 @@ A private token is required to access the OncoKB Data (for details see the secti
389389
oncokb.token=
390390
```
391391

392-
"cBioPortal>=" driver annotation sources in the settings menu of Results View can be hidden by turning off the following property (default: true):
393-
394-
```
395-
show.cbioportal=true|false
396-
```
397-
398-
"COSMIC>=" driver annotation sources in the settings menu of Results View can be hidden by turning off the following property (default: true):
399-
400-
```
401-
show.cosmic=true|false
402-
```
403-
404392
## CIViC integration
405393

406394
CIViC integration can be turned on or off with the following property (default: true):

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<frontend.artifactId>frontend-cbioportal</frontend.artifactId>
3131
<frontend.version>v6.4.0</frontend.version>
3232
<!-- THIS SHOULD BE KEPT IN SYNC TO VERSION IN CGDS.SQL -->
33-
<db.version>2.14.2</db.version>
33+
<db.version>2.14.5</db.version>
3434
<derived_table.version>1.0.2</derived_table.version>
3535

3636
<!-- Version properties for dependencies that should have same version. -->

src/main/java/org/cbioportal/legacy/model/CosmicMutation.java

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/main/java/org/cbioportal/legacy/model/Info.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ public class Info implements Serializable {
77
@NotNull private String portalVersion;
88
@NotNull private String dbVersion;
99
@NotNull private String derivedTableVersion;
10+
@NotNull private String genesetVersion;
11+
@NotNull private String geneTableVersion;
1012
@NotNull private String gitBranch;
1113
@NotNull private String gitCommitId;
1214
@NotNull private String gitCommitIdAbbrev;
@@ -121,4 +123,20 @@ public String getDerivedTableVersion() {
121123
public void setDerivedTableVersion(String derivedTableVersion) {
122124
this.derivedTableVersion = derivedTableVersion;
123125
}
126+
127+
public String getGenesetVersion() {
128+
return genesetVersion;
129+
}
130+
131+
public void setGenesetVersion(String genesetVersion) {
132+
this.genesetVersion = genesetVersion;
133+
}
134+
135+
public String getGeneTableVersion() {
136+
return geneTableVersion;
137+
}
138+
139+
public void setGeneTableVersion(String geneTableVersion) {
140+
this.geneTableVersion = geneTableVersion;
141+
}
124142
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
package org.cbioportal.legacy.model;
2+
3+
import java.io.Serializable;
4+
5+
public class InfoDb implements Serializable {
6+
7+
private String dbSchemaVersion;
8+
private String genesetVersion;
9+
private String derivedTableSchemaVersion;
10+
private String geneTableVersion;
11+
12+
public String getDbSchemaVersion() {
13+
return dbSchemaVersion;
14+
}
15+
16+
public void setDbSchemaVersion(String dbSchemaVersion) {
17+
this.dbSchemaVersion = dbSchemaVersion;
18+
}
19+
20+
public String getGenesetVersion() {
21+
return genesetVersion;
22+
}
23+
24+
public void setGenesetVersion(String genesetVersion) {
25+
this.genesetVersion = genesetVersion;
26+
}
27+
28+
public String getDerivedTableSchemaVersion() {
29+
return derivedTableSchemaVersion;
30+
}
31+
32+
public void setDerivedTableSchemaVersion(String derivedTableSchemaVersion) {
33+
this.derivedTableSchemaVersion = derivedTableSchemaVersion;
34+
}
35+
36+
public String getGeneTableVersion() {
37+
return geneTableVersion;
38+
}
39+
40+
public void setGeneTableVersion(String geneTableVersion) {
41+
this.geneTableVersion = geneTableVersion;
42+
}
43+
}

src/main/java/org/cbioportal/legacy/persistence/CosmicCountRepository.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)