Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions downloadManager/Dockerfile → download-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM images.opencadc.org/library/cadc-tomcat:1.4
FROM images.opencadc.org/library/cadc-tomcat:1

# Clear out the webapps directory.
RUN rm -rf webapps/*

# Allow JAR scanning
# Allow JAR scanning due allow serving JSPs from classpath
RUN sed -i '/^tomcat.util.scan.StandardJarScanFilter.jarsToSkip/d' /usr/share/tomcat/conf/catalina.properties

COPY build/libs/*.war /usr/share/tomcat/webapps/
18 changes: 18 additions & 0 deletions download-manager/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Download Manager

## Running it

For backwards compatibility with existing scripts, the download manager app should be run with a [WAR rename configuration](https://github.com/opencadc/docker-base/tree/main/cadc-tomcat#war-renameconf):

`war-rename.conf`:
```txt
mv download-manager.war downloadManager.war
```

## Testing it

Running integration tests requires:
- valid test certificates (in $A/test-certificates)
- valid servops.pem
- valid ca.crt file

File renamed without changes.
File renamed without changes.
14 changes: 0 additions & 14 deletions downloadManager/README

This file was deleted.

2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
rootProject.name = 'apps'
include('cadc-download-manager', 'cadc-download-manager-server', 'downloadManager')
include('cadc-download-manager', 'cadc-download-manager-server', 'download-manager')
Loading