Skip to content

Commit a3eea89

Browse files
authored
Merge pull request #717 from overture-stack/rc/4.5.1
Release Candidate 4.5.1
2 parents e22e55a + 5678f8f commit a3eea89

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<groupId>bio.overture</groupId>
2222
<artifactId>song</artifactId>
2323
<packaging>pom</packaging>
24-
<version>4.5.0</version>
24+
<version>4.5.1</version>
2525
<modules>
2626
<module>song-core</module>
2727
<module>song-java-sdk</module>

song-client/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<parent>
1919
<artifactId>song</artifactId>
2020
<groupId>bio.overture</groupId>
21-
<version>4.5.0</version>
21+
<version>4.5.1</version>
2222
</parent>
2323
<modelVersion>4.0.0</modelVersion>
2424

@@ -35,12 +35,12 @@
3535
<dependency>
3636
<groupId>bio.overture</groupId>
3737
<artifactId>song-java-sdk</artifactId>
38-
<version>4.5.0</version>
38+
<version>4.5.1</version>
3939
</dependency>
4040
<dependency>
4141
<groupId>bio.overture</groupId>
4242
<artifactId>song-core</artifactId>
43-
<version>4.5.0</version>
43+
<version>4.5.1</version>
4444
</dependency>
4545

4646
<!-- CLI -->

song-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>song</artifactId>
2121
<groupId>bio.overture</groupId>
22-
<version>4.5.0</version>
22+
<version>4.5.1</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

song-java-sdk/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<parent>
1919
<artifactId>song</artifactId>
2020
<groupId>bio.overture</groupId>
21-
<version>4.5.0</version>
21+
<version>4.5.1</version>
2222
</parent>
2323
<modelVersion>4.0.0</modelVersion>
2424

song-server/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>song</artifactId>
2121
<groupId>bio.overture</groupId>
22-
<version>4.5.0</version>
22+
<version>4.5.1</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

@@ -37,7 +37,7 @@
3737
<dependency>
3838
<groupId>bio.overture</groupId>
3939
<artifactId>song-core</artifactId>
40-
<version>4.5.0</version>
40+
<version>4.5.1</version>
4141
</dependency>
4242

4343
<!-- Spring -->

song-server/src/main/java/bio/overture/song/server/service/analysis/AnalysisServiceImpl.java

+7
Original file line numberDiff line numberDiff line change
@@ -300,15 +300,22 @@ public Analysis publish(
300300
checkAnalysisAndStudyRelated(studyId, id);
301301

302302
val a = unsecuredDeepRead(id);
303+
304+
// Validations before publishing
303305
val analysisSchema = a.getAnalysisSchema();
304306
checkAnalysisTypeVersion(analysisSchema);
305307
val files = a.getFiles();
306308
checkMissingFiles(id, files);
307309
val file2storageObjectMap = getStorageObjectsForFiles(files);
308310
checkMismatchingFileSizes(id, file2storageObjectMap);
309311
checkMismatchingFileMd5sums(id, file2storageObjectMap, ignoreUndefinedMd5);
312+
313+
// Publish
310314
checkedUpdateState(id, PUBLISHED);
311315

316+
// Recalculate publish times now that it has a new PUBLISHED state in history
317+
a.populatePublishTimes();
318+
312319
return a;
313320
}
314321

0 commit comments

Comments
 (0)