Skip to content

Commit

Permalink
Merge branch 'hotfix-1.31.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed May 16, 2024
2 parents 2e7681b + 58403aa commit b088226
Show file tree
Hide file tree
Showing 167 changed files with 2,746 additions and 1,336 deletions.
2 changes: 1 addition & 1 deletion .idea/runConfigurations/Gemma_CLI.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/Gemma_Web.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions .idea/runConfigurations/Generate_testdb.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 16 additions & 2 deletions .jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@ pipeline {
stage('Build') {
steps {
setBuildStatus "Build", "Build #${env.BUILD_NUMBER} has started...", 'PENDING'
sh 'mvn -B package -DskipTests'
sh 'mvn -B compile'
}
post {
success {
archiveArtifacts artifacts: '**/target/*.jar, **/target/*.war', fingerprint: true
setBuildStatus "Build", "Build #${env.BUILD_NUMBER} succeeded.", 'SUCCESS'
}
unsuccessful {
Expand All @@ -90,6 +89,21 @@ pipeline {
}
}
}
stage('Package') {
steps {
setBuildStatus "Package", "Package for build #${env.BUILD_NUMBER} have started...", 'PENDING'
sh 'mvn -B package -DskipTests'
}
post {
success {
archiveArtifacts artifacts: '**/target/*.jar, **/target/*.war', fingerprint: true
setBuildStatus "Package", "Package for build #${env.BUILD_NUMBER} have passed.", 'SUCCESS'
}
unsuccessful {
setBuildStatus "Package", "Package for build #${env.BUILD_NUMBER} failed.", 'FAILURE'
}
}
}
stage('Run integration tests and perform deployment in parallel') {
when {
anyOf {
Expand Down
4 changes: 2 additions & 2 deletions gemma-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>gemma</artifactId>
<groupId>gemma</groupId>
<version>1.31.5</version>
<version>1.31.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>gemma-cli</artifactId>
Expand All @@ -29,7 +29,7 @@
</program>
</programs>
<!-- this allows Log4j 2 to lookup for Log4j 1.2 configuration -->
<extraJvmArguments>-Dlog4j1.compatibility=true -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Djava.awt.headless=true</extraJvmArguments>
<extraJvmArguments>${jvmOptions}</extraJvmArguments>
<!-- Gemma CLI extensions can be dropped in that folder -->
<endorsedDir>contrib</endorsedDir>
</configuration>
Expand Down
5 changes: 4 additions & 1 deletion gemma-cli/src/main/config/log4j-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,7 @@ log4j.logger.org.hibernate.cache.ehcache.internal.strategy.AbstractReadWriteEhca

# Hibernate Search
# This is necessary to see progress in IndexGemmaCLI command
log4j.logger.org.hibernate.search.impl.SimpleIndexingProgressMonitor=INFO
log4j.logger.org.hibernate.search.impl.SimpleIndexingProgressMonitor=INFO

# Jena
log4j.logger.com.hp.hpl.jena.rdf.model.impl.RDFDefaultErrorHandler=ERROR
5 changes: 4 additions & 1 deletion gemma-cli/src/main/config/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,7 @@ log4j.logger.org.hibernate.cache.ehcache.internal.strategy.AbstractReadWriteEhca

# Hibernate Search
# This is necessary to see progress in IndexGemmaCLI command
log4j.logger.org.hibernate.search.impl.SimpleIndexingProgressMonitor=INFO
log4j.logger.org.hibernate.search.impl.SimpleIndexingProgressMonitor=INFO

# Jena
log4j.logger.com.hp.hpl.jena.rdf.model.impl.RDFDefaultErrorHandler=ERROR
5 changes: 0 additions & 5 deletions gemma-cli/src/main/java/ubic/gemma/core/apps/GemmaCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ public static void main( String[] args ) {

loggingConfigurer.apply();

/*
* Guarantee that the security settings are uniform throughout the application (all threads).
*/
SecurityContextHolder.setStrategyName( SecurityContextHolder.MODE_INHERITABLETHREADLOCAL );

List<String> profiles = new ArrayList<>();
profiles.add( "cli" );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
import ubic.gemma.core.loader.association.NCBIGene2GOAssociationLoader;
import ubic.gemma.core.loader.association.NCBIGene2GOAssociationParser;
import ubic.gemma.core.loader.util.fetcher.HttpFetcher;
import ubic.gemma.core.ontology.OntologyUtils;
import ubic.gemma.core.ontology.providers.GeneOntologyService;
import ubic.gemma.core.util.AbstractAuthenticatedCLI;
import ubic.gemma.core.util.AbstractCLI;
import ubic.gemma.model.common.description.ExternalDatabase;
Expand Down Expand Up @@ -79,7 +81,6 @@ protected void buildOptions( Options options ) {
@Override
protected void doWork() throws Exception {
NCBIGene2GOAssociationLoader gene2GOAssLoader = new NCBIGene2GOAssociationLoader();

gene2GOAssLoader.setPersisterHelper( persisterHelper );

Collection<Taxon> taxa = taxonService.loadAll();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected void processOptions( CommandLine commandLine ) throws ParseException {

@Override
protected void doWork() throws Exception {
tableMaintenanceUtil.updateExpressionExperiment2CharacteristicEntries( truncate );
tableMaintenanceUtil.updateExpressionExperiment2CharacteristicEntries( null, truncate );
}

@Nullable
Expand Down
4 changes: 2 additions & 2 deletions gemma-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>gemma</artifactId>
<groupId>gemma</groupId>
<version>1.31.5</version>
<version>1.31.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>gemma-core</artifactId>
Expand Down Expand Up @@ -279,7 +279,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.10.0</version>
<version>1.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
Loading

0 comments on commit b088226

Please sign in to comment.