Skip to content

Commit

Permalink
Release 2024-01-26-1200
Browse files Browse the repository at this point in the history
  • Loading branch information
TDCasasent committed Jan 26, 2024
1 parent 917197f commit 59c9404
Show file tree
Hide file tree
Showing 65 changed files with 70 additions and 58 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Make the following directories.
- /MBA/PROPS
- /MBA/UTIL
- /MBA/WEBSITE
- /MBA/MW_CONFIG
- /MBA/MW_CACHE
- /MBA/MW_ZIP

1. Copy the contents of inst/ext/MW_CONFIG into /MBA/MW_CONFIG.
1. Copy the contents of inst/ext/MW_CACHE into /MBA/MW_CACHE.
2. Copy the contents of inst/ext/OUTPUT into /MBA/OUTPUT.
3. Copy the contents of inst/ext/PROPS into /MBA/PROPS.
4. Copy the contents of inst/ext/UTIL into /MBA/UTIL.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down Expand Up @@ -46,28 +46,38 @@ protected void internalProcess(HttpServletRequest request, StringBuffer theBuffe
if ((jobId!=null)&&!("".equals(jobId)))
{
File jobDir = new File(MBAUtils.M_OUTPUT, jobId);
log("JOBdelete jobDir = " + jobDir);
boolean success = deleteWebsiteFiles(jobId, this);
log("JOBdelete deleteWebsiteFiles = " + success);
if(true==success)
{
log("JOBdelete deleteQuietly before");
success = FileUtils.deleteQuietly(jobDir);
log("JOBdelete deleteQuietly = " + success);
if(true==success)
{
log("JOBdelete deleteJob before");
JobStatus.deleteJob(jobId, this);
log("JOBdelete deleteJob after");
theBuffer.append("Successfully deleted " + jobId);
log("Successfully deleted " + jobId);
}
else
{
theBuffer.append("Unable to delete " + jobId);
log("Unable to delete " + jobId);
}
}
else
{
theBuffer.append("Unable to delete website directory " + jobId);
log("Unable to delete website directory " + jobId);
}
}
else
{
theBuffer.append("No job specified");
log("No job specified");
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
* Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
// Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
//
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
//
Expand Down
2 changes: 1 addition & 1 deletion docker-build/mba-stack/02_dockerSed.bash
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ JOB_OUTPUT_DIR=${LOCAL_PATH_ENV}/MBA/OUTPUT
### directory for the Batch Effects Website
WEBSITE_DIR=${LOCAL_PATH_ENV}/MBA/WEBSITE
### read-only directory for util files
UTIL_DIR=${LOCAL_PATH_ENV}/MBA/UTIL
UTIL_DIR=${LOCAL_PATH_ENV}/MBA/UTILS

# URL and tag to use as image name for MBA image, such as mdabcb/mba_image:DAP_BEA_VERSION_TIMESTAMP
MBA_IMAGEURL=${9}
Expand Down
2 changes: 1 addition & 1 deletion docker-build/mba-stack/bev-image/Dockerfile_template
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ENV LD_LIBRARY_PATH=/usr/lib/jvm/java-17-openjdk/lib/server

# install Tomcat 10, set to run as bcbuser
ENV TOMCAT_MAJOR=10 \
TOMCAT_VERSION=10.1.13 \
TOMCAT_VERSION=10.1.18 \
TOMCAT_HOME=/opt/tomcat \
CATALINA_HOME=/opt/tomcat \
CATALINA_OUT=/dev/null
Expand Down
14 changes: 7 additions & 7 deletions docker-build/mba-stack/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# this is the docker compose version
version: '3.0'

# file version 2023-09-22-1600
# file version 2024-01-26-1200


networks:
Expand All @@ -23,7 +23,7 @@ services:
context: ./mba-image
dockerfile: Dockerfile
container_name: mbaMBA_cont_hub
image: mdabcb/mba_image:2023-09-22-1600
image: mdabcb/mba_image:2024-01-26-1200
volumes:
# external:internal
# external log path
Expand All @@ -35,9 +35,9 @@ services:
# directory for the Batch Effects Website (must be on Linux file system since links to /MBA/OUTOUT are created here)
- /MBA/MBA/WEBSITE:/BEA/MBA/WEBSITE
# read-only directory for HG38 map
- /MBA/MBA/UTIL:/BEA/MBA/UTILS:ro
- /MBA/MBA/UTILS:/BEA/MBA/UTILS:ro
# SMW paths for Metabolomics Workbench DAta
- /MBA/MW_CONFIG:/BEA/SMW/MW_CACHE:ro
- /MBA/MW_CACHE:/BEA/SMW/MW_CACHE:ro
- /MBA/MW_ZIP:/BEA/SMW/MW_ZIP
# read-only file to set time to same in image as on server
- /etc/localtime:/etc/localtime:ro
Expand All @@ -55,14 +55,14 @@ services:
context: ./mbatch-image
dockerfile: Dockerfile
container_name: mbatchMBA_cont_hub
image: mdabcb/mbatch_image:2023-09-22-1600
image: mdabcb/mbatch_image:2024-01-26-1200
volumes:
# directory for output from MBA, GDCDownload, and MBatch Results external:internal
- /MBA/MBA/OUTPUT:/BEA/MBA/OUTPUT
# directory for the Batch Effects Website (must be on Linux file system since links to /MBA/OUTOUT are created here)
- /MBA/MBA/WEBSITE:/BEA/MBA/WEBSITE
# SMW paths for Metabolomics Workbench DAta
- /MBA/MW_CONFIG:/BEA/SMW/MW_CACHE:ro
- /MBA/MW_CACHE:/BEA/SMW/MW_CACHE:ro
- /MBA/MW_ZIP:/BEA/SMW/MW_ZIP
# read-only file to set time to same in image as on server
- /etc/localtime:/etc/localtime:ro
Expand All @@ -80,7 +80,7 @@ services:
dockerfile: Dockerfile
container_name: bevMBA_cont_hub
# update :latest to desired version
image: mdabcb/bev_image:2023-09-22-1600
image: mdabcb/bev_image:2024-01-26-1200
volumes:
# external:internal
# external log path
Expand Down
2 changes: 1 addition & 1 deletion docker-build/mba-stack/mba-image/Dockerfile_template
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ENV LD_LIBRARY_PATH=/usr/lib/jvm/java-17-openjdk/lib/server

# install Tomcat 10, set to run as bcbuser
ENV TOMCAT_MAJOR=10 \
TOMCAT_VERSION=10.1.13 \
TOMCAT_VERSION=10.1.18 \
TOMCAT_HOME=/opt/tomcat \
CATALINA_HOME=/opt/tomcat \
CATALINA_OUT=/dev/null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MBatch Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
# MBatch Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MBatch Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
# MBatch Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MBatch Copyright (c) 2011-2022 University of Texas MD Anderson Cancer Center
# MBatch Copyright (c) 2011-2024 University of Texas MD Anderson Cancer Center
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
#
Expand Down
Loading

0 comments on commit 59c9404

Please sign in to comment.