Skip to content

Commit e510f90

Browse files
committed
wip
1 parent 559859d commit e510f90

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

project-management/src/main/java/life/qbic/projectmanagement/application/confounding/ConfoundingVariableService.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,11 @@ ConfoundingVariableLevel setVariableLevelForSample(String projectId,
164164
* <p>
165165
* Overwrites an existing level of set sample in the variable, if present.
166166
*
167-
* @param projectId the identifier of the project
168-
* @param experiment the experiment containing the variable
169-
* @param sampleReference the sample for which to set the level
170-
* @param levels the variable levels to set
167+
* @param projectId the identifier of the project
168+
* @param experiment the experiment containing the variable
169+
* @param sampleReference the sample for which to set the level
170+
* @param variableReference the variable for which to set the level
171+
* @param level the value of the level
171172
* @return the created confounding variable level
172173
*/
173174
@PreAuthorize("hasPermission(#projectId, 'life.qbic.projectmanagement.domain.model.project.Project', 'WRITE')")

user-interface/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@
131131
<groupId>com.mysql</groupId>
132132
<artifactId>mysql-connector-j</artifactId>
133133
</dependency>
134-
<dependency>
135-
<groupId>mysql</groupId>
136-
<artifactId>mysql-connector-java</artifactId>
137-
<version>[8.0.33,)</version>
138-
</dependency>
139134
<dependency>
140135
<groupId>com.h2database</groupId>
141136
<artifactId>h2</artifactId>

user-interface/src/main/java/life/qbic/datamanager/views/projects/project/samples/registration/batch/RegisterSampleBatchDialog.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ private void onUploadSucceeded(SampleValidationService sampleValidationService,
146146
var validationTasks = CompletableFuture
147147
//allOf makes sure exceptional state is transferred to outer completable future.
148148
.allOf(validations.toArray(new CompletableFuture[0]))
149+
.orTimeout(5, TimeUnit.MINUTES)
149150
.thenApply(v -> validations.stream()
150151
.map(CompletableFuture::join)
151152
.toList())

0 commit comments

Comments
 (0)