Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
KochTobi committed Jul 16, 2024
2 parents cb57787 + 25819b6 commit 37860d4
Show file tree
Hide file tree
Showing 24 changed files with 119 additions and 57 deletions.
2 changes: 1 addition & 1 deletion application-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datamanager</artifactId>
<groupId>life.qbic</groupId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>application-commons</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion broadcasting/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datamanager</artifactId>
<groupId>life.qbic</groupId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>broadcasting</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion domain-concept/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>life.qbic</groupId>
<artifactId>datamanager</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>

<artifactId>domain-concept</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions email-service-provider/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>life.qbic</groupId>
<artifactId>datamanager</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>

<groupId>life.qbic.infrastructure</groupId>
Expand All @@ -21,13 +21,13 @@
<dependency>
<groupId>life.qbic</groupId>
<artifactId>identity</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>life.qbic</groupId>
<artifactId>project-management</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion finances-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>life.qbic</groupId>
<artifactId>datamanager</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>

<groupId>life.qbic.finances</groupId>
Expand Down
4 changes: 2 additions & 2 deletions finances-infrastructure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>life.qbic</groupId>
<artifactId>datamanager</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>

<artifactId>finances-infrastructure</artifactId>
Expand All @@ -20,7 +20,7 @@
<dependency>
<groupId>life.qbic</groupId>
<artifactId>finances</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions finances/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datamanager</artifactId>
<groupId>life.qbic</groupId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>finances</artifactId>
Expand Down Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>life.qbic.finances</groupId>
<artifactId>finances-api</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions identity-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>life.qbic</groupId>
<artifactId>datamanager</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>

<groupId>life.qbic.datamanager</groupId>
Expand All @@ -21,7 +21,7 @@
<dependency>
<groupId>life.qbic</groupId>
<artifactId>application-commons</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions identity-infrastructure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<parent>
<groupId>life.qbic</groupId>
<artifactId>datamanager</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>
<artifactId>identity-infrastructure</artifactId>
<dependencies>
<dependency>
<groupId>life.qbic</groupId>
<artifactId>identity</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
12 changes: 6 additions & 6 deletions identity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datamanager</artifactId>
<groupId>life.qbic</groupId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -45,25 +45,25 @@
<dependency>
<groupId>life.qbic</groupId>
<artifactId>broadcasting</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>life.qbic</groupId>
<artifactId>application-commons</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>life.qbic</groupId>
<artifactId>logging</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>life.qbic</groupId>
<artifactId>domain-concept</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -86,7 +86,7 @@
<dependency>
<groupId>life.qbic.datamanager</groupId>
<artifactId>identity-api</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datamanager</artifactId>
<groupId>life.qbic</groupId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>logging</artifactId>
Expand Down Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>life.qbic.logging</groupId>
<artifactId>subscription-api</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>life.qbic</groupId>
<artifactId>datamanager</artifactId>
<name>Data Manager</name>
<version>1.1.3</version>
<version>1.1.5</version>
<modules>
<module>user-interface</module>
<module>identity</module>
Expand Down
4 changes: 2 additions & 2 deletions project-management-infrastructure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>life.qbic</groupId>
<artifactId>datamanager</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>

<groupId>life.qbic.identity</groupId>
Expand All @@ -29,7 +29,7 @@
<dependency>
<groupId>life.qbic</groupId>
<artifactId>project-management</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
12 changes: 6 additions & 6 deletions project-management/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>datamanager</artifactId>
<groupId>life.qbic</groupId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>project-management</artifactId>
Expand Down Expand Up @@ -37,13 +37,13 @@
<dependency>
<groupId>life.qbic</groupId>
<artifactId>application-commons</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>life.qbic</groupId>
<artifactId>logging</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -54,7 +54,7 @@
<dependency>
<groupId>life.qbic</groupId>
<artifactId>domain-concept</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -77,13 +77,13 @@
<dependency>
<groupId>life.qbic.datamanager</groupId>
<artifactId>identity-api</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>life.qbic.finances</groupId>
<artifactId>finances-api</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import life.qbic.projectmanagement.application.ProjectInformationService;
import life.qbic.projectmanagement.application.measurement.MeasurementService;
import life.qbic.projectmanagement.application.measurement.NGSMeasurementMetadata;
import life.qbic.projectmanagement.application.measurement.validation.MeasurementProteomicsValidator.PROTEOMICS_PROPERTY;
import life.qbic.projectmanagement.application.ontology.OntologyLookupService;
import life.qbic.projectmanagement.application.sample.SampleInformationService;
import life.qbic.projectmanagement.domain.model.project.ProjectId;
Expand Down Expand Up @@ -63,6 +64,9 @@ public static boolean isNGS(Collection<String> properties) {
return false;
}
if (properties.size() < NGS_PROPERTY.values().length) {
log.debug("Wrong length of property header: "+properties().size());
log.debug("Expected: "+ NGS_PROPERTY.values().length);
log.debug("Provided: "+ String.join(" - ", properties));
return false;
}
var providedNGSProperties = properties.stream().map(String::toLowerCase).toList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.util.List;
import java.util.Objects;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import life.qbic.logging.api.Logger;
import life.qbic.projectmanagement.application.ProjectInformationService;
import life.qbic.projectmanagement.application.measurement.MeasurementService;
Expand Down Expand Up @@ -62,12 +63,13 @@ public MeasurementProteomicsValidator(SampleInformationService sampleInformation
*/
public static boolean isProteomics(Collection<String> properties) {
if (properties.isEmpty()) {
log.debug("no properties found");
log.debug("No properties found");
return false;
}
if (properties.size() < PROTEOMICS_PROPERTY.values().length) {
log.debug("wrong length of property header: "+properties().size());
log.debug("expected: "+PROTEOMICS_PROPERTY.values().length);
log.debug("Wrong length of property header: "+properties().size());
log.debug("Expected: "+PROTEOMICS_PROPERTY.values().length);
log.debug("Provided: "+ String.join(" - ", properties));
return false;
}
for (PROTEOMICS_PROPERTY pxpProperty : PROTEOMICS_PROPERTY.values()) {
Expand Down
2 changes: 1 addition & 1 deletion subscription-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datamanager</artifactId>
<groupId>life.qbic</groupId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>life.qbic.logging</groupId>
Expand Down
4 changes: 2 additions & 2 deletions subscription-provider/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datamanager</artifactId>
<groupId>life.qbic</groupId>
<version>1.1.3</version>
<version>1.1.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>life.qbic.logging</groupId>
Expand All @@ -14,7 +14,7 @@
<dependency>
<groupId>life.qbic.logging</groupId>
<artifactId>subscription-api</artifactId>
<version>1.1.3</version>
<version>1.1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Loading

0 comments on commit 37860d4

Please sign in to comment.